Skip to content

Commit

Permalink
fix: NotNull annotation on public API
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Nov 16, 2024
1 parent e52c733 commit 05eba1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/space/iseki/pefile/PEFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static PEFile open(DataAccessor accessor) throws IOException {
*
* @return the iterator
*/
public ImportTable getImportTable() {
public @NotNull ImportTable getImportTable() {
return importTable;
}

Expand Down Expand Up @@ -217,7 +217,7 @@ public void close() throws Exception {
return resourceRoot;
}

public List<ResourceNode> listChildren(ResourceNode dirNode) {
public @NotNull List<@NotNull ResourceNode> listChildren(@NotNull ResourceNode dirNode) {
if (dirNode.peFile != this) {
throw new IllegalArgumentException("ResourceNode does not belong to this PEFile");
}
Expand Down

0 comments on commit 05eba1a

Please sign in to comment.