Skip to content

Commit

Permalink
further improve output messages
Browse files Browse the repository at this point in the history
  • Loading branch information
xspanger3770 committed Nov 11, 2023
1 parent ba35859 commit 3ef6197
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ private void processStationsInfoPacket(ClientSocket socket, StationsInfoPacket s
}

private void resetIndexing(ClientSocket socket, UUID uuid) {
Logger.info("Station indexing has changed!");
if(super.indexing != null) {
Logger.info("Station indexing has changed, probably because the server has been restarted");
}
super.indexing = uuid;
stations.clear();
stationsIdMap.clear();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private static void fillTables() {
}
}

Logger.trace("Intensity tables filled in %s ms.\n".formatted(System.currentTimeMillis() - a));
Logger.trace("Intensity tables filled in %s ms".formatted(System.currentTimeMillis() - a));
}

private static double searchMag(int row, double intensity) {
Expand Down

0 comments on commit 3ef6197

Please sign in to comment.