@@ -122,8 +122,7 @@ private static String processFormatSpecifier(
122
122
int argIndex ,
123
123
SprintfValueFormatter formatter ) {
124
124
125
- System .err .println ("DEBUG processFormatSpecifier: raw='" + spec .raw +
126
- "', isValid=" + spec .isValid + ", errorMessage=" + spec .errorMessage );
125
+ // System.err.println("DEBUG processFormatSpecifier: raw='" + spec.raw + "', isValid=" + spec.isValid + ", errorMessage=" + spec.errorMessage);
127
126
128
127
// Handle invalid specifiers FIRST (before %% check)
129
128
if (!spec .isValid ) {
@@ -336,8 +335,7 @@ private static int updateArgIndex(SprintfFormatParser.FormatSpecifier spec,
336
335
* Handle invalid format specifiers.
337
336
*/
338
337
private static String handleInvalidSpecifier (SprintfFormatParser .FormatSpecifier spec ) {
339
- System .err .println ("DEBUG handleInvalidSpecifier: raw='" + spec .raw +
340
- "', errorMessage='" + spec .errorMessage + "'" );
338
+ // System.err.println("DEBUG handleInvalidSpecifier: raw='" + spec.raw + "', errorMessage='" + spec.errorMessage + "'");
341
339
342
340
String formatOnly = spec .raw ;
343
341
String trailing = "" ;
@@ -366,12 +364,12 @@ private static String handleInvalidSpecifier(SprintfFormatParser.FormatSpecifier
366
364
}
367
365
368
366
String warningMessage = "Invalid conversion in sprintf: \" " + formatForWarning + "\" " ;
369
- System .err .println ("DEBUG: About to warn: " + warningMessage );
367
+ // System.err.println("DEBUG: About to warn: " + warningMessage);
370
368
WarnDie .warn (new RuntimeScalar (warningMessage ), new RuntimeScalar ("" ));
371
369
}
372
370
373
371
// Don't consume any arguments for invalid specifiers
374
- System .err .println ("DEBUG: Returning from handleInvalidSpecifier: '" + formatOnly + trailing + "'" );
372
+ // System.err.println("DEBUG: Returning from handleInvalidSpecifier: '" + formatOnly + trailing + "'");
375
373
return formatOnly + trailing ;
376
374
}
377
375
0 commit comments