Skip to content

Commit 9e32c35

Browse files
committed
Javadoc fixes
1 parent 9898779 commit 9e32c35

File tree

2 files changed

+23
-27
lines changed

2 files changed

+23
-27
lines changed

src/main/java/io/github/spencerpark/jupyter/kernel/history/HistoryManager.java

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,17 @@ public default List<HistoryEntry> lookupTail(int length, ResultFlag... flags) {
9090
* Lookup the last {@code length} input cells that match the {@code pattern}.
9191
* <p>
9292
* The {@code pattern} is an sqlite glob. More specifically:
93-
* <pre>
94-
* <ul>
95-
* <li>asterisk ({@code *}) matches 0 or more of any characters</li>
96-
* <li>question mark ({@code ?}) matches exactly 1 of any character</li>
97-
* <li>
98-
* list wildcard ({@code []}) matches any character from the list
99-
* <ul>
100-
* <li>character ranges are supported with {@code [a-z]} syntax to match {@code a} to {@code z} inclusive</li>
101-
* <li>starting a list wildcard with {@code ^} negates the wildcard</li>
102-
* </ul>
103-
* </li>
104-
* </ul>
105-
* </pre>
93+
* <ul>
94+
* <li>asterisk ({@code *}) matches 0 or more of any characters</li>
95+
* <li>question mark ({@code ?}) matches exactly 1 of any character</li>
96+
* <li>
97+
* list wildcard ({@code []}) matches any character from the list
98+
* <ul>
99+
* <li>character ranges are supported with {@code [a-z]} syntax to match {@code a} to {@code z} inclusive</li>
100+
* <li>starting a list wildcard with {@code ^} negates the wildcard</li>
101+
* </ul>
102+
* </li>
103+
* </ul>
106104
*
107105
* @param pattern a glob pattern that input cells must match.
108106
* @param length the number of results to include in the results.
@@ -117,19 +115,17 @@ public default List<HistoryEntry> lookupTail(int length, ResultFlag... flags) {
117115
* Lookup the last {@code length} input cells that match the {@code pattern}.
118116
* <p>
119117
* The {@code pattern} is an sqlite glob. More specifically:
120-
* <pre>
121-
* <ul>
122-
* <li>asterisk ({@code *}) matches 0 or more of any characters</li>
123-
* <li>question mark ({@code ?}) matches exactly 1 of any character</li>
124-
* <li>
125-
* list wildcard ({@code []}) matches any character from the list
126-
* <ul>
127-
* <li>character ranges are supported with {@code [a-z]} syntax to match {@code a} to {@code z} inclusive</li>
128-
* <li>starting a list wildcard with {@code ^} negates the wildcard</li>
129-
* </ul>
130-
* </li>
131-
* </ul>
132-
* </pre>
118+
* <ul>
119+
* <li>asterisk ({@code *}) matches 0 or more of any characters</li>
120+
* <li>question mark ({@code ?}) matches exactly 1 of any character</li>
121+
* <li>
122+
* list wildcard ({@code []}) matches any character from the list
123+
* <ul>
124+
* <li>character ranges are supported with {@code [a-z]} syntax to match {@code a} to {@code z} inclusive</li>
125+
* <li>starting a list wildcard with {@code ^} negates the wildcard</li>
126+
* </ul>
127+
* </li>
128+
* </ul>
133129
*
134130
* @param pattern a glob pattern that input cells must match.
135131
* @param length the number of results to include in the results.

src/main/java/io/github/spencerpark/jupyter/kernel/util/GlobFinder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* {@code "*"} to match 0 or more characters <strong>between {@code "/"}</strong> and {@code "?"} to
1313
* match a single character. A glob ending in {@code "/"} will match all files in a directories matching
1414
* the glob.
15-
* <p></p>
15+
* <p>
1616
* <strong>Important note for Windows file systems:</strong> Globs should use {@code "/"} to separate the
1717
* glob despite it not being the platform separator.
1818
*/

0 commit comments

Comments
 (0)