Skip to content

Commit

Permalink
Fix return type in ArrayHelper.
Browse files Browse the repository at this point in the history
Change-Id: I40a3f6c0358a44c68df1f1709d5f06ebe5a97e22
  • Loading branch information
dankurka authored and Gerrit Code Review committed Aug 5, 2015
1 parent ebe05ba commit d2a247f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/core/super/javaemul/internal/ArrayHelper.java
Expand Up @@ -64,7 +64,7 @@ static native Object nativeArraySlice(Object arrayToSclice, int start, int end)
return arrayToSclice.slice(start, end);
}-*/;

private static native Object nativeArraySplice(Object array, int index, int deleteCount,
private static native void nativeArraySplice(Object array, int index, int deleteCount,
Object arrayToAdd) /*-{
Array.prototype.splice.apply(array, [index, deleteCount].concat(arrayToAdd));
}-*/;
Expand Down

0 comments on commit d2a247f

Please sign in to comment.