File tree 1 file changed +5
-5
lines changed
io.sloeber.core/src/io/sloeber/core/tools
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1023,14 +1023,14 @@ private static String MakeKeyString(String string) {
1023
1023
return MakeKeyString (ERASE_START , string );
1024
1024
}
1025
1025
1026
- private static String MakeKeyString (String prefix , String string ) {
1027
- String osString = "\\ . \\ ." ;
1026
+ private static String MakeKeyString (String prefix , String key ) {
1027
+ String osString = "..................... ." ;
1028
1028
if (Platform .getOS ().equals (Platform .OS_LINUX )) {
1029
- osString = "\\ .LINUX" ;
1029
+ osString = ".LINUX" ;
1030
1030
} else if (Platform .getOS ().equals (Platform .OS_WIN32 )) {
1031
- osString = "\\ .WINDOWS" ;
1031
+ osString = ".WINDOWS" ;
1032
1032
}
1033
- return prefix + string .toUpperCase ().replaceAll (osString , new String ());
1033
+ return prefix + key .toUpperCase ().replace (osString , new String ());
1034
1034
}
1035
1035
1036
1036
/**
You can’t perform that action at this time.
0 commit comments