Replaced one character String constants with char constants, when applicable.

This commit is contained in:
Anthony Whitford
2015-11-01 22:39:30 -08:00
parent efbc76e06f
commit 8e8b462bc8
11 changed files with 31 additions and 32 deletions

View File

@@ -51,7 +51,7 @@ public class BaseDependencyCheckMojoTest extends BaseTest {
*/
public boolean canRun() {
String version = System.getProperty("java.version");
int length = version.indexOf(".", version.indexOf(".") + 1);
int length = version.indexOf('.', version.indexOf('.') + 1);
version = version.substring(0, length);
double v = Double.parseDouble(version);