| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticTypeWarningCode.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticTypeWarningCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticTypeWarningCode.java
|
| index 782eb77d658d04969600ccc2b9834ec099900bea..d035fbf7e1098569b7eac645fa69286eb45e9b73 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticTypeWarningCode.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticTypeWarningCode.java
|
| @@ -140,14 +140,7 @@ public enum StaticTypeWarningCode implements ErrorCode {
|
| * constructor of a generic type <i>G</i> invoked by a new expression or a constant object
|
| * expression are not subtypes of the bounds of the corresponding formal type parameters of
|
| * <i>G</i>.
|
| - *
|
| - * @param boundedTypeName the name of the type used in the instance creation that should be
|
| - * limited by the bound as specified in the class declaration
|
| - * @param boundingTypeName the name of the bounding type
|
| - */
|
| - TYPE_ARGUMENT_NOT_MATCHING_BOUNDS("'%s' does not extend '%s'"),
|
| -
|
| - /**
|
| + * <p>
|
| * 10 Generics: It is a static type warning if a type parameter is a supertype of its upper bound.
|
| * <p>
|
| * 15.8 Parameterized Types: If <i>S</i> is the static type of a member <i>m</i> of <i>G</i>, then
|
| @@ -157,8 +150,12 @@ public enum StaticTypeWarningCode implements ErrorCode {
|
| * Let <i>B<sub>i</sub></i> be the bounds of <i>T<sub>i</sub>, 1 <= i <= n</i>. It is a
|
| * static type warning if <i>A<sub>i</sub></i> is not a subtype of <i>[A<sub>1</sub>, …,
|
| * A<sub>n</sub>/T<sub>1</sub>, …, T<sub>n</sub>]B<sub>i</sub>, 1 <= i <= n</i>.
|
| + *
|
| + * @param boundedTypeName the name of the type used in the instance creation that should be
|
| + * limited by the bound as specified in the class declaration
|
| + * @param boundingTypeName the name of the bounding type
|
| */
|
| - TYPE_ARGUMENT_VIOLATES_BOUNDS(""),
|
| + TYPE_ARGUMENT_NOT_MATCHING_BOUNDS("'%s' does not extend '%s'"),
|
|
|
| /**
|
| * Specification reference needed. This is equivalent to {@link #UNDEFINED_METHOD}, but for
|
|
|