You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by kt...@apache.org on 2017/10/19 16:38:35 UTC
[fluo] branch master updated: Remove redundant call whos value is
not used anyways
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 <ke...@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" <co...@fluo.apache.org>'].