ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [1/2] incubator-ignite git commit: # IGNITE-330 Added check for empty output folder.
Date Mon, 23 Mar 2015 15:41:57 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-45 0af0baf92 -> efd6cf45a


# IGNITE-330 Added check for empty output folder.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/23217e47
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/23217e47
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/23217e47

Branch: refs/heads/ignite-45
Commit: 23217e4789d1fa3ee651059efc768a3c97410866
Parents: 6d0ff1b
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Mar 23 22:40:45 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Mar 23 22:40:45 2015 +0700

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/schema/ui/SchemaImportApp.java    | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/23217e47/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
----------------------------------------------------------------------
diff --git a/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
b/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
index 3dfc471..79d954d 100644
--- a/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
+++ b/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
@@ -416,6 +416,9 @@ public class SchemaImportApp extends Application {
             return;
         }
 
+        if (checkInput(outFolderTf, true, "Output folder should not be empty!"))
+            return;
+
         lockUI(genLayerPnl, genPnl, prevBtn, nextBtn);
 
         final String outFolder = outFolderTf.getText();


Mime
View raw message