Fix regression in TinyJavadocProvider (#516)

This was param.getName using tiny-mappings-parser before #495. It was writing the method name as the parameter name, which doesn't seem too correct...
dev/0.11
Juuxel 2021-10-11 23:31:59 +03:00 committed by GitHub
parent e2439b7f57
commit 1c208f99b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ public class TinyJavadocProvider implements IFabricJavadocProvider {
addedParam = true;
}
parts.add(String.format("@param %s %s", methodMapping.getName(MappingsNamespace.NAMED.toString()), comment));
parts.add(String.format("@param %s %s", argMapping.getName(MappingsNamespace.NAMED.toString()), comment));
}
}