Commit Graph

3239 Commits

Author SHA1 Message Date
dota17 c423a9964f [COLLECTIONS-674] Add drain method to CollectionUtils (#91)
* add removeRange&removeCount to CollectionUtils

* modify removeRange&removeCount
2019-11-01 11:36:24 -04:00
Gary Gregory 5a797cd62f Add three test cases in UnmodifiableQueueTest #105. 2019-11-01 11:33:07 -04:00
dota17 210e3f9076 Add three test cases in UnmodifiableQueueTest (#105) 2019-11-01 11:32:45 -04:00
Gary Gregory 68bac4bde0 Update some map test cases #104. 2019-11-01 11:31:37 -04:00
dota17 869993da97 Update test cases (#104)
* Add three test cases in HashSetValuedHashMapTest

* Update test cases
2019-11-01 11:30:54 -04:00
Gary Gregory c6f4b84c7d Add a test case for AbstractMultiValuedMapTest testToString() #100. 2019-10-31 09:48:16 -04:00
dota17 455ebc0aec Add a test case AbstractMultiValuedMapTest testToString() (#100)
* Add a test case AbstractMultiValuedMapTest testToString()

* Update a test case AbstractMultiValuedMapTest testToString()
2019-10-31 08:43:17 -04:00
Gary Gregory ccb5e1a602 TransformedSortedBagTest should work with TransformedSortedBag, not
TransformedBag #98.
2019-10-30 11:25:01 -04:00
dota17 448c99e35e the before testcase of testTransformedBag_decorateTransform is test for TransformeddBag.transformedBag not for SortedBag (#98)
just fix it to test SortedBag
2019-10-30 11:23:56 -04:00
Gary Gregory 97b02e64df Update two test cases in AbstractMultiValuedMapTest testPutAll_map1
testPutAll_map2 #97.
2019-10-30 09:19:08 -04:00
dota17 c4de02ddfc Add code AbstractMultiValuedMapTest testPutAll_Map1,testPutAll_Map2 (#97) 2019-10-30 09:18:37 -04:00
Gary Gregory 3d7f5ba67e Add two test cases in UnmodifiableQueueTest #96. 2019-10-30 09:17:39 -04:00
dota17 543e8416f7 add two testcases in UnmodifiableQueueTest (#96) 2019-10-30 09:16:31 -04:00
Gary Gregory 8f3cde34a9 Add junit for add, remove, setCount and entrySet in the
UnmodifiableMultiSetTest #95.
2019-10-30 09:06:48 -04:00
dota17 5db17ee055 add junit for add, remove, setCount and entrySet in the UnmodifiableMultiSetTest (#95) 2019-10-30 09:04:26 -04:00
Gary Gregory a6b35a4970 Test subMap and tailMap #94. 2019-10-29 10:22:44 -04:00
dota17 82cfa665a0 Test subMap and tailMap (#94)
* add a junit for the HeadMap in the UnmodifiableSortedMapTest

* add junit for the subMap and tailMap in the UnmodifiableSortedMapTest
2019-10-29 10:21:36 -04:00
Gary Gregory d29377dbfb Tweak code comment. 2019-10-28 14:04:57 -04:00
dota17 66cc90ff1d add a junit for the HeadMap in the UnmodifiableSortedMapTest (#93) 2019-10-28 14:02:59 -04:00
dota17 3bb76c2da1 Add junit for GrowthListTest(int initialCapacity) (#92) 2019-10-24 19:11:40 -04:00
Gary Gregory 6e1443e3b1 [COLLECTIONS-704] Update size to capacity for GrowthList #90. 2019-10-22 21:05:47 -04:00
dota17 c184745990 [COLLECTIONS-704] Update size to capacity for GrowthList (#90) 2019-10-22 15:46:53 -04:00
Gary Gregory 24539d8cd4 Drop Subversion Id keywords. 2019-10-17 17:28:50 -04:00
Gary Gregory 16a7871c7d Drop Subversion Id keywords. 2019-10-17 14:26:04 -04:00
Gary Gregory 92ffe081ad Fix typos in release notes and Javadoc for AbstractHashedMap and
AbstractHashedMapTest #88.
2019-10-17 08:45:08 -04:00
dota17 32f2d4a832 find and fix fixtypo (#88) 2019-10-17 08:40:55 -04:00
Trey Woodlief bbedeea782 Added additional tests for map classes based on mutation results (#87) 2019-10-12 15:05:56 -04:00
Gary Gregory ea548e0172 [COLLECTIONS-729] Credit for "Add test cases to IteratorUtilsTest #86." 2019-09-30 09:25:01 -04:00
Gary Gregory 99ffb47b6b Credit for "Add test cases to IteratorUtilsTest #86." 2019-09-30 09:24:09 -04:00
Gary Gregory a2c789233b Formatting after applying patch. 2019-09-30 09:22:47 -04:00
dota17 c86c01a2e2 Add Testcases (#86) 2019-09-30 09:15:02 -04:00
Gary Gregory 3fa9e323af [COLLECTIONS-679] Using existing class in example given in Javadocs.
#85.
2019-09-25 10:45:43 -04:00
Mikko Maunu f72f1ae330 [COLLECTIONS-679] Using existing class in example given in Javadocs. (#85) 2019-09-25 10:42:44 -04:00
Gary Gregory 8f39771cb5 Remove unused import. 2019-09-14 15:28:32 -04:00
Gary Gregory 6834b1791c Better error message (also shorter and makes Checkstyle happy.) 2019-09-14 15:28:11 -04:00
Gary Gregory a2317f6299 More lambdas, less boilerplate. 2019-09-14 15:25:22 -04:00
Pascal Schumacher b29bae05ae Travis CI: Allow builds on openjdk-ea to fail. 2019-09-13 10:22:48 +02:00
Gary Gregory 7b71693458 Escape ampersands in Javadoc. 2019-09-12 20:23:16 -04:00
Gary Gregory eb0e5411ac [COLLECTIONS-727] A potential misleading comment #82. 2019-08-23 16:14:58 -04:00
XZ-X b3499dab79 [Collections-727] fix the potential misleading comment: change the index boundary from > size() to >= size() (#82) 2019-08-23 16:11:30 -04:00
Gary Gregory 1118a1ccdd Merge branch 'master' of http://gitbox.apache.org/repos/asf/commons-collections.git 2019-08-18 09:57:57 -07:00
Gary Gregory 041fdadb42 More tests. 2019-08-18 09:57:36 -07:00
Sebb 5e13762caa git-wip-us => gitbox 2019-08-16 18:33:54 +01:00
Gary Gregory 616dfe5314 Add missing test case. 2019-08-16 08:12:26 -07:00
Gary Gregory e0b5e624a7 Add missing test case. 2019-08-15 13:09:28 -07:00
Gary Gregory b1511c79aa [COLLECTIONS-726] Add lambdas function to provide default values in
MapUtils. Implementation based on the idea of PR #81. Closes #81.

- The implementation is much more concise than the PR.
- Sort methods.
- Line length 120.
- Close HTML tags in Javadoc.
2019-08-14 15:11:56 -07:00
Gary Gregory 77c4cee343 Oracle 8 is discontinued in Travis. 2019-08-11 14:48:18 -04:00
Sebb fec2e657cc Explain why needed 2019-08-06 23:01:18 +01:00
lysannef ea07264042 Adding power Support + fixed changes to eol (#79)
Signed-off-by: lysannef <lysannef@us.ibm.com>
2019-08-05 08:04:05 -04:00
Sebb f823985339 More fixups to pom; rebuild download page 2019-08-02 15:39:21 +01:00