From 149604f0be6c05a822e8b02c1c1f00d87ba515da Mon Sep 17 00:00:00 2001 From: Inderjeet Singh Date: Wed, 1 Apr 2009 17:03:31 +0000 Subject: [PATCH] Made author tags consistent across the public api. --- gson/src/main/java/com/google/gson/FieldNamingPolicy.java | 1 + gson/src/main/java/com/google/gson/FieldNamingStrategy.java | 1 + gson/src/main/java/com/google/gson/InstanceCreator.java | 1 + gson/src/main/java/com/google/gson/JsonArray.java | 1 + .../main/java/com/google/gson/JsonDeserializationContext.java | 1 + gson/src/main/java/com/google/gson/JsonObject.java | 1 + gson/src/main/java/com/google/gson/JsonParseException.java | 1 + gson/src/main/java/com/google/gson/JsonPrimitive.java | 1 + .../src/main/java/com/google/gson/JsonSerializationContext.java | 1 + gson/src/main/java/com/google/gson/annotations/Expose.java | 1 + .../main/java/com/google/gson/annotations/SerializedName.java | 1 + gson/src/main/java/com/google/gson/annotations/Since.java | 1 + gson/src/main/java/com/google/gson/annotations/Until.java | 2 ++ 13 files changed, 14 insertions(+) diff --git a/gson/src/main/java/com/google/gson/FieldNamingPolicy.java b/gson/src/main/java/com/google/gson/FieldNamingPolicy.java index 792c5232..9c1abc5d 100644 --- a/gson/src/main/java/com/google/gson/FieldNamingPolicy.java +++ b/gson/src/main/java/com/google/gson/FieldNamingPolicy.java @@ -22,6 +22,7 @@ package com.google.gson; * to configure a {@link com.google.gson.Gson} instance to properly translate Java field * names into the desired JSON field names. * + * @author Inderjeet Singh * @author Joel Leitch */ public enum FieldNamingPolicy { diff --git a/gson/src/main/java/com/google/gson/FieldNamingStrategy.java b/gson/src/main/java/com/google/gson/FieldNamingStrategy.java index 0ae6ea4a..9be453ad 100644 --- a/gson/src/main/java/com/google/gson/FieldNamingStrategy.java +++ b/gson/src/main/java/com/google/gson/FieldNamingStrategy.java @@ -23,6 +23,7 @@ import java.lang.reflect.Field; * field names into a particular convention that is not supported as a normal Java field * declaration rules. For example, Java does not support "-" characters in a field name. * + * @author Inderjeet Singh * @author Joel Leitch * @since 1.3 */ diff --git a/gson/src/main/java/com/google/gson/InstanceCreator.java b/gson/src/main/java/com/google/gson/InstanceCreator.java index 87fe32f9..d5096a07 100644 --- a/gson/src/main/java/com/google/gson/InstanceCreator.java +++ b/gson/src/main/java/com/google/gson/InstanceCreator.java @@ -73,6 +73,7 @@ import java.lang.reflect.Type; * * @param the type of object that will be created by this implementation. * + * @author Inderjeet Singh * @author Joel Leitch */ public interface InstanceCreator { diff --git a/gson/src/main/java/com/google/gson/JsonArray.java b/gson/src/main/java/com/google/gson/JsonArray.java index db3788a3..84b0310f 100644 --- a/gson/src/main/java/com/google/gson/JsonArray.java +++ b/gson/src/main/java/com/google/gson/JsonArray.java @@ -30,6 +30,7 @@ import java.util.List; * elements are added is preserved. * * @author Inderjeet Singh + * @author Joel Leitch */ public final class JsonArray extends JsonElement implements Iterable { private final List elements; diff --git a/gson/src/main/java/com/google/gson/JsonDeserializationContext.java b/gson/src/main/java/com/google/gson/JsonDeserializationContext.java index 3c053374..ae957082 100644 --- a/gson/src/main/java/com/google/gson/JsonDeserializationContext.java +++ b/gson/src/main/java/com/google/gson/JsonDeserializationContext.java @@ -24,6 +24,7 @@ import java.lang.reflect.Type; * method. * * @author Inderjeet Singh + * @author Joel Leitch */ public interface JsonDeserializationContext { diff --git a/gson/src/main/java/com/google/gson/JsonObject.java b/gson/src/main/java/com/google/gson/JsonObject.java index dd5280a9..a2ad0861 100644 --- a/gson/src/main/java/com/google/gson/JsonObject.java +++ b/gson/src/main/java/com/google/gson/JsonObject.java @@ -28,6 +28,7 @@ import java.util.Map.Entry; * tree of JsonElements. The member elements of this object are maintained in order they were added. * * @author Inderjeet Singh + * @author Joel Leitch */ public final class JsonObject extends JsonElement { // We are using a linked hash map because it is important to preserve diff --git a/gson/src/main/java/com/google/gson/JsonParseException.java b/gson/src/main/java/com/google/gson/JsonParseException.java index b00df193..0b733a70 100644 --- a/gson/src/main/java/com/google/gson/JsonParseException.java +++ b/gson/src/main/java/com/google/gson/JsonParseException.java @@ -26,6 +26,7 @@ package com.google.gson; * exception and do nothing. It is often the case that you want to blow up if there is a parsing * error (i.e. often clients do not know how to recover from a {@link JsonParseException}.

* + * @author Inderjeet Singh * @author Joel Leitch */ public final class JsonParseException extends RuntimeException { diff --git a/gson/src/main/java/com/google/gson/JsonPrimitive.java b/gson/src/main/java/com/google/gson/JsonPrimitive.java index 31535b8e..253814b4 100644 --- a/gson/src/main/java/com/google/gson/JsonPrimitive.java +++ b/gson/src/main/java/com/google/gson/JsonPrimitive.java @@ -26,6 +26,7 @@ import java.math.BigInteger; * wrapper type. * * @author Inderjeet Singh + * @author Joel Leitch */ public final class JsonPrimitive extends JsonElement { diff --git a/gson/src/main/java/com/google/gson/JsonSerializationContext.java b/gson/src/main/java/com/google/gson/JsonSerializationContext.java index 81bd5c92..5928329d 100644 --- a/gson/src/main/java/com/google/gson/JsonSerializationContext.java +++ b/gson/src/main/java/com/google/gson/JsonSerializationContext.java @@ -23,6 +23,7 @@ import java.lang.reflect.Type; * {@link JsonSerializer#serialize(Object, Type, JsonSerializationContext)} method. * * @author Inderjeet Singh + * @author Joel Leitch */ public interface JsonSerializationContext { diff --git a/gson/src/main/java/com/google/gson/annotations/Expose.java b/gson/src/main/java/com/google/gson/annotations/Expose.java index 81aa5bed..1f6f35c0 100644 --- a/gson/src/main/java/com/google/gson/annotations/Expose.java +++ b/gson/src/main/java/com/google/gson/annotations/Expose.java @@ -53,6 +53,7 @@ import java.lang.annotation.Target; * explicitly specify all fields that should get considered for serialization or deserialization. * * @author Inderjeet Singh + * @author Joel Leitch */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) diff --git a/gson/src/main/java/com/google/gson/annotations/SerializedName.java b/gson/src/main/java/com/google/gson/annotations/SerializedName.java index 4c44e035..99755eb5 100644 --- a/gson/src/main/java/com/google/gson/annotations/SerializedName.java +++ b/gson/src/main/java/com/google/gson/annotations/SerializedName.java @@ -60,6 +60,7 @@ import java.lang.annotation.Target; * * @see com.google.gson.FieldNamingPolicy * + * @author Inderjeet Singh * @author Joel Leitch */ @Retention(RetentionPolicy.RUNTIME) diff --git a/gson/src/main/java/com/google/gson/annotations/Since.java b/gson/src/main/java/com/google/gson/annotations/Since.java index 509877cf..541f154b 100644 --- a/gson/src/main/java/com/google/gson/annotations/Since.java +++ b/gson/src/main/java/com/google/gson/annotations/Since.java @@ -48,6 +48,7 @@ import java.lang.annotation.Target; * since it's version number is set to {@code 1.1}.

* * @author Inderjeet Singh + * @author Joel Leitch */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.TYPE}) diff --git a/gson/src/main/java/com/google/gson/annotations/Until.java b/gson/src/main/java/com/google/gson/annotations/Until.java index 6accba22..4648b8a2 100644 --- a/gson/src/main/java/com/google/gson/annotations/Until.java +++ b/gson/src/main/java/com/google/gson/annotations/Until.java @@ -50,7 +50,9 @@ import java.lang.annotation.Target; * GsonBuilder, {@code 1.2}, exceeds the version number set on the {@code Until} annotation, * {@code 1.1}, for those fields. * + * @author Inderjeet Singh * @author Joel Leitch + * @since 1.3 */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.TYPE})