Commit bfff726e authored by Tiago Cunha's avatar Tiago Cunha

Good call from find bugs

parent 4a1742ae
......@@ -92,7 +92,7 @@ public class ServerHelper {
}
String[] versionParts = version.split("\\.");
return versionParts.length >= 3 && Integer.valueOf(versionParts[1]) >= 49;
return versionParts.length >= 3 && Integer.parseInt(versionParts[1]) >= 49;
}
public interface Callback {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment