Skip to content

Commit

Permalink
jdk compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-hammant committed Dec 18, 2023
1 parent 69e25e6 commit 942ab16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/thoughtworks/qdox/RecordsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void withNestedRecord() {
javaDocBuilder.addSource( new StringReader(source) );
JavaClass cls = javaDocBuilder.getClassByName( "Rectangle" );
JavaClass nestedCls = cls.getNestedClassByName( "RotationAngle" );
JavaConstructor constructor = nestedCls.getConstructors().getFirst();
JavaConstructor constructor = nestedCls.getConstructors().get(0);
Assertions.assertTrue( constructor.getSourceCode() != null );
}

Expand Down

0 comments on commit 942ab16

Please sign in to comment.