We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 191e634 commit b33c894Copy full SHA for b33c894
hibernate-core/src/main/java/org/hibernate/tool/schema/Action.java
@@ -225,8 +225,8 @@ public static Action interpretJpaSetting(Object value) {
225
return NONE;
226
}
227
228
- if ( value instanceof Action ) {
229
- return (Action) value;
+ if ( value instanceof Action action ) {
+ return action;
230
231
232
final String name = value.toString().trim();
@@ -277,8 +277,8 @@ public static Action interpretHbm2ddlSetting(Object value) {
277
278
279
280
281
282
283
284
0 commit comments