PHOENIX-4189 Introduce a class that wraps the Map of primary key data (addendum)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/7fc14f91
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/7fc14f91
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/7fc14f91

Branch: refs/heads/4.x-HBase-1.2
Commit: 7fc14f91d12c57354b763c25a955c8f08cf7ea99
Parents: cf6c5e7
Author: James Taylor <jtay...@salesforce.com>
Authored: Mon Sep 18 16:30:19 2017 -0700
Committer: James Taylor <jtay...@salesforce.com>
Committed: Thu Sep 21 11:16:34 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/7fc14f91/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
----------------------------------------------------------------------
diff --git 
a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java 
b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
index b5e9dd9..7773997 100644
--- a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
+++ b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
@@ -77,7 +77,7 @@ public class PrimaryKeyData implements Serializable{
     }
 
     public static PrimaryKeyData deserialize(InputStream input) throws 
IOException, ClassNotFoundException {
-        try (LookAheadObjectInputStream ois = new 
LookAheadObjectInputStream((InputStream) input)) {
+        try (LookAheadObjectInputStream ois = new 
LookAheadObjectInputStream(input)) {
             Object obj = ois.readObject();
             if (obj instanceof PrimaryKeyData) {
                 return (PrimaryKeyData) obj;

Reply via email to