Prodigysov commented on a change in pull request #124: [COLLECTIONS-740] Add 
missing @throws comment for SwitchTransformer.switchTransformer.
URL: 
https://github.com/apache/commons-collections/pull/124#discussion_r354595700
 
 

 ##########
 File path: 
src/main/java/org/apache/commons/collections4/functors/SwitchTransformer.java
 ##########
 @@ -51,6 +51,7 @@
      * @return the <code>chained</code> transformer
      * @throws NullPointerException if array is null
      * @throws NullPointerException if any element in the array is null
+     * @throws IllegalArgumentException if predicate and transformer arrays do 
not have the same size
 
 Review comment:
   Agreed. I fixed this and also fixed some other inconsistencies of the @throw 
Javadoc on both sides.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to