mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
cleanup
This commit is contained in:
@@ -10,10 +10,6 @@ public class ApplicationPropertiesService {
|
|||||||
bundle = ResourceBundle.getBundle("application");
|
bundle = ResourceBundle.getBundle("application");
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDatasource() {
|
|
||||||
return bundle.getString("datasource");
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getVersion() {
|
public String getVersion() {
|
||||||
return bundle.getString("version");
|
return bundle.getString("version");
|
||||||
}
|
}
|
||||||
@@ -21,8 +17,4 @@ public class ApplicationPropertiesService {
|
|||||||
public String getGitCommit() {
|
public String getGitCommit() {
|
||||||
return bundle.getString("git.commit");
|
return bundle.getString("git.commit");
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isProduction() {
|
|
||||||
return Boolean.valueOf(bundle.getString("production"));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,2 @@
|
|||||||
version=${project.version}
|
version=${project.version}
|
||||||
production=${production}
|
|
||||||
datasource=${jpa.datasource.name}
|
|
||||||
git.commit=${git.commit.id.abbrev}
|
git.commit=${git.commit.id.abbrev}
|
||||||
Reference in New Issue
Block a user