Skip to content

Commit

Permalink
Fixes major/minor version parsing and default values. (jitsi#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho authored Feb 4, 2020
1 parent c2a7701 commit e1ab884
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class CurrentVersionImpl
* Default version values can be overwritten by the manifest Implementation
* Version in the format 2.1-build-id.
*/
private static int parsedMajor = 0;
private static int parsedMajor = 1;
private static int parsedMinor = 1;
private static String parsedBuildId = null;

Expand All @@ -54,7 +54,7 @@ public class CurrentVersionImpl

try
{
parsedMajor = Integer.parseInt(m.group(2));
parsedMinor = Integer.parseInt(m.group(2));
}
catch (NumberFormatException nfe) {}

Expand Down

0 comments on commit e1ab884

Please sign in to comment.