Make fields final if possible to ensure immutability
This commit is contained in:
@@ -38,7 +38,7 @@ public enum ButtonToolTips
|
||||
|
||||
Craft, Mod, DoesntDespawn, EmitterMode, CraftViaRedstone, EmitWhenCrafting, ReportInaccessibleItems, ReportInaccessibleItemsYes, ReportInaccessibleItemsNo;
|
||||
|
||||
String root;
|
||||
final String root;
|
||||
|
||||
ButtonToolTips() {
|
||||
root = "gui.tooltips.appliedenergistics2";
|
||||
|
||||
@@ -52,7 +52,7 @@ public enum GuiText
|
||||
|
||||
Included, Excluded, Partitioned, Precise, Fuzzy;
|
||||
|
||||
String root;
|
||||
final String root;
|
||||
|
||||
GuiText() {
|
||||
root = "gui.appliedenergistics2";
|
||||
|
||||
@@ -11,7 +11,7 @@ public enum WailaText
|
||||
|
||||
Contains, Channels;
|
||||
|
||||
String root;
|
||||
final String root;
|
||||
|
||||
WailaText() {
|
||||
root = "waila.appliedenergistics2";
|
||||
|
||||
Reference in New Issue
Block a user