[GitHub] [commons-collections] tongxin97 commented on pull request #189: [COLLECTIONS-768] Fix flaky Flat3MapTest.testEntrySet()

2020-12-05 Thread GitBox


tongxin97 commented on pull request #189:
URL: 
https://github.com/apache/commons-collections/pull/189#issuecomment-739309631


   @garydgregory thanks for taking a look. Do you think this is a valid fix?



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:
us...@infra.apache.org




[GitHub] [commons-collections] tongxin97 commented on pull request #189: [COLLECTIONS-768] Fix flaky Flat3MapTest.testEntrySet()

2020-10-09 Thread GitBox


tongxin97 commented on pull request #189:
URL: 
https://github.com/apache/commons-collections/pull/189#issuecomment-705861916







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:
us...@infra.apache.org




[GitHub] [commons-collections] tongxin97 commented on pull request #189: [COLLECTIONS-768] Fix flaky Flat3MapTest.testEntrySet()

2020-10-08 Thread GitBox


tongxin97 commented on pull request #189:
URL: 
https://github.com/apache/commons-collections/pull/189#issuecomment-705869080


   Hi again Bruno @kinow Thanks for the very thorough reply. 
   
   I see what you are trying to do in the code segment. Based on [the Java 
Doc](https://commons.apache.org/proper/commons-collections/apidocs/org/apache/commons/collections4/map/Flat3Map.html),
 I think like HashMap, Flat3Map itself is not supposed to preserve any order in 
its entry set. So under this test, Flat3Map should behave like HashMap and the 
current fix should be good. I hope another developer can take a look and 
confirm this :)



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:
us...@infra.apache.org




[GitHub] [commons-collections] tongxin97 commented on pull request #189: [COLLECTIONS-768] Fix flaky Flat3MapTest.testEntrySet()

2020-10-08 Thread GitBox


tongxin97 commented on pull request #189:
URL: 
https://github.com/apache/commons-collections/pull/189#issuecomment-705861916


   @kinow Thanks for taking a look. I'm under the impression that a regular 
LinkedHashMap or a TreeMap with custom comparator could preserve insertion 
order. 
   Btw I'm new to contributing to Apache projects, so for logistics, are you 
(or someone else from your team) going to accept and merge this PR? Is there 
anything more you need from my side?



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:
us...@infra.apache.org