diff options
author | Markus Keller | 2014-01-03 11:24:49 +0000 |
---|---|---|
committer | Markus Keller | 2014-01-03 11:24:49 +0000 |
commit | 3743c4479cbac2ff6c8704e9f0a938a9ad18c145 (patch) | |
tree | 3ad4f4816bbd601219a703cff6ad6b3adfcc7f0c | |
parent | 4205be7bc8a3458bda7aa0a98a833014cd2088eb (diff) | |
download | eclipse.jdt.core-3743c4479cbac2ff6c8704e9f0a938a9ad18c145.tar.gz eclipse.jdt.core-3743c4479cbac2ff6c8704e9f0a938a9ad18c145.tar.xz eclipse.jdt.core-3743c4479cbac2ff6c8704e9f0a938a9ad18c145.zip |
Bug 103672: compiler problem VARARGS_ARGUMENT_NEED_CAST only explains one of two solutions
fixed CHKPII problem
-rw-r--r-- | org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties index 2ff9469fe2..2c6e68998e 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties @@ -641,10 +641,8 @@ ### VARARGS 800 = Extended dimensions are illegal for a variable argument -#801 = The argument of type {0} should explicitly be cast to {1} for the invocation of the varargs method {2}({3}) from type {4}. It could alternatively be cast to {5} for a varargs invocation -801 = Type {0} of the last argument to method {2}({3}) doesn't exactly match the vararg parameter type. Cast to {1} to confirm the non-varargs invocation, or pass individual arguments of type {5} for a varargs invocation. -#802 = The argument of type {0} should explicitly be cast to {1} for the invocation of the varargs constructor {2}({3}). It could alternatively be cast to {4} for a varargs invocation -802 = Type {0} of the last argument to constructor {2}({3}) doesn't exactly match the vararg parameter type. Cast to {1} to confirm the non-varargs invocation, or pass individual arguments of type {4} for a varargs invocation. +801 = Type {0} of the last argument to method {2}({3}) doesn''t exactly match the vararg parameter type. Cast to {1} to confirm the non-varargs invocation, or pass individual arguments of type {5} for a varargs invocation. +802 = Type {0} of the last argument to constructor {2}({3}) doesn''t exactly match the vararg parameter type. Cast to {1} to confirm the non-varargs invocation, or pass individual arguments of type {4} for a varargs invocation. 803 = Varargs methods should only override or be overridden by other varargs methods unlike {2}.{0}({1}) and {4}.{0}({3}) 804 = @SafeVarargs annotation cannot be applied to fixed arity method {0} 805 = @SafeVarargs annotation cannot be applied to non-final instance method {0} |