Change IAllele.getName to IAllele.getAlleleName to fix obfuscation bugs

This commit is contained in:
mezz committed 2017-05-10 00:06:30 -07:00
1 parent 828dd63acd
commit 438883bb8e
21 files changed
+75 -50

No files matched your search

@@ -28,9 +28,20 @@ public interface IAllele {
/**
* @return Localized short, human-readable identifier used in tooltips and beealyzer.
* @deprecated since Forestry 5.3.4. Use {@link #getAlleleName()}.
*/
@Deprecated
String getName();
/**
* @return Localized short, human-readable identifier used in tooltips and beealyzer.
* @since Forestry 5.3.4
* @apiNote This can't be named "getName" or it can conflict during obfuscation. https://github.com/md-5/SpecialSource/issues/12
*/
default String getAlleleName() {
return getName();
}
/**
* @return The unlocalized identifier
*/