Merge pull request #164 from satoshun/master

Add Override annotation
This commit is contained in:
Jesse Wilson
2016-05-28 22:56:07 -04:00

View File

@@ -423,15 +423,15 @@ public final class Types {
}
}
public Type[] getActualTypeArguments() {
@Override public Type[] getActualTypeArguments() {
return typeArguments.clone();
}
public Type getRawType() {
@Override public Type getRawType() {
return rawType;
}
public Type getOwnerType() {
@Override public Type getOwnerType() {
return ownerType;
}
@@ -469,7 +469,7 @@ public final class Types {
this.componentType = canonicalize(componentType);
}
public Type getGenericComponentType() {
@Override public Type getGenericComponentType() {
return componentType;
}
@@ -515,11 +515,11 @@ public final class Types {
}
}
public Type[] getUpperBounds() {
@Override public Type[] getUpperBounds() {
return new Type[] { upperBound };
}
public Type[] getLowerBounds() {
@Override public Type[] getLowerBounds() {
return lowerBound != null ? new Type[] { lowerBound } : EMPTY_TYPE_ARRAY;
}