fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject [fluo] branch master updated: Remove redundant call whos value is not used anyways
Date Thu, 19 Oct 2017 16:38:35 GMT
This is an automated email from the ASF dual-hosted git repository.

kturner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo.git


The following commit(s) were added to refs/heads/master by this push:
     new 5180acb  Remove redundant call whos value is not used anyways
5180acb is described below

commit 5180acb943c55726fd4e223e6fe63026b78221c7
Author: Kenneth <kennethpmcfarland@gmail.com>
AuthorDate: Thu Oct 19 01:08:21 2017 -0700

    Remove redundant call whos value is not used anyways
---
 modules/api/src/main/java/org/apache/fluo/api/data/Bytes.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/api/src/main/java/org/apache/fluo/api/data/Bytes.java b/modules/api/src/main/java/org/apache/fluo/api/data/Bytes.java
index dd79c86..e6f41b1 100644
--- a/modules/api/src/main/java/org/apache/fluo/api/data/Bytes.java
+++ b/modules/api/src/main/java/org/apache/fluo/api/data/Bytes.java
@@ -249,7 +249,6 @@ public final class Bytes implements Comparable<Bytes>, Serializable
{
    */
   private int compareToUnchecked(byte[] bytes, int offset, int len) {
     if (this.length == this.data.length && len == bytes.length) {
-      int res = UnsignedBytes.lexicographicalComparator().compare(this.data, bytes);
       return UnsignedBytes.lexicographicalComparator().compare(this.data, bytes);
     } else {
       int minLen = Math.min(this.length, len);

-- 
To stop receiving notification emails like this one, please contact
['"commits@fluo.apache.org" <commits@fluo.apache.org>'].

Mime
View raw message