Skip to content

Commit b08298b

Browse files
committed
Remove vestigial toJavaTypeName() method
1 parent 2f7b667 commit b08298b

File tree

2 files changed

+0
-63
lines changed

2 files changed

+0
-63
lines changed

jprotoc/jprotoc/src/main/java/com/salesforce/jprotoc/ProtoTypeMap.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -103,24 +103,6 @@ public String toJavaTypeName(@Nonnull String protoTypeName) {
103103
return types.get(protoTypeName);
104104
}
105105

106-
/**
107-
* Returns the full Java type name based on the given protobuf type parameters.
108-
*
109-
* @param className the protobuf type name
110-
* @param enclosingClassName the optional enclosing class for the given type
111-
* @param javaPackage the proto file's configured java package name
112-
*/
113-
public static String toJavaTypeName(
114-
@Nonnull String className,
115-
@Nullable String enclosingClassName,
116-
@Nullable String javaPackage) {
117-
118-
Preconditions.checkNotNull(className, "className");
119-
120-
Joiner dotJoiner = Joiner.on('.').skipNulls();
121-
return dotJoiner.join(javaPackage, enclosingClassName, className);
122-
}
123-
124106
private static String getJavaOuterClassname(
125107
DescriptorProtos.FileDescriptorProto fileDescriptor,
126108
DescriptorProtos.FileOptions fileOptions) {

jprotoc/jprotoc/src/test/java/com/salesforce/jprotoc/ProtoTypeUtilsTest.java

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)