mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-22 06:50:42 +08:00
fix: build.gradle 依赖约束CC3,CC4
This commit is contained in:
@@ -82,7 +82,7 @@ public class HTTPServer {
|
||||
|
||||
httpServer.setExecutor(null);
|
||||
httpServer.start();
|
||||
System.out.println(ansi().render("@|green [+]|@ HTTP Server Start Listening on >>" + Config.httpPort + "..."));
|
||||
System.out.println(ansi().render("@|green [+]|@ HTTP Server Start Listening on >> " + Config.httpPort + "..."));
|
||||
}
|
||||
|
||||
private static void handleFileRequest(HttpExchange exchange) throws Exception {
|
||||
|
||||
@@ -68,7 +68,7 @@ public class LdapServer extends InMemoryOperationInterceptor {
|
||||
serverConfig.addInMemoryOperationInterceptor(new LdapServer());
|
||||
InMemoryDirectoryServer ds = new InMemoryDirectoryServer(serverConfig);
|
||||
ds.startListening();
|
||||
System.out.println(ansi().render("@|green [+]|@ LDAP Server Start Listening on >>" + Config.ldapPort + "..."));
|
||||
System.out.println(ansi().render("@|green [+]|@ LDAP Server Start Listening on >> " + Config.ldapPort + "..."));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ public class RMIServer extends InMemoryOperationInterceptor implements Runnable
|
||||
String url = "http://" + ip + ":" + rmiPort;
|
||||
|
||||
try {
|
||||
System.out.println(ansi().render("@|green [+]|@ RMI Server Start Listening on >>" + rmiPort + "..."));
|
||||
System.out.println(ansi().render("@|green [+]|@ RMI Server Start Listening on >> " + rmiPort + "..."));
|
||||
RMIServer c = new RMIServer(rmiPort, new URL(url));
|
||||
c.run();
|
||||
} catch (Exception e) {
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
import org.fusesource.jansi.Ansi;
|
||||
import org.fusesource.jansi.AnsiConsole;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
|
||||
public class Main {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user