bind,internal: change the default Java package to the empty string

The Objective-C bindings was recently changed to support the empty
name prefix and to use that as the default. This CLs changed the Java
generators in the same way, supporting the empty Java package and using
it as the default.

Change-Id: I857affce686c67638a2b6c4e1da5d6a88d7ba560
Reviewed-on: https://go-review.googlesource.com/34778
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Elias Naur
2017-01-11 19:15:09 +00:00
parent fe0977739a
commit c90c4f7c8a
43 changed files with 495 additions and 506 deletions
+10 -10
View File
@@ -1,8 +1,8 @@
// Java class go.java.F is a proxy for talking to a Go program.
// Java class java.F is a proxy for talking to a Go program.
// gobind -lang=java java
//
// File is generated by gobind. Do not edit.
package go.java;
package java;
import go.Seq;
@@ -10,11 +10,11 @@ public interface F {
}
// Java class go.java.O is a proxy for talking to a Go program.
// Java class java.O is a proxy for talking to a Go program.
// gobind -lang=java java
//
// File is generated by gobind. Do not edit.
package go.java;
package java;
import go.Seq;
@@ -22,11 +22,11 @@ public interface O {
}
// Java class go.java.R is a proxy for talking to a Go program.
// Java class java.R is a proxy for talking to a Go program.
// gobind -lang=java java
//
// File is generated by gobind. Do not edit.
package go.java;
package java;
import go.Seq;
@@ -34,11 +34,11 @@ public interface R {
}
// Java class go.java.S is a proxy for talking to a Go program.
// Java class java.S is a proxy for talking to a Go program.
// gobind -lang=java java
//
// File is generated by gobind. Do not edit.
package go.java;
package java;
import go.Seq;
@@ -46,11 +46,11 @@ public interface S {
}
// Java class go.java.Java is a proxy for talking to a Go program.
// Java class java.Java is a proxy for talking to a Go program.
// gobind -lang=java java
//
// File is generated by gobind. Do not edit.
package go.java;
package java;
import go.Seq;