Skip to content

Commit

Permalink
Resolve Javadoc quality issues (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi authored Aug 19, 2024
1 parent a470cca commit 34a15a7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
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

0 comments on commit 34a15a7

Please sign in to comment.