Makes ExclusionStrategy public.

This commit is contained in:
Joel Leitch 2009-10-08 21:52:56 +00:00
parent dc5922e703
commit 10c39317a1
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ package com.google.gson;
* *
* @since 1.4 * @since 1.4
*/ */
interface ExclusionStrategy { public interface ExclusionStrategy {
/** /**
* @param f the field object that is under test * @param f the field object that is under test

View File

@ -237,7 +237,7 @@ public final class GsonBuilder {
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern * @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern
* @since 1.4 * @since 1.4
*/ */
GsonBuilder setExclusionStrategies(ExclusionStrategy... strategies) { public GsonBuilder setExclusionStrategies(ExclusionStrategy... strategies) {
for (ExclusionStrategy strategy : strategies) { for (ExclusionStrategy strategy : strategies) {
exclusionStrategies.add(strategy); exclusionStrategies.add(strategy);
} }