mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 00:19:21 +08:00
Add Override annotation
This commit is contained in:
@@ -423,15 +423,15 @@ public final class Types {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Type[] getActualTypeArguments() {
|
@Override public Type[] getActualTypeArguments() {
|
||||||
return typeArguments.clone();
|
return typeArguments.clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Type getRawType() {
|
@Override public Type getRawType() {
|
||||||
return rawType;
|
return rawType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Type getOwnerType() {
|
@Override public Type getOwnerType() {
|
||||||
return ownerType;
|
return ownerType;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -469,7 +469,7 @@ public final class Types {
|
|||||||
this.componentType = canonicalize(componentType);
|
this.componentType = canonicalize(componentType);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Type getGenericComponentType() {
|
@Override public Type getGenericComponentType() {
|
||||||
return componentType;
|
return componentType;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -515,11 +515,11 @@ public final class Types {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Type[] getUpperBounds() {
|
@Override public Type[] getUpperBounds() {
|
||||||
return new Type[] { upperBound };
|
return new Type[] { upperBound };
|
||||||
}
|
}
|
||||||
|
|
||||||
public Type[] getLowerBounds() {
|
@Override public Type[] getLowerBounds() {
|
||||||
return lowerBound != null ? new Type[] { lowerBound } : EMPTY_TYPE_ARRAY;
|
return lowerBound != null ? new Type[] { lowerBound } : EMPTY_TYPE_ARRAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user