use camelCase for static methods
This commit is contained in:
parent
c040e54fb8
commit
e021809fd7
@ -3,6 +3,6 @@ package customUI;
|
|||||||
public class Button extends javafx.scene.control.Button {
|
public class Button extends javafx.scene.control.Button {
|
||||||
|
|
||||||
public void setTextValue(String text){
|
public void setTextValue(String text){
|
||||||
super.setText(Converter.CONVERT_STR(text));
|
super.setText(Converter.convertString(text));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ public class Converter {
|
|||||||
ß \u00df
|
ß \u00df
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("all")
|
@SuppressWarnings("all")
|
||||||
public static String CONVERT_STR(String str){
|
public static String convertString(String str){
|
||||||
return str
|
return str
|
||||||
.replace("ä", "\u00e4")
|
.replace("ä", "\u00e4")
|
||||||
.replace("Ä", "\u00c4")
|
.replace("Ä", "\u00c4")
|
||||||
|
@ -2,7 +2,7 @@ package customUI;
|
|||||||
|
|
||||||
public class Label extends javafx.scene.control.Label {
|
public class Label extends javafx.scene.control.Label {
|
||||||
public Label(String content){
|
public Label(String content){
|
||||||
super(Converter.CONVERT_STR(content));
|
super(Converter.convertString(content));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Label(){
|
public Label(){
|
||||||
@ -10,6 +10,6 @@ public class Label extends javafx.scene.control.Label {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setTextValue(String text){
|
public void setTextValue(String text){
|
||||||
super.setText(Converter.CONVERT_STR(text));
|
super.setText(Converter.convertString(text));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user