Skip to content

Commit

Permalink
Reflecting BalusC review - finals, better constructor
Browse files Browse the repository at this point in the history
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
  • Loading branch information
dmatej committed Jan 16, 2023
1 parent c554b43 commit 7b70597
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Expand Up @@ -79,8 +79,8 @@ public void close() throws IOException {

private static class Repository {

public String name;
public File directory;
public final String name;
public final File directory;

Repository(String name, File directory) {
this.name = name;
Expand All @@ -96,8 +96,8 @@ public String toString() {

static class RepositoryResource {

public String name;
public File file;
public final String name;
public final File file;

RepositoryResource(String name, File file) {
this.name = name;
Expand Down
Expand Up @@ -98,8 +98,7 @@ public class ResourceEntry {
* @param url resource location
*/
ResourceEntry(URL url) {
codeBase = url;
source = url;
this(url, url);
}


Expand Down

0 comments on commit 7b70597

Please sign in to comment.