ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Collections/EmptyNavigableSet.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Collections/EmptyNavigableSet.java (file contents):
Revision 1.1 by jsr166, Wed Sep 9 22:33:33 2015 UTC vs.
Revision 1.3 by jsr166, Mon Feb 8 22:13:07 2016 UTC

# Line 284 | Line 284 | public class EmptyNavigableSet {
284                      navigableSet.subSet(last, true, first, false);
285                  },
286                  IllegalArgumentException.class, description
287 <                + ": Must throw IllegalArgumentException when fromElement is not less then then toElement.");
287 >                + ": Must throw IllegalArgumentException when fromElement is not less than toElement.");
288  
289          navigableSet.subSet(first, true, last, false);
290      }
# Line 301 | Line 301 | public class EmptyNavigableSet {
301  
302          // slightly smaller
303          NavigableSet ns = subSet.subSet(first, false, last, false);
304 <        // slight exapansion
304 >        // slight expansion
305          assertThrows(() -> {
306              ns.subSet(first, true, last, true);
307          },
# Line 322 | Line 322 | public class EmptyNavigableSet {
322          // slightly smaller
323          NavigableSet ns = subSet.headSet(BigInteger.ONE, false);
324  
325 <        // slight exapansion
325 >        // slight expansion
326          assertThrows(() -> {
327              ns.headSet(BigInteger.ONE, true);
328          },
# Line 343 | Line 343 | public class EmptyNavigableSet {
343          // slightly smaller
344          NavigableSet ns = subSet.tailSet(BigInteger.ONE, false);
345  
346 <        // slight exapansion
346 >        // slight expansion
347          assertThrows(() -> {
348              ns.tailSet(BigInteger.ONE, true);
349          },

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines