sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject git commit: SQOOP-1019: Sqoop2: Client side caching input forms
Date Fri, 24 May 2013 07:49:45 GMT
Updated Branches:
  refs/heads/sqoop2 94c91efd3 -> 869cfd9f8


SQOOP-1019: Sqoop2: Client side caching input forms

(Vasanth kumar RJ via Jarek Jarcec Cecho)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/869cfd9f
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/869cfd9f
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/869cfd9f

Branch: refs/heads/sqoop2
Commit: 869cfd9f8d4f24cc4ac15986fda1a119fa520eac
Parents: 94c91ef
Author: Jarek Jarcec Cecho <jarcec@apache.org>
Authored: Fri May 24 00:49:03 2013 -0700
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Fri May 24 00:49:03 2013 -0700

----------------------------------------------------------------------
 .../java/org/apache/sqoop/client/SqoopClient.java  |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/869cfd9f/client/src/main/java/org/apache/sqoop/client/SqoopClient.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/SqoopClient.java b/client/src/main/java/org/apache/sqoop/client/SqoopClient.java
index 3253bd5..9c7b351 100644
--- a/client/src/main/java/org/apache/sqoop/client/SqoopClient.java
+++ b/client/src/main/java/org/apache/sqoop/client/SqoopClient.java
@@ -135,11 +135,11 @@ public class SqoopClient {
    */
   public MConnector getConnector(long cid) {
     if(connectors.containsKey(cid)) {
-      return connectors.get(cid);
+      return connectors.get(cid).clone(false);
     }
 
     retrieveConnector(cid);
-    return connectors.get(cid);
+    return connectors.get(cid).clone(false);
   }
 
   /**
@@ -195,11 +195,11 @@ public class SqoopClient {
    */
   public MFramework getFramework() {
     if(framework != null) {
-      return framework;
+      return framework.clone(false);
     }
 
     retrieveFramework();
-    return framework;
+    return framework.clone(false);
 
   }
 


Mime
View raw message