ASF Bugzilla – Attachment 30448 Details for
Bug 55108
Wasted work in "AbstractReplicatedMap.excludeFromSet"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch.diff (text/plain), 699 bytes, created by
Adrian Nistor
on 2013-06-17 18:12:00 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Adrian Nistor
Created:
2013-06-17 18:12:00 UTC
Size:
699 bytes
patch
obsolete
>Index: java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java >=================================================================== >--- java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java (revision 1493861) >+++ java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java (working copy) >@@ -746,7 +746,7 @@ > ArrayList<Member> result = new ArrayList<>(); > for (int i=0; i<set.length; i++ ) { > boolean include = true; >- for (int j=0; j<mbrs.length; j++ ) >+ for (int j=0; j<mbrs.length && include; j++ ) > if ( mbrs[j].equals(set[i]) ) include = false; > if ( include ) result.add(set[i]); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 55108
: 30448