aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/adapters/SimpleDateAdapter.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-03-07 13:20:45 +0300
committerGravatar Vitaly Takmazov2020-03-07 13:20:45 +0300
commitc9d67837cbcaae84a03b7bd14e508ca62880f87f (patch)
tree0f66e38f5b6aa48c66fae7d10c0b8b5ad6f7e7e2 /src/main/java/com/juick/adapters/SimpleDateAdapter.java
parentad50d1090b303d3a71c354dd2922a982fda6a289 (diff)
Reorganize project layout
Diffstat (limited to 'src/main/java/com/juick/adapters/SimpleDateAdapter.java')
-rw-r--r--src/main/java/com/juick/adapters/SimpleDateAdapter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/adapters/SimpleDateAdapter.java b/src/main/java/com/juick/adapters/SimpleDateAdapter.java
index 8feb8019..8f75fb7c 100644
--- a/src/main/java/com/juick/adapters/SimpleDateAdapter.java
+++ b/src/main/java/com/juick/adapters/SimpleDateAdapter.java
@@ -29,12 +29,12 @@ import java.time.Instant;
public class SimpleDateAdapter extends XmlAdapter<String, Instant> {
@Override
- public String marshal(Instant v) throws Exception {
+ public String marshal(Instant v) {
return DateFormattersHolder.getMessageFormatterInstance().format(v);
}
@Override
- public Instant unmarshal(String v) throws Exception {
+ public Instant unmarshal(String v) {
return DateFormattersHolder.getMessageFormatterInstance().parse(v);
}
}