Further conversion to .toString()

This commit is contained in:
Fuzzlemann 2017-07-25 23:51:19 +02:00
parent 510aeb3941
commit 869171a619

View File

@ -58,7 +58,7 @@ public class Analysis {
return; return;
} }
plugin.processStatus().startExecution("Analysis"); plugin.processStatus().startExecution("Analysis");
log(Phrase.ANALYSIS_START + ""); log(Phrase.ANALYSIS_START.toString());
// Async task for Analysis // Async task for Analysis
plugin.getRunnableFactory().createNew(new AbsRunnable("AnalysisTask") { plugin.getRunnableFactory().createNew(new AbsRunnable("AnalysisTask") {
@Override @Override
@ -87,11 +87,11 @@ public class Analysis {
inspectCache.cacheAllUserData(db); inspectCache.cacheAllUserData(db);
} catch (Exception ex) { } catch (Exception ex) {
Log.toLog(this.getClass().getName(), ex); Log.toLog(this.getClass().getName(), ex);
Log.error(Phrase.ERROR_ANALYSIS_FETCH_FAIL + ""); Log.error(Phrase.ERROR_ANALYSIS_FETCH_FAIL.toString());
} }
List<UserData> rawData = inspectCache.getCachedUserData(); List<UserData> rawData = inspectCache.getCachedUserData();
if (rawData.isEmpty()) { if (rawData.isEmpty()) {
Log.info(Phrase.ANALYSIS_FAIL_NO_DATA + ""); Log.info(Phrase.ANALYSIS_FAIL_NO_DATA.toString());
return false; return false;
} }
List<TPS> tpsData = new ArrayList<>(); List<TPS> tpsData = new ArrayList<>();
@ -142,7 +142,7 @@ public class Analysis {
analysisData.analyseData(); analysisData.analyseData();
Benchmark.stop("Analysis Phase"); Benchmark.stop("Analysis Phase");
log(Phrase.ANALYSIS_THIRD_PARTY + ""); log(Phrase.ANALYSIS_THIRD_PARTY.toString());
plugin.processStatus().setStatus("Analysis", "Analyzing additional data sources (3rd party)"); plugin.processStatus().setStatus("Analysis", "Analyzing additional data sources (3rd party)");
analysisData.setAdditionalDataReplaceMap(analyzeAdditionalPluginData(uuids)); analysisData.setAdditionalDataReplaceMap(analyzeAdditionalPluginData(uuids));