Skip to content

Commit fb7a78c

Browse files
committed
Sonar issues
1 parent b9ba306 commit fb7a78c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fj-core/src/main/java/org/fugerit/java/core/db/daogen/CloseableDAOContextAbstract.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static CloseableDAOContext newCloseableDAOContextDS(DataSource ds) {
4646
return new CloseableDAOContextAbstract() {
4747
@Override
4848
public Connection getConnection() throws DAOException {
49-
return DAOException.get( () -> ds.getConnection() );
49+
return DAOException.get( ds::getConnection );
5050
}
5151
@Override
5252
public void close() throws Exception {

0 commit comments

Comments
 (0)