Skip to content

Commit

Permalink
replaced nbsp with pre tag.
Browse files Browse the repository at this point in the history
Signed-off-by: Mitchell Gale <[email protected]>
  • Loading branch information
MitchellGale committed Aug 9, 2023
1 parent 03db75f commit bd55151
Showing 1 changed file with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,19 @@ public Optional<String> first() {
}

/**
* <pre>
* Get rest parts of the qualified name. Assume that there must be remaining parts so caller is
* responsible for the check (first() or size() must be called first).<br>
* For example:<br>
* {@code<br> &nbsp; QualifiedName name = ...<br> &nbsp; Optional<String> first =
* name.first();<br> &nbsp; if (first.isPresent()) {<br> &ensp; name.rest() ...<br> &nbsp; }<br> }
*
* responsible for the check (first() or size() must be called first).
* For example:
* {@code
* QualifiedName name = ...
* Optional<String> first = name.first();
* if (first.isPresent()) {
* name.rest() ...
* }
* }
* @return rest part(s)
* </pre>
*/
public QualifiedName rest() {
return QualifiedName.of(parts.subList(1, parts.size()));
Expand Down

0 comments on commit bd55151

Please sign in to comment.