Skip to content

Commit

Permalink
refactor: use static inner classes for AbstractDirectory (#3348)
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Sep 30, 2023
1 parent f63bbc0 commit 9c46532
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,7 @@ private ParsedPath parsePath(String path) {
protected abstract AbstractDirectory createDirLocal(String name) throws DirectoryException;
protected abstract void removeFileLocal(String name);


private class ParsedPath {
private static class ParsedPath {
public final String dir;
public final String subpath;
public ParsedPath(String dir, String subpath) {
Expand All @@ -277,7 +276,7 @@ public ParsedPath(String dir, String subpath) {
}
}

private class SubPath {
private static class SubPath {
public final AbstractDirectory dir;
public final String path;

Expand Down

0 comments on commit 9c46532

Please sign in to comment.