Commit 0e11a8d1 authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Delete methods that only call their super.

parent d9cafd8e
......@@ -73,24 +73,7 @@ public class DateTimeHelper {
public static final String DATEHOUR_NOSPACE_FORMAT = "yyyy-MM-dd-HH";
private static ThreadLocal<Map<String, DateFormat>> dateFormats =
new ThreadLocal<Map<String, DateFormat>>() {
public Map<String, DateFormat> get() {
return super.get();
}
protected Map<String, DateFormat> initialValue() {
return new HashMap<>();
}
public void remove() {
super.remove();
}
public void set(Map<String, DateFormat> value) {
super.set(value);
}
};
ThreadLocal.withInitial(HashMap::new);
private static DateFormat getDateFormat(String format) {
Map<String, DateFormat> threadDateFormats = dateFormats.get();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment