Permalink
Browse files

Fixed every method being considered "mapped."

  • Loading branch information...
sk89q committed Jun 14, 2013
1 parent ee6bc93 commit ce80dbb7575bb93bf0546a59eee51996f6dce36c
@@ -59,6 +59,10 @@ public void read(File joinedFile, File methodsFile) throws IOException {
processMethods(lines);
}
public String mapMethodId(String id) {
return methods.get(id);
}
public String fromMethodId(String id) {
String method = methods.get(id);
if (method == null) {
@@ -70,7 +70,7 @@ public String getNameHtml(McpMapping mapping) {
builder.toString() + "\">" + escapeHtml(getMethodName()) + "</span>()";
}
} else {
String actualMethod = mapping.fromMethodId(getMethodName());
String actualMethod = mapping.mapMethodId(getMethodName());
if (actualMethod == null) {
return escapeHtml(getClassName()) + "." + escapeHtml(getMethodName()) + "()";
} else {

0 comments on commit ce80dbb

Please sign in to comment.