Minor, delete useless methods from NameResolver
This commit is contained in:
+1
-12
@@ -53,16 +53,6 @@ public class NameResolver {
|
||||
this.qualifiedNames = qualifiedNames;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public ProtoBuf.StringTable getStringTable() {
|
||||
return strings;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public ProtoBuf.QualifiedNameTable getQualifiedNameTable() {
|
||||
return qualifiedNames;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getString(int index) {
|
||||
return strings.getString(index);
|
||||
@@ -70,8 +60,7 @@ public class NameResolver {
|
||||
|
||||
@NotNull
|
||||
public Name getName(int index) {
|
||||
String name = strings.getString(index);
|
||||
return Name.guess(name);
|
||||
return Name.guess(strings.getString(index));
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user