Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions phase4-lib/src/main/java/com/helger/phase4/CAS4Version.java
Original file line number Diff line number Diff line change
@@ -44,12 +44,12 @@ public final class CAS4Version
{
String sProjectVersion = null;
String sProjectTimestamp = null;
final ICommonsMap <String, String> p = PropertiesHelper.loadProperties (new ClassPathResource ("phase4-version.properties",
CAS4Version.class.getClassLoader ()));
if (p != null)
final ICommonsMap <String, String> aProps = PropertiesHelper.loadProperties (new ClassPathResource ("phase4-version.properties",
CAS4Version.class.getClassLoader ()));
if (aProps != null)
{
sProjectVersion = p.get ("version");
sProjectTimestamp = p.get ("timestamp");
sProjectVersion = aProps.get ("version");
sProjectTimestamp = aProps.get ("timestamp");
}
if (sProjectVersion == null)
{

0 comments on commit 45c7477

Please sign in to comment.