mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-02 16:05:00 +00:00
fixed some code smells
This commit is contained in:
@@ -36,7 +36,7 @@ public class TemplateSeedDataLoader {
|
||||
log.trace("Creating template {}", templateKey);
|
||||
service.createTemplate(templateKey, templateContent);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
log.error("Failed to upload template", e);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -36,10 +36,4 @@ public class InstantMethod implements TemplateMethodModelEx {
|
||||
.withZone(ZoneId.systemDefault());
|
||||
return formatter.format(duration);
|
||||
}
|
||||
|
||||
private HashMap<String, Object> getParam(Long value) {
|
||||
HashMap<String, Object> params = new HashMap<>();
|
||||
params.put("amount", value);
|
||||
return params;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user