Skip to content
This repository was archived by the owner on Jun 7, 2022. It is now read-only.

Commit bc5306c

Browse files
author
Dytanic
committed
reformat code
1 parent 8ea3920 commit bc5306c

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

cloudnet-cord/cloudnet-cloudflare/src/main/java/de/dytanic/cloudnet/cloudflare/database/CloudFlareDatabase.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
import de.dytanic.cloudnet.lib.utility.Return;
1414
import de.dytanic.cloudnet.lib.utility.document.Document;
1515

16-
import java.util.*;
16+
import java.util.Collection;
17+
import java.util.Collections;
18+
import java.util.HashMap;
19+
import java.util.Map;
1720

1821
/**
1922
* Database to store information about the CloudFlare requests and cache.

cloudnet-core/src/main/java/de/dytanic/cloudnetcore/command/CommandHelp.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import de.dytanic.cloudnet.command.Command;
88
import de.dytanic.cloudnet.command.CommandSender;
99
import de.dytanic.cloudnet.lib.NetworkUtils;
10-
import de.dytanic.cloudnet.lib.utility.CollectionWrapper;
1110
import de.dytanic.cloudnetcore.CloudNet;
1211

1312
import java.lang.management.ManagementFactory;

cloudnet-core/src/main/java/de/dytanic/cloudnetcore/command/CommandScreen.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,12 @@
99
import de.dytanic.cloudnet.command.TabCompletable;
1010
import de.dytanic.cloudnet.lib.NetworkUtils;
1111
import de.dytanic.cloudnet.lib.service.ServiceId;
12-
import de.dytanic.cloudnet.lib.utility.CollectionWrapper;
1312
import de.dytanic.cloudnetcore.CloudNet;
1413
import de.dytanic.cloudnetcore.network.components.MinecraftServer;
1514
import de.dytanic.cloudnetcore.network.components.ProxyServer;
1615
import de.dytanic.cloudnetcore.network.components.Wrapper;
1716

1817
import java.util.ArrayList;
19-
import java.util.Collection;
20-
import java.util.Collections;
2118
import java.util.List;
2219

2320
public final class CommandScreen extends Command implements TabCompletable {

cloudnet-core/src/main/resources/files/log.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
.demo-ribbon {width: 100%;height: 40vh;-webkit-flex-shrink: 0;-ms-flex-negative: 0;flex-shrink: 0;}.demo-main {margin-top: -35vh;-webkit-flex-shrink: 0;-ms-flex-negative: 0;flex-shrink: 0;}.demo-header .mdl-layout__header-row {padding-left: 40px;}.demo-container {max-width: 1600px;width: calc(100% - 16px);margin: 0 auto;}.demo-content {border-radius: 2px;padding: 80px 56px;margin-bottom: 80px;}.demo-layout.is-small-screen .demo-content {padding: 40px 28px;}.demo-content h3 {margin-top: 48px;}.demo-footer {padding-left: 40px;}.demo-footer .mdl-mini-footer--link-list a {font-size: 13px;}p {line-height: 14px; font-weight: 200;}
2424

2525

26+
27+
2628
</style>
2729
</head>
2830
<body>

cloudnet-lib/src/main/java/de/dytanic/cloudnet/lib/utility/document/Document.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ public Document append(String key, Document value)
152152
public Document append(String key, Object value)
153153
{
154154
if (value == null) return this;
155-
if(value instanceof Document) {
155+
if (value instanceof Document)
156+
{
156157
this.append(key, (Document) value);
157158
return this;
158159
}

0 commit comments

Comments
 (0)