Skip to content

Commit

Permalink
Remove dead comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 17, 2021
1 parent bda6a4f commit da03680
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/main/java/org/apache/commons/lang3/Range.java
Expand Up @@ -236,9 +236,6 @@ public int elementCompareTo(final T element) {
return 0;
}

// Element tests
//--------------------------------------------------------------------

/**
* <p>Compares this range to another object to test if they are equal.</p>.
*
Expand Down
6 changes: 0 additions & 6 deletions src/test/java/org/apache/commons/lang3/RangeTest.java
Expand Up @@ -105,7 +105,6 @@ public void testBetweenWithCompare() {
assertFalse(rbstr.contains(""), "should not contain ''");
}

// -----------------------------------------------------------------------
@SuppressWarnings({"rawtypes", "unchecked"})
@Test
public void testComparableConstructors() {
Expand Down Expand Up @@ -149,7 +148,6 @@ public void testContains() {
assertFalse(intRange.contains(25));
}

// -----------------------------------------------------------------------
@Test
public void testContainsRange() {

Expand Down Expand Up @@ -193,7 +191,6 @@ public void testElementCompareTo() {
assertEquals(1, intRange.elementCompareTo(25));
}

// -----------------------------------------------------------------------
@Test
public void testEqualsObject() {
assertEquals(byteRange, byteRange);
Expand Down Expand Up @@ -231,7 +228,6 @@ public void testGetMaximum() {
assertEquals(20d, doubleRange.getMaximum(), 0.00001d);
}

// -----------------------------------------------------------------------
@Test
public void testGetMinimum() {
assertEquals(10, (int) intRange.getMinimum());
Expand Down Expand Up @@ -395,15 +391,13 @@ public void testIsWithCompare() {
assertTrue(ri.contains(11), "should contain 11");
}

// -----------------------------------------------------------------------
@Test
public void testRangeOfChars() {
final Range<Character> chars = Range.between('a', 'z');
assertTrue(chars.contains('b'));
assertFalse(chars.contains('B'));
}

// -----------------------------------------------------------------------
@Test
public void testSerializing() {
SerializationUtils.clone(intRange);
Expand Down

0 comments on commit da03680

Please sign in to comment.