commit | aa2f61b7d8defddc2a78de43b8042178241daedb | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jesse@swank.ca> | Tue Nov 22 07:37:13 2011 +0000 |
committer | Jesse Wilson <jesse@swank.ca> | Tue Nov 22 07:37:13 2011 +0000 |
tree | a408d54c7a7e625b711239f996a7cc117fd6acf0 | |
parent | fed332906debe74d0879c77a03825b66f7970c41 [diff] |
Rename GsonExclusionStrategy to Excluder. The new class is its own factory, which simplifies its caller in GsonBuilder. It no longer implements ExclusionStrategy, which allows the callers to pass in a boolean for serialize/deserialize. This allows us to use one excluder for both code paths. The delegate ExclusionStrategy instances might end up not being shared so it has two lists internally.