sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hshreedha...@apache.org
Subject git commit: SQOOP-1136. Sqoop2: MBooleanInput should copy persistenceId when cloning.
Date Fri, 12 Jul 2013 23:13:36 GMT
Updated Branches:
  refs/heads/sqoop2 2e196a841 -> 4997f97bc


SQOOP-1136. Sqoop2: MBooleanInput should copy persistenceId when cloning.

(Mengwei Ding via Hari Shreedharan)


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

Branch: refs/heads/sqoop2
Commit: 4997f97bc33b15b269067389365fa6d509b8660c
Parents: 2e196a8
Author: Hari Shreedharan <hshreedharan@apache.org>
Authored: Fri Jul 12 16:12:30 2013 -0700
Committer: Hari Shreedharan <hshreedharan@apache.org>
Committed: Fri Jul 12 16:12:30 2013 -0700

----------------------------------------------------------------------
 common/src/main/java/org/apache/sqoop/model/MBooleanInput.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/4997f97b/common/src/main/java/org/apache/sqoop/model/MBooleanInput.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/sqoop/model/MBooleanInput.java b/common/src/main/java/org/apache/sqoop/model/MBooleanInput.java
index 68142da..da380dd 100644
--- a/common/src/main/java/org/apache/sqoop/model/MBooleanInput.java
+++ b/common/src/main/java/org/apache/sqoop/model/MBooleanInput.java
@@ -74,6 +74,7 @@ public class MBooleanInput extends MInput<Boolean> {
   @Override
   public Object clone(boolean cloneWithValue) {
     MBooleanInput copy = new MBooleanInput(getName(), isSensitive());
+    copy.setPersistenceId(this.getPersistenceId());
     if(cloneWithValue) {
       copy.setValue(getValue());
     }


Mime
View raw message