From 757cfff0e62268d289f340a57999e0b735458de2 Mon Sep 17 00:00:00 2001 From: Athou Date: Tue, 12 Aug 2014 14:39:08 +0200 Subject: [PATCH] cleanup --- .../backend/service/ApplicationPropertiesService.java | 8 -------- src/main/resources/application.properties | 2 -- 2 files changed, 10 deletions(-) diff --git a/src/main/java/com/commafeed/backend/service/ApplicationPropertiesService.java b/src/main/java/com/commafeed/backend/service/ApplicationPropertiesService.java index cd12c872..fdcfc6c9 100644 --- a/src/main/java/com/commafeed/backend/service/ApplicationPropertiesService.java +++ b/src/main/java/com/commafeed/backend/service/ApplicationPropertiesService.java @@ -10,10 +10,6 @@ public class ApplicationPropertiesService { bundle = ResourceBundle.getBundle("application"); } - public String getDatasource() { - return bundle.getString("datasource"); - } - public String getVersion() { return bundle.getString("version"); } @@ -21,8 +17,4 @@ public class ApplicationPropertiesService { public String getGitCommit() { return bundle.getString("git.commit"); } - - public boolean isProduction() { - return Boolean.valueOf(bundle.getString("production")); - } } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 71f55473..263d9922 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,2 @@ version=${project.version} -production=${production} -datasource=${jpa.datasource.name} git.commit=${git.commit.id.abbrev} \ No newline at end of file