Pārlūkot izejas kodu

Fix line endings

Change-Id: I8d5ef39beb4b578c791062350b6e15d2bf7e0814
Reviewed-on: http://gerrit.dmdirc.com/1920
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
tags/0.7rc1
Chris Smith 13 gadus atpakaļ
vecāks
revīzija
68bd228371

+ 3
- 3
src/com/dmdirc/parser/common/BaseChannelClientInfo.java Parādīt failu

@@ -33,13 +33,13 @@ import java.util.Map;
33 33
  * Provides a basic implementation of the {@link ChannelClientInfo} interface.
34 34
  */
35 35
 public abstract class BaseChannelClientInfo implements ChannelClientInfo {
36
-    
36
+
37 37
     /** A map for random data associated with the client to be stored in. */
38 38
     private final Map<Object, Object> map = new HashMap<Object, Object>();
39
-    
39
+
40 40
     /** The channel that the client is associated with. */
41 41
     private final ChannelInfo channel;
42
-    
42
+
43 43
     /** The client that is associated with the channel. */
44 44
     private final ClientInfo client;
45 45
 

+ 10
- 10
src/com/dmdirc/parser/common/BaseChannelInfo.java Parādīt failu

@@ -34,16 +34,16 @@ import java.util.Map;
34 34
  * Provides a basic implementation of the {@link ChannelInfo} interface.
35 35
  */
36 36
 public abstract class BaseChannelInfo implements ChannelInfo {
37
-    
37
+
38 38
     /** The parser that owns this client. */
39 39
     private final Parser parser;
40
-    
40
+
41 41
     /** A map for random data associated with the client to be stored in. */
42 42
     private final Map<Object, Object> map = new HashMap<Object, Object>();
43
-    
43
+
44 44
     /** The clients in this channel. */
45 45
     private final Map<String, ChannelClientInfo> clients = new HashMap<String, ChannelClientInfo>();
46
-    
46
+
47 47
     /** The name of this channel. */
48 48
     private final String name;
49 49
 
@@ -69,7 +69,7 @@ public abstract class BaseChannelInfo implements ChannelInfo {
69 69
     public Parser getParser() {
70 70
         return parser;
71 71
     }
72
-    
72
+
73 73
     /** {@inheritDoc} */
74 74
     @Override
75 75
     public void sendMessage(final String message) {
@@ -81,7 +81,7 @@ public abstract class BaseChannelInfo implements ChannelInfo {
81 81
     public void sendAction(final String action) {
82 82
         parser.sendAction(name, action);
83 83
     }
84
-    
84
+
85 85
     /** {@inheritDoc} */
86 86
     @Override
87 87
     public Collection<ChannelClientInfo> getChannelClients() {
@@ -93,13 +93,13 @@ public abstract class BaseChannelInfo implements ChannelInfo {
93 93
     public int getChannelClientCount() {
94 94
         return clients.size();
95 95
     }
96
-    
96
+
97 97
     /** {@inheritDoc} */
98 98
     @Override
99 99
     public ChannelClientInfo getChannelClient(final String client) {
100 100
         return getChannelClient(client, false);
101 101
     }
102
-    
102
+
103 103
     /**
104 104
      * Adds a new client to this channel's user list.
105 105
      *
@@ -109,7 +109,7 @@ public abstract class BaseChannelInfo implements ChannelInfo {
109 109
     protected void addClient(final String key, final ChannelClientInfo client) {
110 110
         clients.put(key, client);
111 111
     }
112
-    
112
+
113 113
     /**
114 114
      * Removes an existing client from this channel's user list.
115 115
      *
@@ -118,7 +118,7 @@ public abstract class BaseChannelInfo implements ChannelInfo {
118 118
     protected void removeClient(final String key) {
119 119
         clients.remove(key);
120 120
     }
121
-    
121
+
122 122
     /**
123 123
      * Retrieves the client identified by the specified key.
124 124
      *

+ 8
- 8
src/com/dmdirc/parser/common/BaseSocketAwareParser.java Parādīt failu

@@ -35,13 +35,13 @@ import javax.net.SocketFactory;
35 35
  * options.
36 36
  */
37 37
 public abstract class BaseSocketAwareParser extends BaseParser {
38
-    
38
+
39 39
     /** The IP address or hostname that this parser's sockets should bind to. */
40 40
     private String bindIp = null;
41
-    
41
+
42 42
     /** The socket that was most recently created by this parser. */
43 43
     private Socket socket;
44
-    
44
+
45 45
     /** The local port that this parser's *most recently created* socket bound to. */
46 46
     private int localPort = -1;
47 47
 
@@ -60,13 +60,13 @@ public abstract class BaseSocketAwareParser extends BaseParser {
60 60
     public String getBindIP() {
61 61
         return bindIp;
62 62
     }
63
-    
63
+
64 64
     /** {@inheritDoc} */
65 65
     @Override
66 66
     public void setBindIP(final String ip) {
67 67
         bindIp = ip;
68 68
     }
69
-    
69
+
70 70
     /** {@inheritDoc} */
71 71
     @Override
72 72
     public int getLocalPort() {
@@ -78,7 +78,7 @@ public abstract class BaseSocketAwareParser extends BaseParser {
78 78
 
79 79
         return localPort;
80 80
     }
81
-    
81
+
82 82
     /**
83 83
      * Convenience method to record the local port of the specified socket.
84 84
      *
@@ -110,7 +110,7 @@ public abstract class BaseSocketAwareParser extends BaseParser {
110 110
                     return handleSocket(new Socket(host, port, InetAddress.getByName(bindIp), 0));
111 111
                 }
112 112
             }
113
-            
113
+
114 114
             /** {@inheritDoc} */
115 115
             @Override
116 116
             public Socket createSocket(final InetAddress host, final int port) throws IOException {
@@ -137,7 +137,7 @@ public abstract class BaseSocketAwareParser extends BaseParser {
137 137
                 return handleSocket(new Socket(address, port,
138 138
                         bindIp == null ? localAddress : InetAddress.getByName(bindIp), localPort));
139 139
             }
140
-            
140
+
141 141
         };
142 142
     }
143 143
 }

+ 1
- 1
src/com/dmdirc/parser/common/CallbackObject.java Parādīt failu

@@ -55,7 +55,7 @@ public class CallbackObject {
55 55
 
56 56
     /** Reference to the CallbackManager in charge of this callback. */
57 57
     protected CallbackManager myManager;
58
-    
58
+
59 59
     /** A map of interfaces to their concrete implementations. */
60 60
     private final Map<Class<?>, Class<?>> implementationMap;
61 61
 

+ 1
- 1
src/com/dmdirc/parser/interfaces/callbacks/ChannelCtcpListener.java Parādīt failu

@@ -38,7 +38,7 @@ import java.util.Date;
38 38
  */
39 39
 @SpecificCallback
40 40
 public interface ChannelCtcpListener extends CallbackInterface {
41
-    
41
+
42 42
     /**
43 43
      * Called when a person sends a CTCP to a channel.
44 44
      * sHost is the hostname of the person sending the CTCP. (Can be a server or a person)<br>

+ 1
- 1
src/com/dmdirc/parser/interfaces/callbacks/ChannelQuitListener.java Parādīt failu

@@ -29,7 +29,7 @@ import com.dmdirc.parser.interfaces.SpecificCallback;
29 29
 
30 30
 import java.util.Date;
31 31
 
32
-/** 
32
+/**
33 33
  * Called When we, or another client quits IRC (Called once per channel the user was on).
34 34
  * This is called BEFORE client has been removed from the channel.
35 35
  */

+ 1
- 1
src/com/dmdirc/parser/interfaces/callbacks/ChannelSingleModeChangeListener.java Parādīt failu

@@ -31,7 +31,7 @@ import com.dmdirc.parser.interfaces.SpecificCallback;
31 31
 
32 32
 import java.util.Date;
33 33
 
34
-/** 
34
+/**
35 35
  * Called when the channel modes are changed or discovered.
36 36
  * cChannelClient is null if the modes were found from raw 324 (/MODE #Chan reply) or if a server set the mode.<br>
37 37
  * If a Server set the mode, sHost is the servers name, else it is the full host of the user who set it

+ 1
- 1
src/com/dmdirc/parser/interfaces/callbacks/package-info.java Parādīt failu

@@ -21,7 +21,7 @@
21 21
  */
22 22
 
23 23
 /**
24
- * Parser callback interfaces.  Classes wanting to use callbacks will be 
24
+ * Parser callback interfaces.  Classes wanting to use callbacks will be
25 25
  * required to implement the appropriate interface from this package.
26 26
  *
27 27
  * @since 0.6.3m2

+ 1
- 1
src/com/dmdirc/parser/irc/IRCParser.java Parādīt failu

@@ -89,7 +89,7 @@ public class IRCParser implements SecureParser, EncodingParser, Runnable {
89 89
     /** List Mode Queue Debug Information. */
90 90
     public static final int DEBUG_LMQ = 8;
91 91
     //public static final int DEBUG_SOMETHING = 16; //Next thingy
92
-    
92
+
93 93
     /** A map of this parser's implementations of common interfaces. */
94 94
     public static final Map<Class<?>, Class<?>> IMPL_MAP = new HashMap<Class<?>, Class<?>>();
95 95
 

+ 1
- 1
src/com/dmdirc/parser/irc/IRCReader.java Parādīt failu

@@ -79,7 +79,7 @@ public class IRCReader implements Closeable {
79 79
                 // End of the line
80 80
                 break;
81 81
             }
82
-            
82
+
83 83
             line[offset++] = (byte) chr;
84 84
 
85 85
             if (lastChr == ' ' && chr == ':' && paramOffset == -1) {

+ 2
- 2
src/com/dmdirc/parser/irc/PingTimer.java Parādīt failu

@@ -36,7 +36,7 @@ public class PingTimer extends TimerTask {
36 36
     final IRCParser myOwner;
37 37
     /** The Timer that owns this task. */
38 38
     final Timer myTimer;
39
-    
39
+
40 40
     /**
41 41
      * Create the PingTimer.
42 42
      *
@@ -48,7 +48,7 @@ public class PingTimer extends TimerTask {
48 48
         myOwner = control;
49 49
         myTimer = timer;
50 50
     }
51
-    
51
+
52 52
     /** Timer has been executed. */
53 53
     public void run() {
54 54
         myOwner.pingTimerTask(myTimer);

+ 0
- 2
src/com/dmdirc/parser/irc/ServerInfo.java Parādīt failu

@@ -28,8 +28,6 @@ import java.net.URISyntaxException;
28 28
 /**
29 29
  * Contains Server information.
30 30
  *
31
- * @author Shane Mc Cormack
32
- * @author Chris Smith
33 31
  * @see IRCParser
34 32
  */
35 33
 public class ServerInfo {

Notiek ielāde…
Atcelt
Saglabāt