Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous code cleanup #47

Merged
merged 1 commit into from
Jun 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/main/java/hudson/util/VersionNumber.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,19 @@ public class VersionNumber implements Comparable<VersionNumber> {
private ListItem items;

private interface Item {
public static final int INTEGER_ITEM = 0;
int INTEGER_ITEM = 0;

public static final int STRING_ITEM = 1;
int STRING_ITEM = 1;

public static final int LIST_ITEM = 2;
int LIST_ITEM = 2;

public static final int WILDCARD_ITEM = 3;
int WILDCARD_ITEM = 3;

public int compareTo(Item item);
int compareTo(Item item);

public int getType();
int getType();

public boolean isNull();
boolean isNull();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

/**
* Java Version Specification.
* Implemented according to https://openjdk.java.net/jeps/223
* Implemented according to <a href="https://openjdk.java.net/jeps/223">JEP 223</a>
* @author Oleg Nenashev
* @since 1.6
*/
Expand Down