Skip to content

Commit

Permalink
HBASE-28512 Update error prone to 2.26.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Apache9 committed Apr 19, 2024
1 parent a34b4bc commit d46ea34
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

import javax.servlet.http.HttpServletRequest;
Expand Down Expand Up @@ -94,7 +95,7 @@ public void testRequestQuoting() throws Exception {
quoter.getParameterValues("x"));

Mockito.doReturn(null).when(mockReq).getParameterValues("x");
assertArrayEquals("Test that missing parameters dont cause NPE for array", null,
assertNull("Test that missing parameters dont cause NPE for array",
quoter.getParameterValues("x"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public void testComparator() {
b = RegionInfoBuilder.newBuilder(t).setStartKey(midway).build();
assertTrue(a.compareTo(b) < 0);
assertTrue(b.compareTo(a) > 0);
assertEquals(a, a);
assertTrue(a.equals(a));
assertEquals(0, a.compareTo(a));
a = RegionInfoBuilder.newBuilder(t).setStartKey(Bytes.toBytes("a"))
.setEndKey(Bytes.toBytes("d")).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ public void testDeleteFamily() throws Exception {

get = new TGet(wrap(rowName));
result = handler.get(table, get);
assertArrayEquals(null, result.getRow());
assertNull(result.getRow());
assertEquals(0, result.getColumnValuesSize());
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@
-->
<checkstyle.version>8.29</checkstyle.version>
<exec.maven.version>3.1.0</exec.maven.version>
<error-prone.version>2.16</error-prone.version>
<error-prone.version>2.26.1</error-prone.version>
<jamon.plugin.version>2.4.2</jamon.plugin.version>
<lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
<maven.antrun.version>1.8</maven.antrun.version>
Expand Down

0 comments on commit d46ea34

Please sign in to comment.