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

Resolve Javadoc quality issues #334

Merged
merged 1 commit into from
Aug 19, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,40 @@
* version strings which are greater than 4095 characters in length.
*/
public abstract class AbstractVersionIterator implements VersionIterator {
/**
* The version string being iterated.
*/
protected final String string;
long cookie;

/**
* The current state of iteration.
*/
protected enum TokenType {
/**
* The initial state.
*/
INITIAL,
/**
* A part of the version string which is an alpha part.
*/
PART_ALPHA,
/**
* A part of the version string which is a numeric part.
*/
PART_NUMBER,
/**
* A separator character.
*/
SEP_EMPTY,
/**
* A non-empty separator character.
*/
SEP,
INVALID,
;
/**
* An invalid state.
*/
INVALID;

static TokenType[] values = values();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ default Predicate<String> fromRangeString(String range) {
/**
* Parse a range specification and return it as a predicate.
* Version ranges are governed by the following general syntax:
* <code><pre>
* <code>
range ::= range-spec ',' range
| range-spec

Expand All @@ -163,7 +163,7 @@ default Predicate<String> fromRangeString(String range) {
max-version ::= version ']'
| version ')'
| ')'
</pre></code>
</code>
* This is aligned with the syntax used by Maven, however it can be applied to any
* supported version scheme.
* <p>
Expand Down