refac: распределение классов по пакетам (part 1)
This commit is contained in:
@@ -29,12 +29,12 @@ import net.minecraft.src.NetworkListenThread;
|
|||||||
import ru.di9.minecraft.shared.network.Packet;
|
import ru.di9.minecraft.shared.network.Packet;
|
||||||
import ru.di9.minecraft.shared.network.Packet4UpdateTime;
|
import ru.di9.minecraft.shared.network.Packet4UpdateTime;
|
||||||
import net.minecraft.src.PropertyManager;
|
import net.minecraft.src.PropertyManager;
|
||||||
import net.minecraft.src.RConConsoleSource;
|
import net.minecraft.server.rcon.RConConsoleSource;
|
||||||
import net.minecraft.src.RConThreadMain;
|
import net.minecraft.server.rcon.RConThreadMain;
|
||||||
import net.minecraft.src.RConThreadQuery;
|
import net.minecraft.server.rcon.RConThreadQuery;
|
||||||
import net.minecraft.src.ServerCommand;
|
import net.minecraft.src.ServerCommand;
|
||||||
import net.minecraft.src.ServerConfigurationManager;
|
import net.minecraft.src.ServerConfigurationManager;
|
||||||
import net.minecraft.src.ServerGUI;
|
import net.minecraft.server.gui.ServerGUI;
|
||||||
import ru.di9.minecraft.shared.StatList;
|
import ru.di9.minecraft.shared.StatList;
|
||||||
import net.minecraft.src.ThreadCommandReader;
|
import net.minecraft.src.ThreadCommandReader;
|
||||||
import net.minecraft.src.ThreadServerApplication;
|
import net.minecraft.src.ThreadServerApplication;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.gui;
|
||||||
|
|
||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
import java.io.StringWriter;
|
import java.io.StringWriter;
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.gui;
|
||||||
|
|
||||||
import java.util.logging.*;
|
import java.util.logging.*;
|
||||||
import javax.swing.JTextArea;
|
import javax.swing.JTextArea;
|
||||||
import javax.swing.text.Document;
|
|
||||||
|
|
||||||
public class GuiLogOutputHandler extends Handler
|
public class GuiLogOutputHandler extends Handler
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.gui;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.text.DecimalFormat;
|
import java.text.DecimalFormat;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.gui;
|
||||||
|
|
||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.gui;
|
||||||
|
|
||||||
import java.awt.BorderLayout;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.Dimension;
|
import java.awt.Dimension;
|
||||||
@@ -7,6 +7,7 @@ import javax.swing.*;
|
|||||||
import javax.swing.border.EtchedBorder;
|
import javax.swing.border.EtchedBorder;
|
||||||
import javax.swing.border.TitledBorder;
|
import javax.swing.border.TitledBorder;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
|
import net.minecraft.src.*;
|
||||||
|
|
||||||
public class ServerGUI extends JComponent implements ICommandListener
|
public class ServerGUI extends JComponent implements ICommandListener
|
||||||
{
|
{
|
||||||
@@ -1,9 +1,8 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.gui;
|
||||||
|
|
||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import net.minecraft.server.MinecraftServer;
|
|
||||||
|
|
||||||
class ServerGuiCommandListener implements ActionListener
|
class ServerGuiCommandListener implements ActionListener
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.gui;
|
||||||
|
|
||||||
import java.awt.event.FocusAdapter;
|
import java.awt.event.FocusAdapter;
|
||||||
import java.awt.event.FocusEvent;
|
import java.awt.event.FocusEvent;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.gui;
|
||||||
|
|
||||||
import java.awt.event.WindowAdapter;
|
import java.awt.event.WindowAdapter;
|
||||||
import java.awt.event.WindowEvent;
|
import java.awt.event.WindowEvent;
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.rcon;
|
||||||
|
|
||||||
|
import net.minecraft.src.ICommandListener;
|
||||||
|
|
||||||
public class RConConsoleSource implements ICommandListener
|
public class RConConsoleSource implements ICommandListener
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.rcon;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.rcon;
|
||||||
|
|
||||||
|
import net.minecraft.src.IServer;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.DatagramSocket;
|
import java.net.DatagramSocket;
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.rcon;
|
||||||
|
|
||||||
|
import net.minecraft.src.IServer;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.net.Socket;
|
import java.net.Socket;
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.rcon;
|
||||||
|
|
||||||
|
import net.minecraft.src.IServer;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.*;
|
import java.net.*;
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.rcon;
|
||||||
|
|
||||||
|
import net.minecraft.src.IServer;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.*;
|
import java.net.*;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.rcon;
|
||||||
|
|
||||||
import java.net.DatagramPacket;
|
import java.net.DatagramPacket;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package net.minecraft.src;
|
package net.minecraft.server.rcon;
|
||||||
|
|
||||||
public class RConUtils
|
public class RConUtils
|
||||||
{
|
{
|
||||||
Reference in New Issue
Block a user