]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/Auxiliary.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.db.procore.ui / src / org / simantics / db / procore / ui / Auxiliary.java
index 996c4683fa1cefb8a309df67dcab32694260d17f..b05ff95d26071755a3ce6de610ef93074671ff7f 100644 (file)
@@ -1,45 +1,45 @@
-package org.simantics.db.procore.ui;\r
-\r
-import java.io.File;\r
-\r
-import org.eclipse.swt.widgets.Shell;\r
-import org.simantics.db.exception.InternalException;\r
-import org.simantics.db.procore.ui.internal.UI;\r
-\r
-public class Auxiliary {\r
-    /**\r
-     * @param shell for the user interface.\r
-     * @param exception thrown from server.\r
-     * @return true if server can be started.\r
-     */\r
-    public static boolean beforeStart(Shell shell, File folder) throws InternalException {\r
-        boolean skipPurge = "true".equals(System.getProperty("org.simantics.db.procore.ui.skipPurge"));\r
-        if (skipPurge)\r
-            return true;\r
-        return UI.purge(shell, folder);\r
-    }\r
-    /**\r
-     * @param shell for the user interface.\r
-     * @param exception thrown from server start.\r
-     * @return true if problem with server start was successfully fixed.\r
-     */\r
-    public static boolean handleStart(Shell shell, InternalException exception) throws InternalException {\r
-        return UI.handleStart(shell, exception);\r
-    }\r
-    /**\r
-     * @param shell for the user interface.\r
-     * @param folder of the database.\r
-     * @return true if deletion was successful.\r
-     */\r
-    public static boolean delete(Shell shell, File folder) {\r
-        return UI.delete(shell, folder);\r
-    }\r
-    /**\r
-     * @param shell for the user interface.\r
-     * @param folder of the database.\r
-     * @return true if purge was successful.\r
-     */\r
-    public static boolean purge(Shell shell, File folder) {\r
-        return UI.purge(shell, folder);\r
-    }\r
-}\r
+package org.simantics.db.procore.ui;
+
+import java.io.File;
+
+import org.eclipse.swt.widgets.Shell;
+import org.simantics.db.exception.InternalException;
+import org.simantics.db.procore.ui.internal.UI;
+
+public class Auxiliary {
+    /**
+     * @param shell for the user interface.
+     * @param exception thrown from server.
+     * @return true if server can be started.
+     */
+    public static boolean beforeStart(Shell shell, File folder) throws InternalException {
+        boolean skipPurge = "true".equals(System.getProperty("org.simantics.db.procore.ui.skipPurge"));
+        if (skipPurge)
+            return true;
+        return UI.purge(shell, folder);
+    }
+    /**
+     * @param shell for the user interface.
+     * @param exception thrown from server start.
+     * @return true if problem with server start was successfully fixed.
+     */
+    public static boolean handleStart(Shell shell, InternalException exception) throws InternalException {
+        return UI.handleStart(shell, exception);
+    }
+    /**
+     * @param shell for the user interface.
+     * @param folder of the database.
+     * @return true if deletion was successful.
+     */
+    public static boolean delete(Shell shell, File folder) {
+        return UI.delete(shell, folder);
+    }
+    /**
+     * @param shell for the user interface.
+     * @param folder of the database.
+     * @return true if purge was successful.
+     */
+    public static boolean purge(Shell shell, File folder) {
+        return UI.purge(shell, folder);
+    }
+}