float (int[] javaVersions) { if (javaVersions != null && javaVersions.length != 0) { if (javaVersions.length == 1) { return (float)javaVersions[0]; } else { StringBuilder builder = new StringBuilder(); builder.append(javaVersions[0]); builder.append('.'); for (int i = 1; i < javaVersions.length; ++i) { builder.append(javaVersions[i]); } try { return Float.parseFloat(builder.toString()); } catch (Exception var3) { return 0.0F; } } } else { return 0.0F; } }