Add missing Override annotations

This commit is contained in:
mezz committed 2017-06-17 18:24:17 -07:00
1 parent c2845967cc
commit e3777f4559
59 files changed
+263 -42

No files matched your search

@@ -34,6 +34,7 @@ public class ChunkCoordComparator implements java.util.Comparator<ChunkPos>
z = (int) entityplayer.posZ >> 4;
}
@Override
public int compare(ChunkPos a, ChunkPos b)
{
if (a.equals(b))
@@ -42,6 +42,7 @@ public class JsonUtils
{
INSTANCE;
@Override
public ImmutableList<?> deserialize(JsonElement json, Type type, JsonDeserializationContext context) throws JsonParseException
{
final Type[] typeArguments = ((ParameterizedType) type).getActualTypeArguments();
@@ -50,6 +51,7 @@ public class JsonUtils
return ImmutableList.copyOf(list);
}
@Override
public JsonElement serialize(ImmutableList<?> src, Type type, JsonSerializationContext context)
{
final Type[] typeArguments = ((ParameterizedType) type).getActualTypeArguments();
@@ -68,6 +70,7 @@ public class JsonUtils
{
INSTANCE;
@Override
public ImmutableMap<String, ?> deserialize(JsonElement json, Type type, JsonDeserializationContext context) throws JsonParseException
{
final Type[] typeArguments = ((ParameterizedType) type).getActualTypeArguments();
@@ -76,6 +79,7 @@ public class JsonUtils
return ImmutableMap.copyOf(map);
}
@Override
public JsonElement serialize(ImmutableMap<String, ?> src, Type type, JsonSerializationContext context)
{
final Type[] typeArguments = ((ParameterizedType) type).getActualTypeArguments();