hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject [11/52] [partial] hbase-site git commit: Published site at 26a94844f533b95db1f0a58d6a7cc3dc4a7a7098.
Date Sun, 05 Feb 2017 15:49:33 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/62e361eb/apidocs/src-html/org/apache/hadoop/hbase/errorhandling/ForeignException.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/errorhandling/ForeignException.html
b/apidocs/src-html/org/apache/hadoop/hbase/errorhandling/ForeignException.html
index a746bcc..ab67bc0 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/errorhandling/ForeignException.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/errorhandling/ForeignException.html
@@ -189,7 +189,7 @@
 <span class="sourceLineNo">181</span>   *         the sender).<a name="line.181"></a>
 <span class="sourceLineNo">182</span>   */<a name="line.182"></a>
 <span class="sourceLineNo">183</span>  private static StackTraceElement[] toStackTrace(List&lt;StackTraceElementMessage&gt;
traceList) {<a name="line.183"></a>
-<span class="sourceLineNo">184</span>    if (traceList == null || traceList.size()
== 0) {<a name="line.184"></a>
+<span class="sourceLineNo">184</span>    if (traceList == null || traceList.isEmpty())
{<a name="line.184"></a>
 <span class="sourceLineNo">185</span>      return new StackTraceElement[0]; //
empty array<a name="line.185"></a>
 <span class="sourceLineNo">186</span>    }<a name="line.186"></a>
 <span class="sourceLineNo">187</span>    StackTraceElement[] trace = new StackTraceElement[traceList.size()];<a
name="line.187"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/62e361eb/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html
b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html
index bb0976f..52dbaf6 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html
@@ -185,7 +185,7 @@
 <span class="sourceLineNo">177</span>                                       
    " can only be used with EQUAL and NOT_EQUAL");<a name="line.177"></a>
 <span class="sourceLineNo">178</span>      }<a name="line.178"></a>
 <span class="sourceLineNo">179</span>    }<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    ArrayList&lt;Object&gt; arguments
= new ArrayList&lt;Object&gt;();<a name="line.180"></a>
+<span class="sourceLineNo">180</span>    ArrayList&lt;Object&gt; arguments
= new ArrayList&lt;Object&gt;(2);<a name="line.180"></a>
 <span class="sourceLineNo">181</span>    arguments.add(compareOp);<a name="line.181"></a>
 <span class="sourceLineNo">182</span>    arguments.add(comparator);<a name="line.182"></a>
 <span class="sourceLineNo">183</span>    return arguments;<a name="line.183"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/62e361eb/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html
index bb0976f..52dbaf6 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html
@@ -185,7 +185,7 @@
 <span class="sourceLineNo">177</span>                                       
    " can only be used with EQUAL and NOT_EQUAL");<a name="line.177"></a>
 <span class="sourceLineNo">178</span>      }<a name="line.178"></a>
 <span class="sourceLineNo">179</span>    }<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    ArrayList&lt;Object&gt; arguments
= new ArrayList&lt;Object&gt;();<a name="line.180"></a>
+<span class="sourceLineNo">180</span>    ArrayList&lt;Object&gt; arguments
= new ArrayList&lt;Object&gt;(2);<a name="line.180"></a>
 <span class="sourceLineNo">181</span>    arguments.add(compareOp);<a name="line.181"></a>
 <span class="sourceLineNo">182</span>    arguments.add(comparator);<a name="line.182"></a>
 <span class="sourceLineNo">183</span>    return arguments;<a name="line.183"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/62e361eb/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html
index f44ae45..1293a7d 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html
@@ -69,7 +69,7 @@
 <span class="sourceLineNo">061</span>  }<a name="line.61"></a>
 <span class="sourceLineNo">062</span><a name="line.62"></a>
 <span class="sourceLineNo">063</span>  public static Filter createFilterFromArguments(ArrayList&lt;byte
[]&gt; filterArguments) {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    Preconditions.checkArgument(filterArguments.size()
== 0,<a name="line.64"></a>
+<span class="sourceLineNo">064</span>    Preconditions.checkArgument(filterArguments.isEmpty(),<a
name="line.64"></a>
 <span class="sourceLineNo">065</span>                                "Expected
0 but got: %s", filterArguments.size());<a name="line.65"></a>
 <span class="sourceLineNo">066</span>    return new FirstKeyOnlyFilter();<a
name="line.66"></a>
 <span class="sourceLineNo">067</span>  }<a name="line.67"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/62e361eb/apidocs/src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
index 3703791..d1dabd3 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
@@ -83,7 +83,7 @@
 <span class="sourceLineNo">075</span>  }<a name="line.75"></a>
 <span class="sourceLineNo">076</span>  <a name="line.76"></a>
 <span class="sourceLineNo">077</span>  public static Filter createFilterFromArguments(ArrayList&lt;byte
[]&gt; filterArguments) {<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    Preconditions.checkArgument((filterArguments.size()
== 0 || filterArguments.size() == 1),<a name="line.78"></a>
+<span class="sourceLineNo">078</span>    Preconditions.checkArgument((filterArguments.isEmpty()
|| filterArguments.size() == 1),<a name="line.78"></a>
 <span class="sourceLineNo">079</span>                                "Expected:
0 or 1 but got: %s", filterArguments.size());<a name="line.79"></a>
 <span class="sourceLineNo">080</span>    KeyOnlyFilter filter = new KeyOnlyFilter();<a
name="line.80"></a>
 <span class="sourceLineNo">081</span>    if (filterArguments.size() == 1) {<a
name="line.81"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/62e361eb/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html
b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html
index a1d06ab..e5afc32 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html
@@ -256,7 +256,7 @@
 <span class="sourceLineNo">248</span>   * @return the ranges after sort and merge.<a
name="line.248"></a>
 <span class="sourceLineNo">249</span>   */<a name="line.249"></a>
 <span class="sourceLineNo">250</span>  public static List&lt;RowRange&gt;
sortAndMerge(List&lt;RowRange&gt; ranges) {<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    if (ranges.size() == 0) {<a name="line.251"></a>
+<span class="sourceLineNo">251</span>    if (ranges.isEmpty()) {<a name="line.251"></a>
 <span class="sourceLineNo">252</span>      throw new IllegalArgumentException("No
ranges found.");<a name="line.252"></a>
 <span class="sourceLineNo">253</span>    }<a name="line.253"></a>
 <span class="sourceLineNo">254</span>    List&lt;RowRange&gt; invalidRanges
= new ArrayList&lt;RowRange&gt;();<a name="line.254"></a>
@@ -399,7 +399,7 @@
 <span class="sourceLineNo">391</span>      throwExceptionForInvalidRanges(invalidRanges,
true);<a name="line.391"></a>
 <span class="sourceLineNo">392</span>    }<a name="line.392"></a>
 <span class="sourceLineNo">393</span>    // If no valid ranges found, throw the
exception<a name="line.393"></a>
-<span class="sourceLineNo">394</span>    if(newRanges.size() == 0) {<a name="line.394"></a>
+<span class="sourceLineNo">394</span>    if(newRanges.isEmpty()) {<a name="line.394"></a>
 <span class="sourceLineNo">395</span>      throw new IllegalArgumentException("No
valid ranges found.");<a name="line.395"></a>
 <span class="sourceLineNo">396</span>    }<a name="line.396"></a>
 <span class="sourceLineNo">397</span>    return newRanges;<a name="line.397"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/62e361eb/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html
index a1d06ab..e5afc32 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html
@@ -256,7 +256,7 @@
 <span class="sourceLineNo">248</span>   * @return the ranges after sort and merge.<a
name="line.248"></a>
 <span class="sourceLineNo">249</span>   */<a name="line.249"></a>
 <span class="sourceLineNo">250</span>  public static List&lt;RowRange&gt;
sortAndMerge(List&lt;RowRange&gt; ranges) {<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    if (ranges.size() == 0) {<a name="line.251"></a>
+<span class="sourceLineNo">251</span>    if (ranges.isEmpty()) {<a name="line.251"></a>
 <span class="sourceLineNo">252</span>      throw new IllegalArgumentException("No
ranges found.");<a name="line.252"></a>
 <span class="sourceLineNo">253</span>    }<a name="line.253"></a>
 <span class="sourceLineNo">254</span>    List&lt;RowRange&gt; invalidRanges
= new ArrayList&lt;RowRange&gt;();<a name="line.254"></a>
@@ -399,7 +399,7 @@
 <span class="sourceLineNo">391</span>      throwExceptionForInvalidRanges(invalidRanges,
true);<a name="line.391"></a>
 <span class="sourceLineNo">392</span>    }<a name="line.392"></a>
 <span class="sourceLineNo">393</span>    // If no valid ranges found, throw the
exception<a name="line.393"></a>
-<span class="sourceLineNo">394</span>    if(newRanges.size() == 0) {<a name="line.394"></a>
+<span class="sourceLineNo">394</span>    if(newRanges.isEmpty()) {<a name="line.394"></a>
 <span class="sourceLineNo">395</span>      throw new IllegalArgumentException("No
valid ranges found.");<a name="line.395"></a>
 <span class="sourceLineNo">396</span>    }<a name="line.396"></a>
 <span class="sourceLineNo">397</span>    return newRanges;<a name="line.397"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/62e361eb/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html
b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html
index bc1d9db..4cb4490 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html
@@ -78,7 +78,7 @@
 <span class="sourceLineNo">070</span><a name="line.70"></a>
 <span class="sourceLineNo">071</span>  @Override<a name="line.71"></a>
 <span class="sourceLineNo">072</span>  public ReturnCode filterKeyValue(Cell
kv) {<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    if (sortedPrefixes.size() == 0) {<a
name="line.73"></a>
+<span class="sourceLineNo">073</span>    if (sortedPrefixes.isEmpty()) {<a
name="line.73"></a>
 <span class="sourceLineNo">074</span>      return ReturnCode.INCLUDE;<a name="line.74"></a>
 <span class="sourceLineNo">075</span>    } else {<a name="line.75"></a>
 <span class="sourceLineNo">076</span>      return filterColumn(kv);<a name="line.76"></a>


Mime
View raw message