Skip to content

Commit

Permalink
reformatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
SpoilerRules committed Mar 24, 2024
1 parent 41b41b2 commit 8f2b6f0
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 26 deletions.
41 changes: 21 additions & 20 deletions config/klint/baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@
<error line="84" column="1" source="standard:max-line-length" />
<error line="150" column="1" source="standard:max-line-length" />
<error line="191" column="1" source="standard:max-line-length" />
<error line="192" column="1" source="standard:max-line-length" />
<error line="195" column="1" source="standard:max-line-length" />
<error line="266" column="1" source="standard:max-line-length" />
<error line="272" column="1" source="standard:max-line-length" />
<error line="323" column="1" source="standard:max-line-length" />
<error line="324" column="1" source="standard:max-line-length" />
<error line="330" column="1" source="standard:max-line-length" />
<error line="198" column="1" source="standard:max-line-length" />
<error line="269" column="1" source="standard:max-line-length" />
<error line="275" column="1" source="standard:max-line-length" />
<error line="327" column="1" source="standard:max-line-length" />
<error line="335" column="1" source="standard:max-line-length" />
</file>
<file name="src/main/kotlin/com/spoiligaming/generator/NitroValidatorConcurrent.kt">
<error line="68" column="1" source="standard:max-line-length" />
Expand All @@ -32,12 +30,12 @@
<error line="78" column="1" source="standard:max-line-length" />
</file>
<file name="src/main/kotlin/com/spoiligaming/generator/gui/TabContainer.kt">
<error line="114" column="1" source="standard:max-line-length" />
<error line="141" column="1" source="standard:max-line-length" />
<error line="155" column="1" source="standard:max-line-length" />
<error line="165" column="1" source="standard:max-line-length" />
<error line="192" column="1" source="standard:max-line-length" />
<error line="220" column="1" source="standard:max-line-length" />
<error line="115" column="1" source="standard:max-line-length" />
<error line="143" column="1" source="standard:max-line-length" />
<error line="157" column="1" source="standard:max-line-length" />
<error line="167" column="1" source="standard:max-line-length" />
<error line="194" column="1" source="standard:max-line-length" />
<error line="222" column="1" source="standard:max-line-length" />
</file>
<file name="src/main/kotlin/com/spoiligaming/generator/gui/element/CommonElement.kt">
<error line="86" column="1" source="standard:max-line-length" />
Expand All @@ -62,18 +60,21 @@
<error line="24" column="1" source="standard:max-line-length" />
</file>
<file name="src/main/kotlin/com/spoiligaming/generator/gui/element/ElementText.kt">
<error line="28" column="1" source="standard:max-line-length" />
<error line="31" column="1" source="standard:max-line-length" />
</file>
<file name="src/main/kotlin/com/spoiligaming/generator/gui/element/ElementValue.kt">
<error line="57" column="1" source="standard:max-line-length" />
<error line="95" column="1" source="standard:max-line-length" />
<error line="59" column="1" source="standard:max-line-length" />
<error line="119" column="1" source="standard:max-line-length" />
</file>
<file name="src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabConsole.kt">
<error line="45" column="1" source="standard:max-line-length" />
<error line="97" column="1" source="standard:max-line-length" />
<error line="33" column="1" source="standard:max-line-length" />
<error line="91" column="1" source="standard:max-line-length" />
</file>
<file name="src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabProxy.kt">
<error line="68" column="1" source="standard:max-line-length" />
<error line="213" column="1" source="standard:max-line-length" />
<error line="55" column="1" source="standard:max-line-length" />
<error line="196" column="1" source="standard:max-line-length" />
</file>
<file name="src/main/kotlin/com/spoiligaming/generator/gui/tabs/TabVisuals.kt">
<error line="1" column="1" source="standard:no-empty-file" />
</file>
</baseline>
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,13 @@ class Initializer : Application() {
children.add(
BorderPane().apply {
background =
Background(BackgroundFill(Color.web(ColorPalette.secondaryColor), CornerRadii(16.0), Insets.EMPTY))
Background(
BackgroundFill(
Color.web(ColorPalette.secondaryColor),
CornerRadii(16.0),
Insets.EMPTY,
),
)
setMaxSize(325.0, 40.0)
setMinSize(325.0, 40.0)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class TabContainer : GridPane() {

add(
GridPane().apply {
background = Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null))
background =
Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null))
setMaxSize(160.0, 275.0)
setMinSize(160.0, 275.0)
alignment = Pos.TOP_CENTER
Expand Down Expand Up @@ -124,7 +125,8 @@ class TabContainer : GridPane() {
private fun implementStatisticsBox() {
add(
Region().apply {
background = Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null))
background =
Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null))
setMaxSize(160.0, 75.0)
setMinSize(160.0, 75.0)
alignment = Pos.TOP_CENTER
Expand Down Expand Up @@ -230,7 +232,8 @@ class TabContainer : GridPane() {
private fun implementInfoBox() {
add(
Region().apply {
background = Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null))
background =
Background(BackgroundFill(Color.web(ColorPalette.menuColor), CornerRadii(16.0, false), null))
setMaxSize(160.0, 40.0)
setMinSize(160.0, 40.0)
alignment = Pos.BOTTOM_CENTER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ class TabConsole : AbstractTab(3, "Console") {
add(
VBox().apply {
background =
Background(BackgroundFill(Color.web(ColorPalette.secondaryColor), CornerRadii(16.0, false), null))
Background(
BackgroundFill(
Color.web(ColorPalette.secondaryColor),
CornerRadii(16.0, false),
null,
),
)
setMaxSize(410.0, 355.0)
setMinSize(410.0, 355.0)
GridPane.setMargin(this, Insets(0.0, 0.0, 0.0, 4.4))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ class TabGeneral : AbstractTab(0, "General") {
BaseConfigurationFactory.updateValue {
generalSettings.discordWebhookURL = newValue
}
}, padding = Insets(10.0, 0.0, 0.0, 10.0),
},
padding = Insets(10.0, 0.0, 0.0, 10.0),
),
)
}
Expand Down

0 comments on commit 8f2b6f0

Please sign in to comment.