mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-17 15:35:00 +00:00
Fix comment about defaultTransformer
bug 39207, from Matt Benson git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@393104 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
892e210a8f
commit
2d85e5f319
@ -121,6 +121,7 @@ If this causes major headaches to anyone please contact commons-dev at jakarta.a
|
||||
<li>ListOrderedSet.decorate(List) - Better comment [32073]</li>
|
||||
<li>BlockingBuffer - Add comments</li>
|
||||
<li>Maps - synchronization comments [32573]</li>
|
||||
<li>SwitchTransformer - defaultTransformer comment fix [39207]</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -48,7 +48,7 @@ public class SwitchTransformer implements Transformer, Serializable {
|
||||
*
|
||||
* @param predicates array of predicates, cloned, no nulls
|
||||
* @param transformers matching array of transformers, cloned, no nulls
|
||||
* @param defaultTransformer the transformer to use if no match, null means nop
|
||||
* @param defaultTransformer the transformer to use if no match, null means return null
|
||||
* @return the <code>chained</code> transformer
|
||||
* @throws IllegalArgumentException if array is null
|
||||
* @throws IllegalArgumentException if any element in the array is null
|
||||
@ -117,7 +117,7 @@ public class SwitchTransformer implements Transformer, Serializable {
|
||||
*
|
||||
* @param predicates array of predicates, not cloned, no nulls
|
||||
* @param transformers matching array of transformers, not cloned, no nulls
|
||||
* @param defaultTransformer the transformer to use if no match, null means nop
|
||||
* @param defaultTransformer the transformer to use if no match, null means return null
|
||||
*/
|
||||
public SwitchTransformer(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer) {
|
||||
super();
|
||||
|
Loading…
x
Reference in New Issue
Block a user