8220644: Align required/found pairs in diagnostics

Reviewed-by: mcimadamore, jjg
This commit is contained in:
Liam Miller-Cushon 2019-03-13 22:05:09 -07:00
parent 90d82c2f35
commit 9635954e6e

View File

@ -231,7 +231,7 @@ compiler.err.call.must.be.first.stmt.in.ctor=\
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.err.cant.apply.symbols=\
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.cast.to.type=\
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.cant.type.annotate.scoping=\
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