hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-18007 Clean up rest module code
Date Sat, 06 May 2017 14:01:27 GMT
Repository: hbase
Updated Branches:
  refs/heads/master e99ed99be -> 0d0ccc38f


HBASE-18007 Clean up rest module code

Signed-off-by: tedyu <yuzhihong@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0d0ccc38
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0d0ccc38
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0d0ccc38

Branch: refs/heads/master
Commit: 0d0ccc38fe59c555176d73e23595a9b569251329
Parents: e99ed99
Author: QilinCao <cao.qilin@zte.com.cn>
Authored: Sat May 6 16:35:50 2017 +0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Sat May 6 07:01:44 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/rest/model/ScannerModel.java  | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0d0ccc38/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java
----------------------------------------------------------------------
diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java
b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java
index 2098c3d..82ac1d0 100644
--- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java
+++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java
@@ -21,8 +21,6 @@ package org.apache.hadoop.hbase.rest.model;
 
 import java.io.IOException;
 import java.io.Serializable;
-import java.io.StringReader;
-import java.io.StringWriter;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
@@ -473,10 +471,6 @@ public class ScannerModel implements ProtobufMessageHandler, Serializable
{
 
   }
 
-  // The singleton <code>JacksonJaxbJsonProvider</code> instance
-  private static JacksonJaxbJsonProvider jsonProvider;
-  private static final Object jsonProviderLock = new Object();
-
   /**
    * Get the <code>JacksonJaxbJsonProvider</code> instance;
    *


Mime
View raw message