diff --git a/autoload/javacomplete/version.vim b/autoload/javacomplete/version.vim index eb8a605d..b7c48b83 100644 --- a/autoload/javacomplete/version.vim +++ b/autoload/javacomplete/version.vim @@ -3,7 +3,7 @@ " " Version control -let g:JavaComplete_ServerCompatibilityVersion = "2.3.6.2" +let g:JavaComplete_ServerCompatibilityVersion = "2.3.7" function! javacomplete#version#GetCompatibilityVerison() return g:JavaComplete_ServerCompatibilityVersion diff --git a/libs/javavi/src/main/java/kg/ash/javavi/Javavi.java b/libs/javavi/src/main/java/kg/ash/javavi/Javavi.java index ba5cd179..d3f1227c 100644 --- a/libs/javavi/src/main/java/kg/ash/javavi/Javavi.java +++ b/libs/javavi/src/main/java/kg/ash/javavi/Javavi.java @@ -13,7 +13,7 @@ public class Javavi { - public static final String VERSION = "2.3.6.3"; + public static final String VERSION = "2.3.7"; public static String NEWLINE = ""; diff --git a/libs/javavi/src/main/java/kg/ash/javavi/actions/ClassRecompileAction.java b/libs/javavi/src/main/java/kg/ash/javavi/actions/ClassRecompileAction.java index d1b2a9f9..302aaac6 100644 --- a/libs/javavi/src/main/java/kg/ash/javavi/actions/ClassRecompileAction.java +++ b/libs/javavi/src/main/java/kg/ash/javavi/actions/ClassRecompileAction.java @@ -22,7 +22,7 @@ public String perform(String[] args) { String target = parseTarget(args); String[] splitted = target.split("\\."); - ClassNameMap classMap = findClass(target.substring(0, target.lastIndexOf("\\.")), splitted[splitted.length - 1]); + ClassNameMap classMap = findClass(target.substring(0, target.lastIndexOf(".")), splitted[splitted.length - 1]); if (classMap != null && classMap.getClassFile() != null && classMap.getJavaFile() != null) { String classFile = classMap.getClassFile(); String sourceFile = classMap.getJavaFile(); diff --git a/libs/javavi/src/test/java/kg/ash/javavi/actions/ClassRecompileActionTest.java b/libs/javavi/src/test/java/kg/ash/javavi/actions/ClassRecompileActionTest.java index 3220bb19..47c6e75a 100644 --- a/libs/javavi/src/test/java/kg/ash/javavi/actions/ClassRecompileActionTest.java +++ b/libs/javavi/src/test/java/kg/ash/javavi/actions/ClassRecompileActionTest.java @@ -21,7 +21,7 @@ public void testRecompilationCommandBuild() { new MockUp() { @Mock - private ClassNameMap findClass(String name) { + private ClassNameMap findClass(String className, String name) { return classMap; } @@ -45,7 +45,7 @@ public void testBadTargetClass() { new MockUp() { @Mock - private ClassNameMap findClass(String name) { + private ClassNameMap findClass(String className, String name) { return classMap; } @@ -68,7 +68,7 @@ public void testBadSrcFile() { new MockUp() { @Mock - private ClassNameMap findClass(String name) { + private ClassNameMap findClass(String className, String name) { return classMap; }