pick 97420a31d The big reformat of 2020

This commit is contained in:
yueh
2020-06-16 21:41:28 +02:00
parent 5304b3febe
commit 5225ea426b
2252 changed files with 95466 additions and 118582 deletions
+12 -17
View File
@@ -1,27 +1,22 @@
package appeng.client;
import org.lwjgl.glfw.GLFW;
public enum ActionKey
{
TOGGLE_FOCUS( GLFW.GLFW_KEY_TAB );
public enum ActionKey {
TOGGLE_FOCUS(GLFW.GLFW_KEY_TAB);
private final int defaultKey;
private final int defaultKey;
private ActionKey( int defaultKey )
{
this.defaultKey = defaultKey;
}
private ActionKey(int defaultKey) {
this.defaultKey = defaultKey;
}
public String getTranslationKey()
{
return "key." + this.name().toLowerCase() + ".desc";
}
public String getTranslationKey() {
return "key." + this.name().toLowerCase() + ".desc";
}
public int getDefaultKey()
{
return this.defaultKey;
}
public int getDefaultKey() {
return this.defaultKey;
}
}