garydgregory commented on a change in pull request #492: 
style(org.apache.commons.lang3): rename method from removeAllOccurenc…
URL: https://github.com/apache/commons-lang/pull/492#discussion_r380219855
 
 

 ##########
 File path: src/main/java/org/apache/commons/lang3/ArrayUtils.java
 ##########
 @@ -5322,7 +5322,7 @@ static Object removeAll(final Object array, final int... 
indices) {
      * @return A new array containing the existing elements except the 
occurrences of the specified element.
      * @since 3.5
      */
-    public static byte[] removeAllOccurences(final byte[] array, final byte 
element) {
+    public static byte[] removeAllOccurrences(final byte[] array, final byte 
element) {
 
 Review comment:
   -1 You cannot delete a public API as this will break binary compatibility. 
You _can_ create a new API with the corrected name and then have the old API 
delegate to the new one.

----------------------------------------------------------------
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