Update JavaDoc to link to the correct interface (FieldNamingStrategy2).

This commit is contained in:
Joel Leitch 2010-01-09 22:48:53 +00:00
parent e3af076ff2
commit e6496fddd6
5 changed files with 7 additions and 7 deletions

View File

@ -21,7 +21,7 @@ import java.lang.reflect.Type;
import java.util.Collection;
/**
* A simple implementation of the {@link FieldNamingStrategy} interface such that it does not
* A simple implementation of the {@link FieldNamingStrategy2} interface such that it does not
* perform any string translation of the incoming field name.
*
* <p>The following is an example:</p>
@ -38,7 +38,7 @@ import java.util.Collection;
* assert("integerField".equals(translatedFieldName));
* </pre>
*
* <p>This is the default {@link FieldNamingStrategy} used by Gson.</p>
* <p>This is the default {@link FieldNamingStrategy2} used by Gson.</p>
*
* @author Joel Leitch
*/

View File

@ -21,7 +21,7 @@ import java.lang.reflect.Type;
import java.util.Collection;
/**
* A {@link FieldNamingStrategy} that ensures the JSON field names consist of only
* A {@link FieldNamingStrategy2} that ensures the JSON field names consist of only
* lower case letters.
*
* <p>The following is an example:</p>

View File

@ -21,7 +21,7 @@ import java.lang.reflect.Type;
import java.util.Collection;
/**
* A {@link FieldNamingStrategy} that ensures the JSON field names begins with
* A {@link FieldNamingStrategy2} that ensures the JSON field names begins with
* an upper case letter.
*
*<p>The following is an example:</p>

View File

@ -19,10 +19,10 @@ package com.google.gson;
import com.google.gson.annotations.SerializedName;
/**
* A {@link FieldNamingStrategy} that acts as a chain of responsibility. If the
* A {@link FieldNamingStrategy2} that acts as a chain of responsibility. If the
* {@link com.google.gson.annotations.SerializedName} annotation is applied to a field then this
* strategy will translate the name to the {@code serializedName.value()}; otherwise it delegates
* to the wrapped {@link FieldNamingStrategy}.
* to the wrapped {@link FieldNamingStrategy2}.
*
* <p>NOTE: this class performs JSON field name validation for any of the fields marked with
* an {@code @SerializedName} annotation.</p>

View File

@ -21,7 +21,7 @@ import java.lang.reflect.Type;
import java.util.Collection;
/**
* A {@link FieldNamingStrategy} that ensures the JSON field names consist of only
* A {@link FieldNamingStrategy2} that ensures the JSON field names consist of only
* upper case letters.
*
* <p>The following is an example:</p>