Skip to content

Commit b5fa653

Browse files
author
Vlad Protsenko
committed
Sort imports
1 parent c8f7efa commit b5fa653

File tree

6 files changed

+37
-39
lines changed

6 files changed

+37
-39
lines changed

Diff for: defold-robot/test/defold_robot/robot_test.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
(:import [java.io BufferedWriter File]
66
[java.nio.file Files]
77
[java.nio.file.attribute FileAttribute]
8-
[org.apache.commons.io FileUtils]
9-
[javafx.application Platform]))
8+
[javafx.application Platform]
9+
[org.apache.commons.io FileUtils]))
1010

1111
(set! *warn-on-reflection* true)
1212

Diff for: editor/src/clj/editor/code/view.clj

+23-23
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,29 @@
1717
[editor.workspace :as workspace]
1818
[internal.util :as util]
1919
[schema.core :as s])
20-
(:import (com.defold.control ListView)
21-
(com.sun.javafx.font FontResource FontStrike PGFont)
22-
(com.sun.javafx.geom.transform BaseTransform)
23-
(com.sun.javafx.perf PerformanceTracker)
24-
(com.sun.javafx.tk Toolkit)
25-
(com.sun.javafx.util Utils)
26-
(editor.code.data Cursor CursorRange GestureInfo LayoutInfo Rect)
27-
(java.util Collection)
28-
(java.util.regex Pattern)
29-
(javafx.beans.binding ObjectBinding)
30-
(javafx.beans.property Property SimpleBooleanProperty SimpleDoubleProperty SimpleObjectProperty SimpleStringProperty)
31-
(javafx.beans.value ChangeListener)
32-
(javafx.geometry HPos Point2D VPos)
33-
(javafx.scene Node Parent Scene)
34-
(javafx.scene.canvas Canvas GraphicsContext)
35-
(javafx.scene.control Button CheckBox PopupControl Tab TextField)
36-
(javafx.scene.input Clipboard DataFormat KeyCode KeyEvent MouseButton MouseDragEvent MouseEvent ScrollEvent)
37-
(javafx.scene.layout ColumnConstraints GridPane Pane Priority)
38-
(javafx.scene.paint Color LinearGradient Paint)
39-
(javafx.scene.shape Rectangle)
40-
(javafx.scene.text Font FontSmoothingType TextAlignment)
41-
(javafx.stage Stage)
42-
(com.sun.javafx.scene.text FontHelper)))
20+
(:import [com.defold.control ListView]
21+
[com.sun.javafx.font FontResource FontStrike PGFont]
22+
[com.sun.javafx.geom.transform BaseTransform]
23+
[com.sun.javafx.perf PerformanceTracker]
24+
[com.sun.javafx.scene.text FontHelper]
25+
[com.sun.javafx.tk Toolkit]
26+
[com.sun.javafx.util Utils]
27+
[editor.code.data Cursor CursorRange GestureInfo LayoutInfo Rect]
28+
[java.util Collection]
29+
[java.util.regex Pattern]
30+
[javafx.beans.binding ObjectBinding]
31+
[javafx.beans.property Property SimpleBooleanProperty SimpleDoubleProperty SimpleObjectProperty SimpleStringProperty]
32+
[javafx.beans.value ChangeListener]
33+
[javafx.geometry HPos Point2D VPos]
34+
[javafx.scene Node Parent Scene]
35+
[javafx.scene.canvas Canvas GraphicsContext]
36+
[javafx.scene.control Button CheckBox PopupControl Tab TextField]
37+
[javafx.scene.input Clipboard DataFormat KeyCode KeyEvent MouseButton MouseDragEvent MouseEvent ScrollEvent]
38+
[javafx.scene.layout ColumnConstraints GridPane Pane Priority]
39+
[javafx.scene.paint Color LinearGradient Paint]
40+
[javafx.scene.shape Rectangle]
41+
[javafx.scene.text Font FontSmoothingType TextAlignment]
42+
[javafx.stage Stage]))
4343

4444
(set! *warn-on-reflection* true)
4545
(set! *unchecked-math* :warn-on-boxed)

Diff for: editor/src/clj/editor/dialogs.clj

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
[editor.resource-node :as resource-node]
1515
[editor.defold-project :as project]
1616
[editor.github :as github])
17-
(:import [java.io File]
17+
(:import [clojure.lang Named]
18+
[java.io File]
1819
[java.util List Collection]
1920
[java.nio.file Path Paths]
2021
[javafx.geometry Pos]
@@ -23,8 +24,7 @@
2324
[javafx.scene.input KeyCode]
2425
[javafx.scene.layout HBox VBox Region]
2526
[javafx.scene.text Text TextFlow]
26-
[javafx.stage Stage DirectoryChooser FileChooser FileChooser$ExtensionFilter Window]
27-
[clojure.lang Named]))
27+
[javafx.stage Stage DirectoryChooser FileChooser FileChooser$ExtensionFilter Window]))
2828

2929
(set! *warn-on-reflection* true)
3030

Diff for: editor/src/clj/editor/form_view.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
[javafx.scene.layout GridPane HBox VBox Priority ColumnConstraints]
2626
[javafx.scene.control Control Cell ListView$EditEvent TableView TableColumn TableColumn$CellDataFeatures TableColumn$CellEditEvent ScrollPane Label TextField ComboBox CheckBox Button ContextMenu MenuItem SelectionMode ContentDisplay TableColumnBase]
2727
[com.defold.control ListView ListCell ListCellSkinWithBehavior TableCell TableCellBehavior TableCellSkinWithBehavior]
28-
[com.sun.javafx.scene.control.behavior ListCellBehavior]
29-
[com.sun.javafx.scene.control TableColumnBaseHelper]))
28+
[com.sun.javafx.scene.control TableColumnBaseHelper]
29+
[com.sun.javafx.scene.control.behavior ListCellBehavior]))
3030

3131
;; A note about the cell-factory controls (:list, :table, :2panel):
3232
;; When clicking on another cell in the edited table, the edit is cancelled and

Diff for: editor/src/clj/editor/ui.clj

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
[com.defold.control LongField]
1919
[com.defold.control ListCell]
2020
[com.defold.control TreeCell]
21+
[com.sun.javafx.application PlatformImpl]
2122
[com.sun.javafx.event DirectEvent]
23+
[com.sun.javafx.scene KeyboardShortcutsHandler SceneEventDispatcher]
2224
[java.awt Desktop Desktop$Action]
2325
[java.io File IOException]
2426
[java.net URI]
@@ -40,9 +42,7 @@
4042
[javafx.scene.shape SVGPath]
4143
[javafx.stage DirectoryChooser FileChooser FileChooser$ExtensionFilter]
4244
[javafx.stage Stage Modality Window PopupWindow StageStyle]
43-
[javafx.util Callback Duration StringConverter]
44-
[com.sun.javafx.scene KeyboardShortcutsHandler SceneEventDispatcher]
45-
[com.sun.javafx.application PlatformImpl]))
45+
[javafx.util Callback Duration StringConverter]))
4646

4747
(set! *warn-on-reflection* true)
4848

Diff for: editor/test/integration/curve_view_test.clj

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
(:require [clojure.test :refer :all]
33
[dynamo.graph :as g]
44
[editor.app-view :as app-view]
5-
[editor.curve-view :as curve-view]
6-
[editor.defold-project :as project]
7-
[editor.scene :as scene]
85
[editor.camera :as camera]
9-
[editor.types :as types]
6+
[editor.curve-view :as curve-view]
107
[editor.handler :as handler]
11-
[integration.test-util :as test-util]
12-
[editor.scene-selection :as selection])
8+
[editor.scene-selection :as selection]
9+
[editor.types :as types]
10+
[integration.test-util :as test-util])
1311
(:import [javax.vecmath Point3d]
1412
[editor.curve_view SubSelectionProvider]))
1513

0 commit comments

Comments
 (0)