sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cheol...@apache.org
Subject git commit: SQOOP-865: Client request cache is incorrectly setting the framework validations
Date Wed, 06 Feb 2013 21:16:24 GMT
Updated Branches:
  refs/heads/sqoop2 727e6f198 -> 25c785a4a


SQOOP-865: Client request cache is incorrectly setting the framework validations

(Jarcec Cecho via Cheolsoo Park)


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

Branch: refs/heads/sqoop2
Commit: 25c785a4a52f674169b7901f77e4f13b8517e2de
Parents: 727e6f1
Author: Cheolsoo Park <cheolsoo@apache.org>
Authored: Wed Feb 6 13:14:09 2013 -0800
Committer: Cheolsoo Park <cheolsoo@apache.org>
Committed: Wed Feb 6 13:14:09 2013 -0800

----------------------------------------------------------------------
 .../org/apache/sqoop/client/core/RequestCache.java |   24 +++++----------
 1 files changed, 8 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/25c785a4/client/src/main/java/org/apache/sqoop/client/core/RequestCache.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/core/RequestCache.java b/client/src/main/java/org/apache/sqoop/client/core/RequestCache.java
index a5d70c5..808b9f1 100644
--- a/client/src/main/java/org/apache/sqoop/client/core/RequestCache.java
+++ b/client/src/main/java/org/apache/sqoop/client/core/RequestCache.java
@@ -105,10 +105,8 @@ public final class RequestCache {
     Validation connector = bean.getConnectorValidation();
     Validation framework = bean.getFrameworkValidation();
 
-    FormUtils.applyValidation(connection.getConnectorPart().getForms(),
-      connector);
-    FormUtils.applyValidation(connection.getFrameworkPart().getForms(),
-      connector);
+    FormUtils.applyValidation(connection.getConnectorPart().getForms(), connector);
+    FormUtils.applyValidation(connection.getFrameworkPart().getForms(), framework);
 
     Long id = bean.getId();
     if(id != null) {
@@ -134,10 +132,8 @@ public final class RequestCache {
     Validation connector = bean.getConnectorValidation();
     Validation framework = bean.getFrameworkValidation();
 
-    FormUtils.applyValidation(connection.getConnectorPart().getForms(),
-      connector);
-    FormUtils.applyValidation(connection.getFrameworkPart().getForms(),
-      connector);
+    FormUtils.applyValidation(connection.getConnectorPart().getForms(), connector);
+    FormUtils.applyValidation(connection.getFrameworkPart().getForms(), framework);
 
     Long id = bean.getId();
     if(id != null) {
@@ -161,10 +157,8 @@ public final class RequestCache {
     Validation connector = bean.getConnectorValidation();
     Validation framework = bean.getFrameworkValidation();
 
-    FormUtils.applyValidation(job.getConnectorPart().getForms(),
-      connector);
-    FormUtils.applyValidation(job.getFrameworkPart().getForms(),
-      connector);
+    FormUtils.applyValidation(job.getConnectorPart().getForms(), connector);
+    FormUtils.applyValidation(job.getFrameworkPart().getForms(), framework);
 
     Long id = bean.getId();
     if(id != null) {
@@ -188,10 +182,8 @@ public final class RequestCache {
     Validation connector = bean.getConnectorValidation();
     Validation framework = bean.getFrameworkValidation();
 
-    FormUtils.applyValidation(job.getConnectorPart().getForms(),
-      connector);
-    FormUtils.applyValidation(job.getFrameworkPart().getForms(),
-      connector);
+    FormUtils.applyValidation(job.getConnectorPart().getForms(), connector);
+    FormUtils.applyValidation(job.getFrameworkPart().getForms(), framework);
 
     Long id = bean.getId();
     if(id != null) {


Mime
View raw message