Skip to content

Commit

Permalink
Minor optimizations.
Browse files Browse the repository at this point in the history
  • Loading branch information
albertus82 committed Oct 18, 2014
1 parent 1607a90 commit a1f81b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/it/albertus/cycles/engine/CyclesMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public static void main( final String... args ) throws Exception {
}

private static String getWelcomeMessage() throws IOException {
InputStream is = CyclesMod.class.getResourceAsStream( VERSION_FILE_PATH + VERSION_FILE_NAME );
Properties version = new Properties();
InputStream is = CyclesMod.class.getResourceAsStream( VERSION_FILE_PATH + VERSION_FILE_NAME );
version.load( is );
is.close();
return Messages.get( "msg.welcome", version.get( "version.number" ), version.get( "version.date" ) );
Expand Down
4 changes: 2 additions & 2 deletions src/version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version.number=1.3.0
version.date=2014-10-09
version.number=1.3.1
version.date=2014-10-18

0 comments on commit a1f81b7

Please sign in to comment.