Makes ExclusionStrategy public.
This commit is contained in:
parent
dc5922e703
commit
10c39317a1
@ -78,7 +78,7 @@ package com.google.gson;
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
interface ExclusionStrategy {
|
||||
public interface ExclusionStrategy {
|
||||
|
||||
/**
|
||||
* @param f the field object that is under test
|
||||
|
@ -237,7 +237,7 @@ public final class GsonBuilder {
|
||||
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern
|
||||
* @since 1.4
|
||||
*/
|
||||
GsonBuilder setExclusionStrategies(ExclusionStrategy... strategies) {
|
||||
public GsonBuilder setExclusionStrategies(ExclusionStrategy... strategies) {
|
||||
for (ExclusionStrategy strategy : strategies) {
|
||||
exclusionStrategies.add(strategy);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user