http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21347dff/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/BasicMemStoreCompactionStrategy.html
----------------------------------------------------------------------
diff --git 
a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/BasicMemStoreCompactionStrategy.html
 
b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/BasicMemStoreCompactionStrategy.html
index c24fb8f..d1de577 100644
--- 
a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/BasicMemStoreCompactionStrategy.html
+++ 
b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/BasicMemStoreCompactionStrategy.html
@@ -37,18 +37,22 @@
 <span class="sourceLineNo">029</span> */<a name="line.29"></a>
 <span class="sourceLineNo">030</span>@InterfaceAudience.Private<a 
name="line.30"></a>
 <span class="sourceLineNo">031</span>public class 
BasicMemStoreCompactionStrategy extends MemStoreCompactionStrategy{<a 
name="line.31"></a>
-<span class="sourceLineNo">032</span><a name="line.32"></a>
-<span class="sourceLineNo">033</span>  private static final String name = 
"BASIC";<a name="line.33"></a>
-<span class="sourceLineNo">034</span><a name="line.34"></a>
-<span class="sourceLineNo">035</span>  public 
BasicMemStoreCompactionStrategy(Configuration conf, String cfName) {<a 
name="line.35"></a>
-<span class="sourceLineNo">036</span>    super(conf, cfName);<a 
name="line.36"></a>
-<span class="sourceLineNo">037</span>  }<a name="line.37"></a>
-<span class="sourceLineNo">038</span><a name="line.38"></a>
-<span class="sourceLineNo">039</span>  @Override<a name="line.39"></a>
-<span class="sourceLineNo">040</span>  public Action 
getAction(VersionedSegmentsList versionedList) {<a name="line.40"></a>
-<span class="sourceLineNo">041</span>    return 
simpleMergeOrFlatten(versionedList, name);<a name="line.41"></a>
-<span class="sourceLineNo">042</span>  }<a name="line.42"></a>
-<span class="sourceLineNo">043</span>}<a name="line.43"></a>
+<span class="sourceLineNo">032</span>  private static final String NAME = 
"BASIC";<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>  public 
BasicMemStoreCompactionStrategy(Configuration conf, String cfName) {<a 
name="line.34"></a>
+<span class="sourceLineNo">035</span>    super(conf, cfName);<a 
name="line.35"></a>
+<span class="sourceLineNo">036</span>  }<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span>  @Override<a name="line.38"></a>
+<span class="sourceLineNo">039</span>  public Action 
getAction(VersionedSegmentsList versionedList) {<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    return 
simpleMergeOrFlatten(versionedList, getName());<a name="line.40"></a>
+<span class="sourceLineNo">041</span>  }<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span>  @Override<a name="line.43"></a>
+<span class="sourceLineNo">044</span>  protected String getName() {<a 
name="line.44"></a>
+<span class="sourceLineNo">045</span>    return NAME;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>  }<a name="line.46"></a>
+<span class="sourceLineNo">047</span>}<a name="line.47"></a>
 
 
 

Reply via email to