Skip to content

Commit

Permalink
Merge pull request #72 from Jiehong/code/deprecated_apis
Browse files Browse the repository at this point in the history
bump maven compiler plugin version to 3.10.1 and avoid using some deprecated APIs
  • Loading branch information
ricardozanini authored Jan 16, 2023
2 parents b6bd457 + 73af201 commit 768bc04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static List<JacksonJqFunctionBuildItem> lookupFunctions(
DotName a = DotName.createSimple(annotationType.getName());

for (ClassInfo ci : indexView.getAllKnownImplementors(f)) {
AnnotationInstance annotation = ci.classAnnotation(a);
AnnotationInstance annotation = ci.declaredAnnotation(a);
if (annotation == null) {
continue;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public void basicInvokeTest() throws JsonProcessingException {
.body("$", hasItem("delpaths/1"));

final ObjectNode node = MAPPER.createObjectNode();
node.with("commit").put("name", "Nicolas Williams");
node.with("commit").put("message", "Reject all overlong UTF8 sequences.");
node.withObject("/commit").put("name", "Nicolas Williams");
node.withObject("/commit").put("message", "Reject all overlong UTF8 sequences.");

final Document doc = new Document();
doc.setDocument(node);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<module>runtime-extra</module>
</modules>
<properties>
<compiler-plugin.version>3.8.1</compiler-plugin.version>
<compiler-plugin.version>3.10.1</compiler-plugin.version>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
Expand Down

0 comments on commit 768bc04

Please sign in to comment.