Skip to content
Prev Previous commit
Next Next commit
fixing tests after refactoring
  • Loading branch information
david-beaumont committed Nov 3, 2025
commit c1f41890f09b921e2615b45302777aabdef4a809
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public String name() {
* under many modules, it only has resources in one.
*/
public boolean hasResources() {
return ((flags & FLAGS_PKG_HAS_RESOURCES) != 0);
return (flags & FLAGS_PKG_HAS_RESOURCES) != 0;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/internal/jimage/ModuleReferenceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void writeBuffer_badCapacity() {
}

@Test
public void writeBuffer_multipleContent() {
public void writeBuffer_multiplePackagesWithResources() {
// Only one module reference (at most) can have resources.
List<ModuleReference> refs = Arrays.asList(
forPackageIn("alpha", false),
Expand Down