Skip to content

Commit 2081148

Browse files
committed
Two bits of Java lint
Not strictly related to the fallthrough business, but of the general nature of lint, and hardly worth a pull request of its own.
1 parent 2c8d992 commit 2081148

File tree

1 file changed

+2
-2
lines changed
  • pljava-examples/src/main/java/org/postgresql/pljava/example/annotation

1 file changed

+2
-2
lines changed

pljava-examples/src/main/java/org/postgresql/pljava/example/annotation/PassXML.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ private static Source sxToSource(SQLXML sx, int how, ResultSet adjust)
12431243
}
12441244

12451245
if ( s instanceof Adjusting.XML.Source )
1246-
return applyAdjustments(adjust, (Adjusting.XML.Source)s).get();
1246+
return applyAdjustments(adjust, (Adjusting.XML.Source<?>)s).get();
12471247
return s;
12481248
}
12491249

@@ -1275,7 +1275,7 @@ private static Result sxToResult(SQLXML sx, int how, ResultSet adjust)
12751275
}
12761276

12771277
if ( r instanceof Adjusting.XML.Result )
1278-
return applyAdjustments(adjust, (Adjusting.XML.Result)r).get();
1278+
return applyAdjustments(adjust, (Adjusting.XML.Result<?>)r).get();
12791279
return r;
12801280
}
12811281

0 commit comments

Comments
 (0)