Skip to content

Commit

Permalink
fix moar warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stoty committed Jul 15, 2024
1 parent 1ccfecb commit 3f9243d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ private Result[] getResults(String spec) throws IOException {
public boolean exists(Get get) throws IOException {
LOG.warn("exists() is really get(), just use get()");
Result result = get(get);
return result != null && !(result.isEmpty());
return result != null && !result.isEmpty();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ public void testLongLivedScan() throws Exception {
REST_TEST_UTIL.shutdownServletContainer();

// Set the ConnectionCache timeout to trigger halfway through the trials
TEST_UTIL.getConfiguration().setLong(RESTServlet.MAX_IDLETIME, (numTrials / 2l) * trialPause);
TEST_UTIL.getConfiguration().setLong(RESTServlet.MAX_IDLETIME, (numTrials / 2L) * trialPause);
TEST_UTIL.getConfiguration().setLong(RESTServlet.CLEANUP_INTERVAL, cleanUpInterval);

// Start the Rest Servlet container
Expand Down

0 comments on commit 3f9243d

Please sign in to comment.