Skip to content

Commit 2d570fb

Browse files
committed
Suppress warnings
1 parent 8067e7b commit 2d570fb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

doma-core/src/main/java/org/seasar/doma/jdbc/dialect/StandardDialect.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ public boolean supportsSequence() {
306306
return false;
307307
}
308308

309+
@SuppressWarnings("deprecation")
309310
@Override
310311
public boolean supportsIdentityReservation() {
311312
return false;
@@ -342,6 +343,7 @@ public Sql<?> getIdentitySelectSql(
342343
throw new JdbcUnsupportedOperationException(getClass().getName(), "getIdentitySelectSql");
343344
}
344345

346+
@SuppressWarnings("deprecation")
345347
@Override
346348
public Sql<?> getIdentityReservationSql(
347349
String catalogName,

doma-core/src/main/java/org/seasar/doma/jdbc/id/IdGenerationConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public class IdGenerationConfig {
1717

1818
protected final EntityType<?> entityType;
1919

20+
@SuppressWarnings("deprecation")
2021
protected final IdProvider idProvider;
2122

2223
public IdGenerationConfig(Config config, EntityType<?> entityType) {
@@ -70,10 +71,12 @@ public EntityType<?> getEntityType() {
7071
return entityType;
7172
}
7273

74+
@SuppressWarnings("deprecation")
7375
public IdProvider getIdProvider() {
7476
return idProvider;
7577
}
7678

79+
@SuppressWarnings("DeprecatedIsStillUsed")
7780
@Deprecated
7881
protected static class UnavailableIdProvider implements IdProvider {
7982
@Override

0 commit comments

Comments
 (0)