Skip to content

Commit

Permalink
Enigma javadoc corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Col-E committed Jan 11, 2025
1 parent ac39522 commit 662f24a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public static IntermediateMappings parseEnigma(@Nonnull String mappingsText) thr
* @param line
* Current line number in the mappings file <i>(1 based)</i>
* @param indent
* Current level of indentation. Should match the size of the {@code currentClass} {@link Deque}.
* Current level of indentation. Should be equal to or less than the size of the {@code currentClass} {@link Deque}.
* @param i
* Current offset into the mappings file.
* @param mappingsText
Expand Down Expand Up @@ -160,7 +160,7 @@ private static int handleLine(int line, int indent, int i, @Nonnull String mappi
* @param line
* Current line number in the mappings file <i>(1 based)</i>
* @param indent
* Current level of indentation. Should match the size of the {@code currentClass} {@link Deque}.
* Current level of indentation. Should be equal to or less than the size of the {@code currentClass} {@link Deque}.
* @param i
* Current offset into the mappings file.
* @param mappingsText
Expand Down Expand Up @@ -252,7 +252,7 @@ private static String qualifyWithOuterClassesB(@Nonnull Deque<Pair<String, Strin
* @param currentClass
* Deque of the current 'context' <i>(what class are we building mappings for)</i>.
* @param indent
* Current level of indentation. Should match the size of the {@code currentClass} {@link Deque}.
* Current level of indentation. Should be equal to or less than the size of the {@code currentClass} {@link Deque}.
* @param failStr
* Message to include in the thrown invalid mapping exception if the indentation state is invalid.
* @param i
Expand Down Expand Up @@ -294,7 +294,7 @@ private static int skipLineRest(int i, @Nonnull String mappingsText) {
* @param mappingsText
* Mappings file contents.
*
* @return Updated offset into the mappings file, skipping to the next space character.
* @return Updated offset into the mappings file, skipping to the next non-space character.
*/
private static int skipSpace(int i, @Nonnull String mappingsText) {
for (int len = mappingsText.length(); i < len; i++) {
Expand Down

0 comments on commit 662f24a

Please sign in to comment.