Skip to content
Snippets Groups Projects
Commit be4b4de9 authored by Nikolaus Krismer's avatar Nikolaus Krismer
Browse files

minor code improvements

parent ad2cc26b
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,8 @@ public class ConfigDataset {
@Override
public Calendar transform(final String str) {
DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT);
final DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT);
Calendar targetTime = Calendar.getInstance();
try {
targetTime.setTimeInMillis(dateFormat.parse(str).getTime());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment