aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/FormatterTest.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-02 17:53:34 +0300
committerGravatar Vitaly Takmazov2020-10-02 17:53:34 +0300
commita62c1fda358f54bd3e7de9aea94ce63e89e06142 (patch)
treed6f4734e5150f849ae782ea35812bed139f5d029 /src/test/java/com/juick/FormatterTest.java
parent4eab4c56d571cbd318391c26ccb5b02aa68029e1 (diff)
Apply fixes from some IDEA code inspections
Diffstat (limited to 'src/test/java/com/juick/FormatterTest.java')
-rw-r--r--src/test/java/com/juick/FormatterTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/juick/FormatterTest.java b/src/test/java/com/juick/FormatterTest.java
index 1f805bb0..519d70a8 100644
--- a/src/test/java/com/juick/FormatterTest.java
+++ b/src/test/java/com/juick/FormatterTest.java
@@ -36,7 +36,7 @@ import static org.hamcrest.Matchers.*;
public class FormatterTest {
@Test
- public void forAnyDateFormatterShouldReturnNotEmptyString() throws Exception {
+ public void forAnyDateFormatterShouldReturnNotEmptyString() {
Instant ts = Instant.now();
assertThat(DateFormattersHolder.getMessageFormatterInstance().format(ts), not(emptyOrNullString()));
@@ -49,7 +49,7 @@ public class FormatterTest {
}
@Test
- public void forConcreteDateShouldReturnCorrectString() throws Exception {
+ public void forConcreteDateShouldReturnCorrectString() {
Calendar calendar = GregorianCalendar.getInstance();
calendar.set(2012, 0, 1, 0, 0, 0);