From 34c9b40999555d89d9a98f69e958f07fe2b26b2e Mon Sep 17 00:00:00 2001 From: JKetelaar Date: Sat, 26 Dec 2015 18:12:06 +0100 Subject: [PATCH] [CLEANUP] Reformatted code --- src/main/java/org/parabot/core/ProjectProperties.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/parabot/core/ProjectProperties.java b/src/main/java/org/parabot/core/ProjectProperties.java index 4ed1c36..b6f58e0 100644 --- a/src/main/java/org/parabot/core/ProjectProperties.java +++ b/src/main/java/org/parabot/core/ProjectProperties.java @@ -14,11 +14,11 @@ public class ProjectProperties { private static ProjectProperties instance; private Properties cached = new Properties(); - private ProjectProperties(){ + private ProjectProperties() { setProperties(); } - private void setProperties(){ + private void setProperties() { InputStream input; try { String propertiesFileName = "storage/app.properties"; @@ -32,15 +32,15 @@ public class ProjectProperties { } } - private Properties getCached(){ + private Properties getCached() { return cached; } - public static Version getProjectVersion(){ + public static Version getProjectVersion() { return new Version(getInstance().getCached().getProperty("application.version")); } - public static ProjectProperties getInstance(){ + public static ProjectProperties getInstance() { return instance == null ? instance = new ProjectProperties() : instance; } }