From 067077822d90333ce8155123097ea93d03713d07 Mon Sep 17 00:00:00 2001 From: SatoShun Date: Sun, 29 May 2016 02:10:55 +0000 Subject: [PATCH] Add Override annotation --- moshi/src/main/java/com/squareup/moshi/Types.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/moshi/src/main/java/com/squareup/moshi/Types.java b/moshi/src/main/java/com/squareup/moshi/Types.java index 1235232..e383baa 100644 --- a/moshi/src/main/java/com/squareup/moshi/Types.java +++ b/moshi/src/main/java/com/squareup/moshi/Types.java @@ -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; }