Skip to content

Commit 939b6f0

Browse files
committed
rimozione issue sonar
1 parent 98c372c commit 939b6f0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

fj-core/src/test/java/test/org/fugerit/java/core/db/dao/daogen/TestMisc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public CloseableDAOContext newDefaultContext() throws DAOException {
3535
context.setAttribute( "a" , "b" );
3636
return context;
3737
}
38-
};
38+
}
3939

4040
@Test
4141
void testSimpleServiceProvider() {

fj-core/src/test/java/test/org/fugerit/java/core/db/dao/idgen/TestSeqIdGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void testSqlServerFail() {
156156
}
157157

158158
@Test
159-
void testBasic() throws ConfigException, IOException, XMLException {
159+
void testBasic() throws ConfigException, IOException {
160160
BasicIdGenerator idGenerator = new BasicIdGenerator() {
161161
@Override
162162
public DAOID generateId(Connection conn) throws DAOException {
@@ -177,7 +177,7 @@ public DAOID generateId(Connection conn) throws DAOException {
177177
}
178178

179179
@Test
180-
void testBasicSeq() throws ConfigException, IOException, XMLException {
180+
void testBasicSeq() throws ConfigException, IOException {
181181
BasicSeqIdGenerator idGenerator = new BasicSeqIdGenerator() {
182182

183183
@Override

fj-core/src/test/java/test/org/fugerit/java/core/db/dao/rse/TestRSE.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ class TestRSE extends TestBasicDBHelper {
3737

3838
private static final int TEST_STATE = 1;
3939

40-
private static Class<?>[] PARAM_STRING = { String.class };
40+
private static final Class<?>[] PARAM_STRING = { String.class };
4141

42-
private static Class<?>[] PARAM_INTEGER = { Integer.TYPE };
42+
private static final Class<?>[] PARAM_INTEGER = { Integer.TYPE };
4343

4444
private <T> T worker( String sql, String userId, RSExtractor<T> rse, String colName ) throws SQLException {
4545
T res = null;

0 commit comments

Comments
 (0)