8220644: Align required/found pairs in diagnostics
authorcushon
Wed, 13 Mar 2019 22:05:09 -0700
changeset 54132 2ab55d39fb5b
parent 54131 41b79b3e21fb
child 54133 829bf950287e
8220644: Align required/found pairs in diagnostics Reviewed-by: mcimadamore, jjg
src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Fri Mar 15 00:49:13 2019 +0900
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Wed Mar 13 22:05:09 2019 -0700
@@ -231,7 +231,7 @@
 compiler.err.cant.apply.symbol=\
     {0} {1} in {4} {5} cannot be applied to given types;\n\
     required: {2}\n\
-    found: {3}\n\
+    found:    {3}\n\
     reason: {6}
 
 # 0: symbol kind, 1: name, 2: list of type
@@ -242,7 +242,7 @@
 compiler.misc.cant.apply.symbol=\
     {0} {1} in {4} {5} cannot be applied to given types\n\
     required: {2}\n\
-    found: {3}\n\
+    found:    {3}\n\
     reason: {6}
 
 # 0: symbol kind, 1: name, 2: list of type
@@ -1952,7 +1952,7 @@
 compiler.warn.unchecked.meth.invocation.applied=\
     unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
     required: {2}\n\
-    found: {3}
+    found:    {3}
 
 # 0: type
 compiler.warn.unchecked.generic.array.creation=\
@@ -2880,25 +2880,25 @@
 compiler.err.incorrect.receiver.name=\
     the receiver name does not match the enclosing class type\n\
     required: {0}\n\
-    found: {1}
+    found:    {1}
 
 # 0: type, 1: type
 compiler.err.incorrect.receiver.type=\
     the receiver type does not match the enclosing class type\n\
     required: {0}\n\
-    found: {1}
+    found:    {1}
 
 # 0: type, 1: type
 compiler.err.incorrect.constructor.receiver.type=\
     the receiver type does not match the enclosing outer class type\n\
     required: {0}\n\
-    found: {1}
+    found:    {1}
 
 # 0: type, 1: type
 compiler.err.incorrect.constructor.receiver.name=\
     the receiver name does not match the enclosing outer class type\n\
     required: {0}\n\
-    found: {1}
+    found:    {1}
 
 compiler.err.no.annotations.on.dot.class=\
     no annotations are allowed in the type of a class literal