Skip to content

Commit

Permalink
Small code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
AsamK committed Nov 23, 2024
1 parent 10ee295 commit 26b5a4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* our local store). We use it for a {@link TreeSet}, so mainly it's just important that the '0'
* case is correct. Other cases are whatever, just make it something stable.
*/
abstract class DefaultStorageRecordProcessor<E extends SignalRecord> implements StorageRecordProcessor<E>, Comparator<E> {
abstract class DefaultStorageRecordProcessor<E extends SignalRecord<?>> implements StorageRecordProcessor<E>, Comparator<E> {

private static final Logger logger = LoggerFactory.getLogger(DefaultStorageRecordProcessor.class);
private final Set<E> matchedRecords = new TreeSet<>(this);
Expand Down Expand Up @@ -76,7 +76,7 @@ public void process(E remote) throws SQLException {
}

private void debug(StorageId i, E record, String message) {
logger.debug("[" + i + "][" + record.getClass().getSimpleName() + "] " + message);
logger.debug("[{}][{}] {}", i, record.getClass().getSimpleName(), message);
}

/**
Expand Down

0 comments on commit 26b5a4c

Please sign in to comment.