More Sonar Fixes

This commit is contained in:
Gary Russell
2021-01-28 11:15:26 -05:00
parent 51669848ce
commit 0aadc6538c
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ public class PayloadAwareTimingInterceptor implements ChannelInterceptor {
return this.statsMap.get(Class.forName(className)).getAverage();
}
private class StopWatchHolder {
private static class StopWatchHolder {
private final StopWatch stopWatch;

View File

@@ -37,7 +37,7 @@ public final class DerbyStoredProcedures {
public static void findCoffee(int coffeeId, String[] coffeeDescription)
throws SQLException {
Connection connection = null;
Connection connection = null; // NOSONAR JdbcUtils
PreparedStatement statement = null; // NOSONAR JdbcUtils
try {