Added some improvements

This commit is contained in:
Robert Vokac 2024-03-09 18:12:04 +00:00
parent 4ae7e1e962
commit 2e97fa8843
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055

View File

@ -539,7 +539,8 @@ public class TimeCalcKeyAdapter extends KeyAdapter {
}
Properties profiles = new Properties();
try {
if(Utils.readTextFromFile(FileConstants.TIME_CALC_PROFILES_TXT_FILE).isEmpty()) {
final String readTextFromFile = Utils.readTextFromFile(FileConstants.TIME_CALC_PROFILES_TXT_FILE);
if(readTextFromFile == null || readTextFromFile.isEmpty()) {
return;
}