ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [3/3] incubator-ignite git commit: # IGNITE-32 WIP: Implemented table fields reordering. Added option to reveal output folder in system file manager. Minor UI tweaks.
Date Thu, 08 Jan 2015 16:31:42 GMT
# IGNITE-32 WIP: Implemented table fields reordering. Added option to reveal output folder
in system file manager. Minor UI tweaks.


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

Branch: refs/heads/ignite-32
Commit: 2238d6fd4113028109fd41bc45f595cfdd086b2a
Parents: 8103d87
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Thu Jan 8 23:31:40 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Thu Jan 8 23:31:40 2015 +0700

----------------------------------------------------------------------
 .../org/apache/ignite/schema/pojo/PojoCodeGenerator.java     | 4 ++--
 .../src/main/java/org/apache/ignite/schema/ui/Controls.java  | 8 ++++----
 .../main/java/org/apache/ignite/schema/ui/MessageBox.java    | 3 +--
 .../main/java/org/apache/ignite/schema/ui/NamingDialog.java  | 3 ++-
 .../main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java | 7 ++++---
 5 files changed, 13 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2238d6fd/modules/schema-load/src/main/java/org/apache/ignite/schema/pojo/PojoCodeGenerator.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/pojo/PojoCodeGenerator.java
b/modules/schema-load/src/main/java/org/apache/ignite/schema/pojo/PojoCodeGenerator.java
index e1b20bb..b98b629 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/pojo/PojoCodeGenerator.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/pojo/PojoCodeGenerator.java
@@ -59,7 +59,7 @@ public class PojoCodeGenerator {
     private static void add3(Collection<String> src, String line) {
         src.add(TAB3 + line);
     }
-    
+
     /**
      * Generate java class code.
      *
@@ -123,7 +123,7 @@ public class PojoCodeGenerator {
 
             Iterator<GridCacheQueryTypeDescriptor> it = descs.iterator();
 
-            while(it.hasNext()) {
+            while (it.hasNext()) {
                 GridCacheQueryTypeDescriptor desc = it.next();
 
                 add2(src, desc.getJavaType().getSimpleName() + " " + desc.getJavaName() +
(it.hasNext() ? "," : ""));

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2238d6fd/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java
index 061ffa1..99a60b3 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/Controls.java
@@ -121,9 +121,9 @@ public class Controls {
      *
      * @param top Optional top control.
      * @param center Optional center control.
-     * @param bottom  Optional bottom control.
-     * @param left  Optional left control.
-     * @param right  Optional right control.
+     * @param bottom Optional bottom control.
+     * @param left Optional left control.
+     * @param right Optional right control.
      * @return New {@code BorderPane} instance.
      */
     public static BorderPane borderPane(Node top, Node center, Node bottom, Node left, Node
right) {
@@ -177,7 +177,7 @@ public class Controls {
      * @param btns Buttons that will be added to pane.
      * @return New {@code HBox} instance with buttons.
      */
-    public static Pane buttonsPane(Button ... btns) {
+    public static Pane buttonsPane(Button... btns) {
         HBox hb = hBox(10, true, btns);
         hb.setAlignment(Pos.BOTTOM_RIGHT);
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2238d6fd/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/MessageBox.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/MessageBox.java
b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/MessageBox.java
index cc14783..a6789da 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/MessageBox.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/MessageBox.java
@@ -168,7 +168,6 @@ public class MessageBox extends Stage {
         showDialog(owner, MessageType.WARN, msg);
     }
 
-
     /**
      * Show error dialog.
      *
@@ -177,6 +176,6 @@ public class MessageBox extends Stage {
      * @param e Optional exception to show.
      */
     public static void errorDialog(Stage owner, String msg, Throwable e) {
-        showDialog(owner, MessageType.ERROR, (e != null && e.getMessage() != null)
? msg + "\n" + e.getMessage()  : msg);
+        showDialog(owner, MessageType.ERROR, (e != null && e.getMessage() != null)
? msg + "\n" + e.getMessage() : msg);
     }
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2238d6fd/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/NamingDialog.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/NamingDialog.java
b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/NamingDialog.java
index 7b70820..e4269ee 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/NamingDialog.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/NamingDialog.java
@@ -62,4 +62,5 @@ public class NamingDialog extends Stage {
         setY(owner.getY() + owner.getHeight() / 4);
 
         showAndWait();
-    }}
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2238d6fd/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
index 52ac1cb..5547fdf 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
@@ -244,7 +244,7 @@ public class SchemaLoadApp extends Application {
                 for (Map.Entry<String, Map<String, List<Field>>> schema
: fields.entrySet()) {
                     CheckBoxTreeItem<String> schemaItem = new CheckBoxTreeItem<>(schema.getKey());
 
-                    for(String tbl : schema.getValue().keySet())
+                    for (String tbl : schema.getValue().keySet())
                         schemaItem.getChildren().add(new CheckBoxTreeItem<>(tbl));
 
                     rootItem.getChildren().add(schemaItem);
@@ -500,7 +500,7 @@ public class SchemaLoadApp extends Application {
             try {
                 URL u = new URL("jar:" + drvJar.toURI() + "!/");
 
-                URLClassLoader ucl = URLClassLoader.newInstance(new URL[] { u });
+                URLClassLoader ucl = URLClassLoader.newInstance(new URL[] {u});
 
                 drv = (Driver)Class.forName(drvCls, true, ucl).newInstance();
 
@@ -855,7 +855,8 @@ public class SchemaLoadApp extends Application {
 
                 appCls.getDeclaredMethod("setDockIconImage", Image.class)
                     .invoke(osxApp, fromFXImage(image("ignite", 128), null));
-            } catch (Throwable ignore) {
+            }
+            catch (Throwable ignore) {
                 // No-op.
             }
         }


Mime
View raw message