@@ -262,7 +262,7 @@ private static void processHiddenTokens(@Nullable List<Token> tokens, Output out
262262 }
263263
264264 static void processHiddenTokensAfterCurrent (Token currentToken , CommonTokenStream ts ,
265- Output output ) {
265+ Output output ) {
266266 // add hidden tokens after the current token (whitespace, comments etc.)
267267 List <Token > list = ts .getHiddenTokensToRight (currentToken .getTokenIndex ());
268268 processHiddenTokens (list , output );
@@ -302,7 +302,7 @@ private static void processIndentationInMLComment(String text, Output output) {
302302 // Watch out for empty line when removing the common indent
303303 // weigl: "line.length() < minIndent" was required for Windows.
304304 line =
305- line .isEmpty () || line .length () < minIndent ? line : line .substring (minIndent );
305+ line .isEmpty () || line .length () < minIndent ? line : line .substring (minIndent );
306306 } else {
307307 line = line .stripLeading ();
308308 }
@@ -358,7 +358,7 @@ public Void visitTerminal(TerminalNode node) {
358358 }
359359
360360 boolean isLBrace =
361- token == KeYLexer .LBRACE || token == KeYLexer .LPAREN || token == KeYLexer .LBRACKET ;
361+ token == KeYLexer .LBRACE || token == KeYLexer .LPAREN || token == KeYLexer .LBRACKET ;
362362 if (isLBrace ) {
363363 output .spaceBeforeNext ();
364364 } else if (token == KeYLexer .RBRACE || token == KeYLexer .RPAREN
@@ -372,9 +372,9 @@ public Void visitTerminal(TerminalNode node) {
372372 }
373373
374374 var noSpaceAround =
375- token == KeYLexer .COLON || token == KeYLexer .DOT || token == KeYLexer .DOUBLECOLON ;
375+ token == KeYLexer .COLON || token == KeYLexer .DOT || token == KeYLexer .DOUBLECOLON ;
376376 var noSpaceBefore =
377- token == KeYLexer .SEMI || token == KeYLexer .COMMA || token == KeYLexer .LPAREN ;
377+ token == KeYLexer .SEMI || token == KeYLexer .COMMA || token == KeYLexer .LPAREN ;
378378 if (noSpaceBefore || noSpaceAround ) {
379379 output .noSpaceBeforeNext ();
380380 }
@@ -408,7 +408,7 @@ private static int countNLs(String text) {
408408 * @param stream char stream
409409 * @return the formatted text
410410 * @throws de.uka.ilkd.key.util.parsing.SyntaxErrorReporter.ParserException if the given text is
411- * not parser
411+ * not parser
412412 */
413413 public static String format (CharStream stream ) {
414414 // weigl: Not necessary is handled within the lexer
0 commit comments