bind: use lowercase method names for Java binds

There was a discussion a year ago about making methods and types
lowercase in ObjC (https://github.com/golang/go/issues/12889),
which was done (https://go-review.googlesource.com/#/c/15780/),
alas the suggested Java lower casing was never addressed.

This CL converts all generated Java methods to lower case.

Change-Id: Ia2f28519bc59362877881636109ddfc651b24960
Reviewed-on: https://go-review.googlesource.com/28494
Reviewed-by: Elias Naur <elias.naur@gmail.com>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Péter Szilágyi
2016-09-07 12:52:06 +00:00
committed by Elias Naur
parent f7e06c9519
commit 2f75be449f
35 changed files with 2990 additions and 282 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ import go.Seq;
public abstract class Try {
static {
Seq.touch(); // for loading the native library
init();
_init();
}
private Try() {} // uninstantiable
@@ -17,9 +17,9 @@ public abstract class Try {
// touch is called from other bound packages to initialize this package
public static void touch() {}
private static native void init();
private static native void _init();
public static native String This();
public static native String this_();
}