Skip to content

Commit

Permalink
Bump version to 2.3.7. Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-shaik committed Mar 6, 2017
1 parent dace695 commit 8c3f267
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion autoload/javacomplete/version.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libs/javavi/src/main/java/kg/ash/javavi/Javavi.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void testRecompilationCommandBuild() {

new MockUp<ClassRecompileAction>() {
@Mock
private ClassNameMap findClass(String name) {
private ClassNameMap findClass(String className, String name) {
return classMap;
}

Expand All @@ -45,7 +45,7 @@ public void testBadTargetClass() {

new MockUp<ClassRecompileAction>() {
@Mock
private ClassNameMap findClass(String name) {
private ClassNameMap findClass(String className, String name) {
return classMap;
}

Expand All @@ -68,7 +68,7 @@ public void testBadSrcFile() {

new MockUp<ClassRecompileAction>() {
@Mock
private ClassNameMap findClass(String name) {
private ClassNameMap findClass(String className, String name) {
return classMap;
}

Expand Down

0 comments on commit 8c3f267

Please sign in to comment.