Fix logging when a file is skipped
This commit is contained in:
parent
83e0ecd95c
commit
00d87d7003
|
@ -401,8 +401,7 @@ public class GeneratorVisitor extends ElementKindVisitor6<Void, Void> {
|
||||||
byte[] expected = await(newStr);
|
byte[] expected = await(newStr);
|
||||||
|
|
||||||
if (Arrays.equals(expected, await(actual))) {
|
if (Arrays.equals(expected, await(actual))) {
|
||||||
long elapsed = System.currentTimeMillis() - startTime;
|
printTiming(messager, "Skipped identical '." + type + "' " + name + " at " + output, startTime);
|
||||||
messager.printMessage(Diagnostic.Kind.NOTE, "Skipped identical '." + type + "' " + name + " at " + output + " in " + elapsed + " ms.");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue