ソースを参照

Minor javadoc/style corrections.


git-svn-id: http://svn.dmdirc.com/trunk@495 00569f92-eb28-0410-84fd-f71c24880f
tags/0.3
Shane Mc Cormack 17年前
コミット
72448e6922
100個のファイルの変更362行の追加165行の削除
  1. 10
    8
      src/uk/org/ownage/dmdirc/parser/ChannelClientInfo.java
  2. 36
    32
      src/uk/org/ownage/dmdirc/parser/ChannelInfo.java
  3. 18
    15
      src/uk/org/ownage/dmdirc/parser/ClientInfo.java
  4. 25
    14
      src/uk/org/ownage/dmdirc/parser/IRCParser.java
  5. 1
    1
      src/uk/org/ownage/dmdirc/parser/IRCProcessor.java
  6. 0
    2
      src/uk/org/ownage/dmdirc/parser/ParserError.java
  7. 1
    1
      src/uk/org/ownage/dmdirc/parser/Process001.java
  8. 1
    1
      src/uk/org/ownage/dmdirc/parser/Process004005.java
  9. 1
    1
      src/uk/org/ownage/dmdirc/parser/Process464.java
  10. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessAway.java
  11. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessJoin.java
  12. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessKick.java
  13. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessMOTD.java
  14. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessMessage.java
  15. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessMode.java
  16. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessNames.java
  17. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessNick.java
  18. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessNickInUse.java
  19. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessNoticeAuth.java
  20. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessPart.java
  21. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessQuit.java
  22. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessTopic.java
  23. 1
    1
      src/uk/org/ownage/dmdirc/parser/ProcessorNotFound.java
  24. 1
    1
      src/uk/org/ownage/dmdirc/parser/RegexStringList.java
  25. 1
    0
      src/uk/org/ownage/dmdirc/parser/ServerInfo.java
  26. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackNotFound.java
  27. 10
    2
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackObject.java
  28. 2
    0
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackObjectSpecific.java
  29. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelAction.java
  30. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelCTCP.java
  31. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelCTCPReply.java
  32. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelGotNames.java
  33. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelJoin.java
  34. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelKick.java
  35. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelMessage.java
  36. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelModeChanged.java
  37. 5
    2
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelNickChanged.java
  38. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelNonUserModeChanged.java
  39. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelNotice.java
  40. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelPart.java
  41. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelQuit.java
  42. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelSelfJoin.java
  43. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelSingleModeChanged.java
  44. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelTopic.java
  45. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelUserModeChanged.java
  46. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnDataIn.java
  47. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnDataOut.java
  48. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnDebugInfo.java
  49. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnErrorInfo.java
  50. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnMOTDEnd.java
  51. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnMOTDLine.java
  52. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnMOTDStart.java
  53. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnNickChanged.java
  54. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnNickInUse.java
  55. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnNoticeAuth.java
  56. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateAction.java
  57. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateCTCP.java
  58. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateCTCPReply.java
  59. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateMessage.java
  60. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateNotice.java
  61. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnQuit.java
  62. 6
    2
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnServerReady.java
  63. 6
    2
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnSocketClosed.java
  64. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownAction.java
  65. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownCTCP.java
  66. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownCTCPReply.java
  67. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownMessage.java
  68. 5
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownNotice.java
  69. 6
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUserModeChanged.java
  70. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/ICallbackInterface.java
  71. 2
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelAction.java
  72. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelCTCP.java
  73. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelCTCPReply.java
  74. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelGotNames.java
  75. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelJoin.java
  76. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelKick.java
  77. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelMessage.java
  78. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelModeChanged.java
  79. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelNickChanged.java
  80. 1
    0
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelNonUserModeChanged.java
  81. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelNotice.java
  82. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelPart.java
  83. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelQuit.java
  84. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelSelfJoin.java
  85. 1
    0
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelSingleModeChanged.java
  86. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelTopic.java
  87. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelUserModeChanged.java
  88. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IDataIn.java
  89. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IDataOut.java
  90. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IDebugInfo.java
  91. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IErrorInfo.java
  92. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IMOTDEnd.java
  93. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IMOTDLine.java
  94. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IMOTDStart.java
  95. 2
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/INickChanged.java
  96. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/INickInUse.java
  97. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/INoticeAuth.java
  98. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IPrivateAction.java
  99. 1
    1
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IPrivateCTCP.java
  100. 0
    0
      src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IPrivateCTCPReply.java

+ 10
- 8
src/uk/org/ownage/dmdirc/parser/ChannelClientInfo.java ファイルの表示

@@ -48,7 +48,7 @@ public class ChannelClientInfo {
48 48
 	 * @param tParser Refernce to parser that owns this channelclient (used for modes)
49 49
 	 * @param client Client that this channelclient represents
50 50
 	 */	
51
-	public ChannelClientInfo(IRCParser tParser, ClientInfo client) { myParser = tParser; cClient = client; }
51
+	public ChannelClientInfo(final IRCParser tParser, final ClientInfo client) { myParser = tParser; cClient = client; }
52 52
 	
53 53
 	/**
54 54
 	 * Get the client object represented by this channelclient.
@@ -68,7 +68,7 @@ public class ChannelClientInfo {
68 68
 	 *
69 69
 	 * @param nNewMode integer representing the modes this client has.
70 70
 	 */	
71
-	public void setChanMode(int nNewMode) { nModes = nNewMode; }
71
+	public void setChanMode(final int nNewMode) { nModes = nNewMode; }
72 72
 	/**
73 73
 	 * Get the modes this client has (Prefix modes).
74 74
 	 *
@@ -82,17 +82,18 @@ public class ChannelClientInfo {
82 82
 	 * getChanModeStr(false).charAt(0) can be used to get the highest mode (o)
83 83
 	 * getChanModeStr(true).charAt(0) can be used to get the highest prefix (@)
84 84
 	 *
85
+	 * @param bPrefix if this is true, prefixes will be returned (@+) not modes (ov)
85 86
 	 * @return String representing the modes this client has.
86 87
 	 */
87
-	public String getChanModeStr(boolean bPrefix) {
88
-		String sModes = "", sTemp = "";
88
+	public String getChanModeStr(final boolean bPrefix) {
89
+		String sModes = "";
89 90
 		Character cTemp;
90
-		int nTemp = 0, nModes = this.getChanMode();
91
+		int nTemp = 0, nCurrentModes = this.getChanMode();
91 92
 
92 93
 //		for (int i = 1; i < myParser.nNextKeyPrefix; i = i*2) {
93 94
 		for (int i = myParser.nNextKeyPrefix; i > 0; i = i/2) {
94
-			if ((nModes & i) == i) {
95
-				for (Enumeration e = myParser.hPrefixModes.keys(); e.hasMoreElements();) {
95
+			if ((nCurrentModes & i) == i) {
96
+				for (final Enumeration e = myParser.hPrefixModes.keys(); e.hasMoreElements();) {
96 97
 					cTemp = (Character)e.nextElement();
97 98
 					nTemp = myParser.hPrefixModes.get(cTemp);
98 99
 					if (nTemp == i) {
@@ -161,9 +162,10 @@ public class ChannelClientInfo {
161 162
 	public String toFullString() { return this.getChanModeStr(true)+this.getNickname(); }	
162 163
 	
163 164
 	/**
164
-	 * Get SVN Version information
165
+	 * Get SVN Version information.
165 166
 	 *
166 167
 	 * @return SVN Version String
167 168
 	 */
168 169
 	public static String getSvnInfo () { return "$Id$"; }	
169 170
 }
171
+

+ 36
- 32
src/uk/org/ownage/dmdirc/parser/ChannelInfo.java ファイルの表示

@@ -24,9 +24,9 @@
24 24
 
25 25
 package uk.org.ownage.dmdirc.parser;
26 26
 
27
-import java.util.Hashtable;
28
-import java.util.Enumeration;
29 27
 import java.util.ArrayList;
28
+import java.util.Enumeration;
29
+import java.util.Hashtable;
30 30
 
31 31
 /**
32 32
  * Contains Channel information.
@@ -61,7 +61,7 @@ public class ChannelInfo {
61 61
 	private Hashtable<String,ChannelClientInfo> hChannelUserList = new Hashtable<String,ChannelClientInfo>();
62 62
 	/** Hashtable storing values for modes set in the channel that use parameters. */
63 63
 	private Hashtable<Character,String> hParamModes = new Hashtable<Character,String>();
64
-	/** Hashtable storing list modes */
64
+	/** Hashtable storing list modes. */
65 65
 	private Hashtable<Character,ArrayList<String>> hListModes = new Hashtable<Character,ArrayList<String>>();
66 66
 
67 67
 	/**
@@ -70,7 +70,7 @@ public class ChannelInfo {
70 70
 	 * @param tParser Refernce to parser that owns this channelclient (used for modes)	 
71 71
 	 * @param name Channel name.
72 72
 	 */
73
-	public ChannelInfo (IRCParser tParser, String name) { myParser = tParser; sName = name; }
73
+	public ChannelInfo (final IRCParser tParser, final String name) { myParser = tParser; sName = name; }
74 74
 	
75 75
 	/**
76 76
 	 * Get the name of this channel object.
@@ -86,13 +86,13 @@ public class ChannelInfo {
86 86
 	public int getUserCount() { return hChannelUserList.size(); }
87 87
 	
88 88
 	/**
89
-	 * Get the channel users
89
+	 * Get the channel users.
90 90
 	 *
91 91
 	 * @return ArrayList of ChannelClients
92 92
 	 */
93 93
 	public ArrayList<ChannelClientInfo> getChannelClients() {
94 94
 		ArrayList<ChannelClientInfo> lClients = new ArrayList<ChannelClientInfo>();
95
-		for (Enumeration e = hChannelUserList.keys(); e.hasMoreElements();) {
95
+		for (final Enumeration e = hChannelUserList.keys(); e.hasMoreElements();) {
96 96
 			lClients.add(hChannelUserList.get(e.nextElement()));
97 97
 		}
98 98
 		return lClients;
@@ -106,6 +106,7 @@ public class ChannelInfo {
106 106
 	/**
107 107
 	 * Get the ChannelClientInfo object associated with a nickname.
108 108
 	 *
109
+	 * @param sWho Nickname to return channelclient for
109 110
 	 * @return ChannelClientInfo object requested, or null if not found
110 111
 	 */
111 112
 	public ChannelClientInfo getUser(String sWho) {
@@ -116,9 +117,10 @@ public class ChannelInfo {
116 117
 	/**
117 118
 	 * Get the ChannelClientInfo object associated with a ClientInfo object.
118 119
 	 *
120
+	 * @param cWho ClientInfo to return ChannelClient for
119 121
 	 * @return ChannelClientInfo object requested, or null if not found
120 122
 	 */	
121
-	public ChannelClientInfo getUser(ClientInfo cWho) {
123
+	public ChannelClientInfo getUser(final ClientInfo cWho) {
122 124
 		ChannelClientInfo cTemp = null;
123 125
 		for (Enumeration e = hChannelUserList.keys(); e.hasMoreElements();) {
124 126
 			cTemp = hChannelUserList.get(e.nextElement());
@@ -134,7 +136,7 @@ public class ChannelInfo {
134 136
 	 * @param cClient Client object to be added to channel
135 137
 	 * @return ChannelClientInfo object added, or an existing object if already known on channel
136 138
 	 */		
137
-	protected ChannelClientInfo addClient(ClientInfo cClient) {
139
+	protected ChannelClientInfo addClient(final ClientInfo cClient) {
138 140
 		ChannelClientInfo cTemp = null;
139 141
 		cTemp = getUser(cClient);
140 142
 		if (cTemp == null) { 
@@ -149,7 +151,7 @@ public class ChannelInfo {
149 151
 	 *
150 152
 	 * @param cClient Client object to be removed from channel
151 153
 	 */	
152
-	protected void delClient(ClientInfo cClient) {
154
+	protected void delClient(final ClientInfo cClient) {
153 155
 		ChannelClientInfo cTemp = null;
154 156
 		cTemp = getUser(cClient);
155 157
 		if (cTemp != null) {
@@ -162,7 +164,7 @@ public class ChannelInfo {
162 164
 	 *
163 165
 	 * @param nNewTime New unixtimestamp time for the topic (Seconds sinse epoch, not milliseconds)
164 166
 	 */
165
-	public void setTopicTime(long nNewTime) { nTopicTime = nNewTime; }
167
+	public void setTopicTime(final long nNewTime) { nTopicTime = nNewTime; }
166 168
 	/**
167 169
 	 * Get the topic time.
168 170
 	 *
@@ -175,7 +177,7 @@ public class ChannelInfo {
175 177
 	 *
176 178
 	 * @param sNewTopic New contents of topic
177 179
 	 */	
178
-	public void setTopic(String sNewTopic) { sTopic = sNewTopic; }
180
+	public void setTopic(final String sNewTopic) { sTopic = sNewTopic; }
179 181
 	/**
180 182
 	 * Get the topic.
181 183
 	 *
@@ -188,7 +190,7 @@ public class ChannelInfo {
188 190
 	 *
189 191
 	 * @param sNewUser New user who set the topic (nickname if gotten on connect, full host if seen by parser)
190 192
 	 */	
191
-	public void setTopicUser(String sNewUser) { sTopicUser = sNewUser; }
193
+	public void setTopicUser(final String sNewUser) { sTopicUser = sNewUser; }
192 194
 	/**
193 195
 	 * Get the topic creator.
194 196
 	 *
@@ -201,7 +203,7 @@ public class ChannelInfo {
201 203
 	 *
202 204
 	 * @param nNewMode new integer representing channel modes. (Boolean only)
203 205
 	 */	
204
-	public void setMode(int nNewMode) { nModes = nNewMode; }
206
+	public void setMode(final int nNewMode) { nModes = nNewMode; }
205 207
 	/**
206 208
 	 * Get the channel modes (as an integer).
207 209
 	 *
@@ -217,14 +219,15 @@ public class ChannelInfo {
217 219
 	public String getModeStr() { 
218 220
 		String sModes = "+", sModeParams = "", sTemp = "";
219 221
 		Character cTemp;
220
-		int nTemp = 0, nModes = this.getMode();
222
+		int nTemp = 0,
223
+		final int nChanModes = this.getMode();
221 224
 		
222
-		for (Enumeration e = myParser.hChanModesBool.keys(); e.hasMoreElements();) {
225
+		for (final Enumeration e = myParser.hChanModesBool.keys(); e.hasMoreElements();) {
223 226
 			cTemp = (Character)e.nextElement();
224 227
 			nTemp = myParser.hChanModesBool.get(cTemp);
225
-			if ((nModes & nTemp) == nTemp) { sModes = sModes+cTemp; }
228
+			if ((nChanModes & nTemp) == nTemp) { sModes = sModes+cTemp; }
226 229
 		}
227
-		for (Enumeration e = hParamModes.keys(); e.hasMoreElements();) {
230
+		for (final Enumeration e = hParamModes.keys(); e.hasMoreElements();) {
228 231
 			cTemp = (Character)e.nextElement();
229 232
 			sTemp = hParamModes.get(cTemp);
230 233
 			if (!sTemp.equals("")) {
@@ -242,8 +245,8 @@ public class ChannelInfo {
242 245
 	 * @param cMode Character representing mode
243 246
 	 * @param sValue String repreenting value (if "" mode is unset)
244 247
 	 */	
245
-	public void setModeParam(Character cMode, String sValue) { 
246
-		if (sValue == "") {
248
+	public void setModeParam(final Character cMode, final String sValue) { 
249
+		if (sValue.equals("")) {
247 250
 			if (hParamModes.containsKey(cMode)) {
248 251
 				hParamModes.remove(cMode);
249 252
 			}
@@ -257,7 +260,7 @@ public class ChannelInfo {
257 260
 	 * @param cMode Character representing mode
258 261
 	 * @return string representing the value of the mode ("" if mode not set)
259 262
 	 */	
260
-	public String getModeParam(Character cMode) { 
263
+	public String getModeParam(final Character cMode) { 
261 264
 		if (hParamModes.containsKey(cMode)) { return hParamModes.get(cMode); }
262 265
 		else { return ""; }
263 266
 	}
@@ -269,7 +272,7 @@ public class ChannelInfo {
269 272
 	 * @param sValue String repreenting value
270 273
 	 * @param bAdd Add or remove the value. (true for add, false for remove)
271 274
 	 */
272
-	public void setListModeParam(Character cMode, String sValue, boolean bAdd) { 
275
+	public void setListModeParam(final Character cMode, final String sValue, final boolean bAdd) { 
273 276
 		if (!myParser.hChanModesOther.containsKey(cMode)) { return; }
274 277
 		else if (myParser.hChanModesOther.get(cMode) != myParser.cmList) { return; }
275 278
 		
@@ -291,7 +294,7 @@ public class ChannelInfo {
291 294
 	 * @param cMode Character representing mode
292 295
 	 * @return ArrayList containing items in the list, or null if mode is invalid
293 296
 	 */
294
-	public ArrayList setListModeParam(Character cMode) { 
297
+	public ArrayList setListModeParam(final Character cMode) { 
295 298
 		if (!myParser.hChanModesOther.containsKey(cMode)) { return null; }
296 299
 		else if (myParser.hChanModesOther.get(cMode) != myParser.cmList) { return null; }
297 300
 		
@@ -304,7 +307,7 @@ public class ChannelInfo {
304 307
 	 *
305 308
 	 * @param sMessage Message to send
306 309
 	 */
307
-	public void sendMessage(String sMessage) { 
310
+	public void sendMessage(final String sMessage) { 
308 311
 		if (sMessage.equals("")) { return; }
309 312
 		
310 313
 		myParser.sendString("PRIVMSG "+sName+" :"+sMessage);	
@@ -315,7 +318,7 @@ public class ChannelInfo {
315 318
 	 *
316 319
 	 * @param sMessage Message to send
317 320
 	 */
318
-	public void sendNotice(String sMessage) { 
321
+	public void sendNotice(final String sMessage) { 
319 322
 		if (sMessage.equals("")) { return; }
320 323
 		
321 324
 		myParser.sendString("NOTICE "+sName+" :"+sMessage);	
@@ -326,7 +329,7 @@ public class ChannelInfo {
326 329
 	 *
327 330
 	 * @param sMessage Message to send
328 331
 	 */
329
-	public void sendAction(String sMessage) { 
332
+	public void sendAction(final String sMessage) { 
330 333
 		if (sMessage.equals("")) { return; }
331 334
 		sendCTCP("ACTION", sMessage);
332 335
 	}
@@ -337,11 +340,11 @@ public class ChannelInfo {
337 340
 	 * @param sType Type of CTCP
338 341
 	 * @param sMessage Optional Additional Parameters
339 342
 	 */
340
-	public void sendCTCP(String sType, String sMessage) { 
343
+	public void sendCTCP(final String sType, final String sMessage) { 
341 344
 		if (sType.equals("")) { return; }
342
-		Character Char1 = Character.valueOf((char)1);
345
+		final Character char1 = Character.valueOf((char)1);
343 346
 		if (!sMessage.equals("")) { sMessage = " "+sMessage; }
344
-		myParser.sendString("PRIVMSG "+sName+" :"+Char1+sType.toUpperCase()+sMessage+Char1);	
347
+		myParser.sendString("PRIVMSG "+sName+" :"+char1+sType.toUpperCase()+sMessage+char1);	
345 348
 	}
346 349
 	
347 350
 	/**
@@ -350,15 +353,15 @@ public class ChannelInfo {
350 353
 	 * @param sType Type of CTCP
351 354
 	 * @param sMessage Optional Additional Parameters
352 355
 	 */
353
-	public void sendCTCPReply(String sType, String sMessage) { 
356
+	public void sendCTCPReply(final String sType, final String sMessage) { 
354 357
 		if (sType.equals("")) { return; }
355
-		Character Char1 = Character.valueOf((char)1);
358
+		final Character char1 = Character.valueOf((char)1);
356 359
 		if (!sMessage.equals("")) { sMessage = " "+sMessage; }
357
-		myParser.sendString("NOTICE "+sName+" :"+Char1+sType.toUpperCase()+sMessage+Char1);	
360
+		myParser.sendString("NOTICE "+sName+" :"+char1+sType.toUpperCase()+sMessage+char1);	
358 361
 	}
359 362
 	
360 363
 	/**
361
-	 * Get a string representation of the Channel
364
+	 * Get a string representation of the Channel.
362 365
 	 *
363 366
 	 * @return String representation of the Channel.
364 367
 	 */
@@ -371,3 +374,4 @@ public class ChannelInfo {
371 374
 	 */
372 375
 	public static String getSvnInfo () { return "$Id$"; }	
373 376
 }
377
+

+ 18
- 15
src/uk/org/ownage/dmdirc/parser/ClientInfo.java ファイルの表示

@@ -52,9 +52,10 @@ public class ClientInfo {
52 52
 	 * Get a nickname of a user from a hostmask.
53 53
 	 * Hostmask must match (?:)nick(?!ident)(?@host)
54 54
 	 *
55
+	 * @param sWho Hostname to parse
55 56
 	 * @return nickname of user
56 57
 	 */
57
-	public static String parseHost(String sWho) {
58
+	public static String parseHost(final String sWho) {
58 59
 		// Get the nickname from the string.
59 60
 		return parseHostFull(sWho)[0];
60 61
 	}
@@ -63,9 +64,10 @@ public class ClientInfo {
63 64
 	 * Get a nick ident and host of a user from a hostmask.
64 65
 	 * Hostmask must match (?:)nick(?!ident)(?@host)
65 66
 	 *
67
+	 * @param sWho Hostname to parse
66 68
 	 * @return Array containing details. (result[0] -> Nick | result[1] -> Ident | result[2] -> Host)
67 69
 	 */
68
-	public static String[] parseHostFull(String sWho) {
70
+	public static String[] parseHostFull(final String sWho) {
69 71
 		String sTemp[] = null;
70 72
 		String result[] = new String[3];
71 73
 		sTemp = sWho.split(":",2);
@@ -87,17 +89,17 @@ public class ClientInfo {
87 89
 	 * @param sHostmask Hostmask parsed by parseHost to get nickname
88 90
 	 * @see ClientInfo#parseHost
89 91
 	 */
90
-	public ClientInfo (IRCParser tParser, String sHostmask) { 
92
+	public ClientInfo (final IRCParser tParser, final String sHostmask) { 
91 93
 		setUserBits(sHostmask,true);
92 94
 		myParser = tParser;
93 95
 	}
94 96
 	/**
95
-	 * Get a string representation of the user
97
+	 * Get a string representation of the user.
96 98
 	 *
97 99
 	 * @param sHostmask takes a host (?:)nick(?!ident)(?@host) and sets nick/host/ident variables
98 100
 	 * @param bUpdateNick if this is false, only host/ident will be updated.
99 101
 	 */	
100
-	public void setUserBits (String sHostmask, boolean bUpdateNick) {
102
+	public void setUserBits (final String sHostmask, final boolean bUpdateNick) {
101 103
 		String sTemp[] = parseHostFull(sHostmask);
102 104
 		if (!sTemp[2].equals("")) { sHost = sTemp[2]; }
103 105
 		if (!sTemp[1].equals("")) { sIdent = sTemp[1]; }
@@ -105,26 +107,26 @@ public class ClientInfo {
105 107
 	}
106 108
 	
107 109
 	/**
108
-	 * Get a string representation of the user
110
+	 * Get a string representation of the user.
109 111
 	 *
110 112
 	 * @return String representation of the user.
111 113
 	 */
112 114
 	public String toString() { return sNickname+"!"+sIdent+"@"+sHost; }
113 115
 	
114 116
 	/**
115
-	 * Get the nickname for this user
117
+	 * Get the nickname for this user.
116 118
 	 *
117 119
 	 * @return Known nickname for user.
118 120
 	 */
119 121
 	public String getNickname() { return sNickname; }
120 122
 	/**
121
-	 * Get the ident for this user
123
+	 * Get the ident for this user.
122 124
 	 *
123 125
 	 * @return Known ident for user. (May be "")
124 126
 	 */		
125 127
 	public String getIdent() { return sIdent; }
126 128
 	/**
127
-	 * Get the hostname for this user
129
+	 * Get the hostname for this user.
128 130
 	 *
129 131
 	 * @return Known host for user. (May be "")
130 132
 	 */		
@@ -135,7 +137,7 @@ public class ClientInfo {
135 137
 	 *
136 138
 	 * @param bNewState Boolean representing state. true = away, false = here
137 139
 	 */	
138
-	public void setAwayState(boolean bNewState) { bIsAway = bNewState; }
140
+	public void setAwayState(final boolean bNewState) { bIsAway = bNewState; }
139 141
 	/**
140 142
 	 * Get the away state of a user.
141 143
 	 *
@@ -148,7 +150,7 @@ public class ClientInfo {
148 150
 	 *
149 151
 	 * @param nNewMode new integer representing channel modes. (Boolean only)
150 152
 	 */	
151
-	public void setUserMode(int nNewMode) { nModes = nNewMode; }
153
+	public void setUserMode(final int nNewMode) { nModes = nNewMode; }
152 154
 	/**
153 155
 	 * Get the user modes (as an integer).
154 156
 	 *
@@ -164,12 +166,13 @@ public class ClientInfo {
164 166
 	public String getUserModeStr() { 
165 167
 		String sModes = "+", sTemp = "";
166 168
 		Character cTemp;
167
-		int nTemp = 0, nModes = this.getUserMode();
169
+		int nTemp = 0;
170
+		final int nChanModes = this.getUserMode();
168 171
 		
169
-		for (Enumeration e = myParser.hUserModes.keys(); e.hasMoreElements();) {
172
+		for (final Enumeration e = myParser.hUserModes.keys(); e.hasMoreElements();) {
170 173
 			cTemp = (Character)e.nextElement();
171 174
 			nTemp = myParser.hUserModes.get(cTemp);
172
-			if ((nModes & nTemp) == nTemp) { sModes = sModes+cTemp; }
175
+			if ((nChanModes & nTemp) == nTemp) { sModes = sModes+cTemp; }
173 176
 		}
174 177
 		
175 178
 		return sModes;
@@ -195,7 +198,7 @@ public class ClientInfo {
195 198
 	}
196 199
 	
197 200
 	/**
198
-	 * Get SVN Version information
201
+	 * Get SVN Version information.
199 202
 	 *
200 203
 	 * @return SVN Version String
201 204
 	 */

+ 25
- 14
src/uk/org/ownage/dmdirc/parser/IRCParser.java ファイルの表示

@@ -23,32 +23,32 @@
23 23
  */
24 24
 
25 25
 package uk.org.ownage.dmdirc.parser;
26
-import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IDataIn;
27
-import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IDataOut;
28
-import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IDebugInfo;
29
-import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IErrorInfo;
30
-import uk.org.ownage.dmdirc.parser.callbacks.interfaces.ISocketClosed;
26
+
31 27
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
32 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackOnDataIn;
33 29
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackOnDataOut;
34 30
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackOnDebugInfo;
35 31
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackOnErrorInfo;
36 32
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackOnSocketClosed;
33
+import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IDataIn;
34
+import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IDataOut;
35
+import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IDebugInfo;
36
+import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IErrorInfo;
37
+import uk.org.ownage.dmdirc.parser.callbacks.interfaces.ISocketClosed;
37 38
 import java.io.BufferedReader;
38
-import java.io.IOException;
39 39
 import java.io.InputStreamReader;
40
+import java.io.IOException;
40 41
 import java.io.PrintWriter;
41 42
 import java.net.Socket;
42 43
 import java.net.UnknownHostException;
44
+import java.util.Arrays;
45
+import java.util.Enumeration;
46
+import java.util.Hashtable;
47
+import javax.net.SocketFactory;
43 48
 import javax.net.ssl.SSLContext;
44
-import javax.net.ssl.SSLSocketFactory;
45 49
 import javax.net.ssl.SSLSocket;
46 50
 import javax.net.ssl.X509TrustManager;
47 51
 import javax.net.ssl.TrustManager;
48
-import javax.net.SocketFactory;
49
-import java.util.Arrays;
50
-import java.util.Hashtable;
51
-import java.util.Enumeration;
52 52
 
53 53
 /**
54 54
  * IRC Parser.
@@ -240,6 +240,7 @@ public class IRCParser implements Runnable {
240 240
 	 *
241 241
 	 * @see IDataIn
242 242
 	 * @param data Incomming Line.
243
+	 * @return true if a method was called, false otherwise
243 244
 	 */
244 245
 	protected boolean callDataIn(String data) {
245 246
 		CallbackOnDataIn cb = (CallbackOnDataIn)myCallbackManager.getCallbackType("OnDataIn");
@@ -253,6 +254,7 @@ public class IRCParser implements Runnable {
253 254
 	 * @see IDataOut
254 255
 	 * @param data Outgoing Data
255 256
 	 * @param FromParser True if parser sent the data, false if sent using .sendLine
257
+	 * @return true if a method was called, false otherwise
256 258
 	 */
257 259
 	protected boolean callDataOut(String data, boolean FromParser) {
258 260
 		CallbackOnDataOut cb = (CallbackOnDataOut)myCallbackManager.getCallbackType("OnDataOut");
@@ -267,6 +269,7 @@ public class IRCParser implements Runnable {
267 269
 	 * @param level Debugging Level (ndInfo, ndSocket etc)
268 270
 	 * @param data Debugging Information as a format string
269 271
 	 * @param args Formatting String Options
272
+	 * @return true if a method was called, false otherwise
270 273
 	 */
271 274
 	protected boolean callDebugInfo(int level, String data, Object... args) {
272 275
 		return callDebugInfo(level, String.format(data, args));
@@ -277,6 +280,7 @@ public class IRCParser implements Runnable {
277 280
 	 * @see IDebugInfo
278 281
 	 * @param level Debugging Level (ndInfo, ndSocket etc)
279 282
 	 * @param data Debugging Information
283
+	 * @return true if a method was called, false otherwise
280 284
 	 */
281 285
 	protected boolean callDebugInfo(int level, String data) {
282 286
 		CallbackOnDebugInfo cb = (CallbackOnDebugInfo)myCallbackManager.getCallbackType("OnDebugInfo");
@@ -289,6 +293,7 @@ public class IRCParser implements Runnable {
289 293
 	 *
290 294
 	 * @see IErrorInfo
291 295
 	 * @param errorInfo ParserError object representing the error.
296
+	 * @return true if a method was called, false otherwise
292 297
 	 */
293 298
 	protected boolean callErrorInfo(ParserError errorInfo) {
294 299
 		CallbackOnErrorInfo cb = (CallbackOnErrorInfo)myCallbackManager.getCallbackType("OnErrorInfo");
@@ -300,6 +305,7 @@ public class IRCParser implements Runnable {
300 305
 	 * Callback to all objects implementing the SocketClosed Callback.
301 306
 	 *
302 307
 	 * @see ISocketClosed
308
+	 * @return true if a method was called, false otherwise
303 309
 	 */	
304 310
 	protected boolean callSocketClosed() {
305 311
 		CallbackOnSocketClosed cb = (CallbackOnSocketClosed)myCallbackManager.getCallbackType("OnSocketClosed");
@@ -360,7 +366,11 @@ public class IRCParser implements Runnable {
360 366
 	}
361 367
 
362 368
 	
363
-	/** Connect to IRC. */
369
+	/**
370
+	 * Connect to IRC.
371
+	 *
372
+	 * @throws Exception if there was an error setting up the socket
373
+	 */
364 374
 	private void connect() throws Exception {
365 375
 		try {
366 376
 			resetState();
@@ -954,6 +964,7 @@ public class IRCParser implements Runnable {
954 964
 	 * Check if a channel name is valid.
955 965
 	 *
956 966
 	 * @param sChannelName Channel name to test
967
+	 * @return true if name is valid on the current connection, false otherwise. (Always false before noMOTD/MOTDEnd)
957 968
 	 */
958 969
 	public boolean isValidChannelName(String sChannelName) {
959 970
 		return hChanPrefix.containsKey(sChannelName.charAt(0));
@@ -967,9 +978,9 @@ public class IRCParser implements Runnable {
967 978
 	public ClientInfo getMyself() { return cMyself; }
968 979
 	
969 980
 	/**
970
-	 * Get SVN Version information
981
+	 * Get SVN Version information.
971 982
 	 *
972 983
 	 * @return SVN Version String
973 984
 	 */
974 985
 	public static String getSvnInfo () { return "$Id$"; }	
975
-}
986
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/IRCProcessor.java ファイルの表示

@@ -178,4 +178,4 @@ public abstract class IRCProcessor {
178 178
 	 * @return SVN Version String
179 179
 	 */
180 180
 	public static String getSvnInfo () { return "$Id$"; }	
181
-}
181
+}

+ 0
- 2
src/uk/org/ownage/dmdirc/parser/ParserError.java ファイルの表示

@@ -141,5 +141,3 @@ public class ParserError {
141 141
 	 */
142 142
 	public static String getSvnInfo () { return "$Id$"; }	
143 143
 }
144
-
145
-// eof

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/Process001.java ファイルの表示

@@ -89,4 +89,4 @@ public class Process001 extends IRCProcessor {
89 89
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
90 90
 	 */
91 91
 	protected Process001 (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
92
-}
92
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/Process004005.java ファイルの表示

@@ -74,4 +74,4 @@ public class Process004005 extends IRCProcessor {
74 74
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
75 75
 	 */
76 76
 	protected Process004005 (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
77
-}
77
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/Process464.java ファイルの表示

@@ -60,4 +60,4 @@ public class Process464 extends IRCProcessor {
60 60
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
61 61
 	 */
62 62
 	protected Process464 (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
63
-}
63
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessAway.java ファイルの表示

@@ -60,4 +60,4 @@ public class ProcessAway extends IRCProcessor {
60 60
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
61 61
 	 */
62 62
 	protected ProcessAway (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
63
-}
63
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessJoin.java ファイルの表示

@@ -123,4 +123,4 @@ public class ProcessJoin extends IRCProcessor {
123 123
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
124 124
 	 */
125 125
 	protected ProcessJoin (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
126
-}
126
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessKick.java ファイルの表示

@@ -114,4 +114,4 @@ public class ProcessKick extends IRCProcessor {
114 114
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
115 115
 	 */
116 116
 	protected ProcessKick (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
117
-}
117
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessMOTD.java ファイルの表示

@@ -112,4 +112,4 @@ public class ProcessMOTD extends IRCProcessor {
112 112
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
113 113
 	 */
114 114
 	protected ProcessMOTD (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
115
-}
115
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessMessage.java ファイルの表示

@@ -431,4 +431,4 @@ public class ProcessMessage extends IRCProcessor {
431 431
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
432 432
 	 */
433 433
 	protected ProcessMessage (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
434
-}
434
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessMode.java ファイルの表示

@@ -309,4 +309,4 @@ public class ProcessMode extends IRCProcessor {
309 309
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
310 310
 	 */
311 311
 	protected ProcessMode (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
312
-}
312
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessNames.java ファイルの表示

@@ -129,4 +129,4 @@ public class ProcessNames extends IRCProcessor {
129 129
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
130 130
 	 */
131 131
 	protected ProcessNames (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
132
-}
132
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessNick.java ファイルの表示

@@ -112,4 +112,4 @@ public class ProcessNick extends IRCProcessor {
112 112
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
113 113
 	 */
114 114
 	protected ProcessNick (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
115
-}
115
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessNickInUse.java ファイルの表示

@@ -94,4 +94,4 @@ public class ProcessNickInUse extends IRCProcessor {
94 94
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
95 95
 	 */
96 96
 	protected ProcessNickInUse (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
97
-}
97
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessNoticeAuth.java ファイルの表示

@@ -71,4 +71,4 @@ public class ProcessNoticeAuth extends IRCProcessor {
71 71
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
72 72
 	 */
73 73
 	protected ProcessNoticeAuth (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
74
-}
74
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessPart.java ファイルの表示

@@ -108,4 +108,4 @@ public class ProcessPart extends IRCProcessor {
108 108
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
109 109
 	 */
110 110
 	protected ProcessPart (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
111
-}
111
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessQuit.java ファイルの表示

@@ -125,4 +125,4 @@ public class ProcessQuit extends IRCProcessor {
125 125
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
126 126
 	 */
127 127
 	protected ProcessQuit (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
128
-}
128
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessTopic.java ファイルの表示

@@ -101,4 +101,4 @@ public class ProcessTopic extends IRCProcessor {
101 101
 	 * @param manager ProcessingManager that is in charge of this IRCProcessor
102 102
 	 */
103 103
 	protected ProcessTopic (IRCParser parser, ProcessingManager manager) { super(parser, manager); }
104
-}
104
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/ProcessorNotFound.java ファイルの表示

@@ -44,4 +44,4 @@ public class ProcessorNotFound extends Exception {
44 44
 	 * @param message Reason for exception
45 45
 	 */
46 46
 	public ProcessorNotFound(String message) { super(message); }
47
-}
47
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/RegexStringList.java ファイルの表示

@@ -125,4 +125,4 @@ public class RegexStringList {
125 125
 	public int count() {
126 126
 		return ignoreInfo.size();
127 127
 	}
128
-}
128
+}

+ 1
- 0
src/uk/org/ownage/dmdirc/parser/ServerInfo.java ファイルの表示

@@ -61,3 +61,4 @@ public class ServerInfo {
61 61
 	 */
62 62
 	public static String getSvnInfo () { return "$Id$"; }	
63 63
 }
64
+

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackNotFound.java ファイルの表示

@@ -43,5 +43,5 @@ public class CallbackNotFound extends Exception {
43 43
 	 *
44 44
 	 * @param message Reason for exception
45 45
 	 */
46
-	public CallbackNotFound(String message) { super(message); }
46
+	public CallbackNotFound(final String message) { super(message); }
47 47
 }

+ 10
- 2
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackObject.java ファイルの表示

@@ -102,7 +102,11 @@ public abstract class CallbackObject {
102 102
 	 */
103 103
 	public void del(ICallbackInterface eMethod) { delCallback(eMethod); }
104 104
 	
105
-	/** Get the name for this callback */
105
+	/**
106
+	 * Get the name for this callback
107
+	 *
108
+	 * @return Name of callback
109
+	 */
106 110
 	public String getName() {
107 111
 		Package thisPackage = this.getClass().getPackage();
108 112
 		int packageLength = 0;
@@ -112,7 +116,11 @@ public abstract class CallbackObject {
112 116
 		return this.getClass().getName().substring(packageLength+8); // 8 is the length of "Callback"
113 117
 	}
114 118
 	
115
-	/** Get the name for this callback in lowercase */
119
+	/**
120
+	 * Get the name for this callback in lowercase.
121
+	 *
122
+	 * @return Name of callback, in lowercase
123
+	 */
116 124
 	public final String getLowerName() {
117 125
 		return this.getName().toLowerCase();
118 126
 	}

+ 2
- 0
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackObjectSpecific.java ファイルの表示

@@ -45,6 +45,7 @@ public abstract class CallbackObjectSpecific extends CallbackObject {
45 45
 	 * 
46 46
 	 * @param eMethod Object that is being called back to
47 47
 	 * @param cChannel ChannelInfo object for the channel to test
48
+	 * @return true if channel given matches the specifics for the method given
48 49
 	 */
49 50
 	protected boolean isValidChan(ICallbackInterface eMethod, ChannelInfo cChannel) {
50 51
 		if (specificData.containsKey(eMethod)) { 
@@ -58,6 +59,7 @@ public abstract class CallbackObjectSpecific extends CallbackObject {
58 59
 	 * 
59 60
 	 * @param eMethod Object that is being called back to
60 61
 	 * @param sHost Hostname of user that sent the query
62
+	 * @return true if host given matches the specifics for the method given
61 63
 	 */
62 64
 	protected boolean isValidUser(ICallbackInterface eMethod, String sHost) {
63 65
 		String nickname = ClientInfo.parseHost(sHost);

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelAction.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelAction;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelAction Interface.
33
+ */
31 34
 public class CallbackOnChannelAction extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelAction Interface.
@@ -37,6 +40,7 @@ public class CallbackOnChannelAction extends CallbackObjectSpecific {
37 40
 	 * @param cChannelClient ChannelClient who sent the action (may be null if server)
38 41
 	 * @param sMessage action contents
39 42
 	 * @param sHost Hostname of sender (or servername)
43
+	 * @return true if a callback was called, else false
40 44
 	 */
41 45
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sMessage, String sHost) {
42 46
 		boolean bResult = false;
@@ -63,4 +67,4 @@ public class CallbackOnChannelAction extends CallbackObjectSpecific {
63 67
 	 * @param manager CallbackManager that is in charge of this callback
64 68
 	 */
65 69
 	public CallbackOnChannelAction (IRCParser parser, CallbackManager manager) { super(parser, manager); }
66
-}
70
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelCTCP.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelCTCP;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelCTCP Interface.
33
+ */
31 34
 public class CallbackOnChannelCTCP extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelCTCP Interface.
@@ -38,6 +41,7 @@ public class CallbackOnChannelCTCP extends CallbackObjectSpecific {
38 41
 	 * @param sType Type of CTCP (VERSION, TIME etc)
39 42
 	 * @param sMessage Additional contents
40 43
 	 * @param sHost Hostname of sender (or servername)
44
+	 * @return true if a callback was called, else false
41 45
 	 */
42 46
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sType, String sMessage, String sHost) {
43 47
 		boolean bResult = false;
@@ -64,4 +68,4 @@ public class CallbackOnChannelCTCP extends CallbackObjectSpecific {
64 68
 	 * @param manager CallbackManager that is in charge of this callback
65 69
 	 */
66 70
 	public CallbackOnChannelCTCP (IRCParser parser, CallbackManager manager) { super(parser, manager); }
67
-}
71
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelCTCPReply.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelCTCPReply;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelCTCPReply Interface.
33
+ */
31 34
 public class CallbackOnChannelCTCPReply extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelCTCPReply Interface.
@@ -38,6 +41,7 @@ public class CallbackOnChannelCTCPReply extends CallbackObjectSpecific {
38 41
 	 * @param sType Type of CTCPRReply (VERSION, TIME etc)
39 42
 	 * @param sMessage Reply Contents
40 43
 	 * @param sHost Hostname of sender (or servername)
44
+	 * @return true if a callback was called, else false
41 45
 	 */
42 46
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sType, String sMessage, String sHost) {
43 47
 		boolean bResult = false;
@@ -64,4 +68,4 @@ public class CallbackOnChannelCTCPReply extends CallbackObjectSpecific {
64 68
 	 * @param manager CallbackManager that is in charge of this callback
65 69
 	 */
66 70
 	public CallbackOnChannelCTCPReply (IRCParser parser, CallbackManager manager) { super(parser, manager); }
67
-}
71
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelGotNames.java ファイルの表示

@@ -28,12 +28,16 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelGotNames;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelGotNames Interface.
33
+ */
31 34
 public class CallbackOnChannelGotNames extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelGotNames Interface.
34 37
 	 *
35 38
 	 * @see IChannelGotNames
36 39
 	 * @param cChannel Channel which the names reply is for
40
+	 * @return true if a callback was called, else false
37 41
 	 */
38 42
 	public boolean call(ChannelInfo cChannel) {
39 43
 		boolean bResult = false;
@@ -60,4 +64,4 @@ public class CallbackOnChannelGotNames extends CallbackObjectSpecific {
60 64
 	 * @param manager CallbackManager that is in charge of this callback
61 65
 	 */
62 66
 	public CallbackOnChannelGotNames (IRCParser parser, CallbackManager manager) { super(parser, manager); }
63
-}
67
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelJoin.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelJoin;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelJoin Interface.
33
+ */
31 34
 public class CallbackOnChannelJoin extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelJoin Interface.
@@ -35,6 +38,7 @@ public class CallbackOnChannelJoin extends CallbackObjectSpecific {
35 38
 	 * @see IChannelJoin
36 39
 	 * @param cChannel Channel Object
37 40
 	 * @param cChannelClient ChannelClient object for new person
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient) {
40 44
 		boolean bResult = false;
@@ -61,4 +65,4 @@ public class CallbackOnChannelJoin extends CallbackObjectSpecific {
61 65
 	 * @param manager CallbackManager that is in charge of this callback
62 66
 	 */
63 67
 	public CallbackOnChannelJoin (IRCParser parser, CallbackManager manager) { super(parser, manager); }
64
-}
68
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelKick.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelKick;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelKick Interface.
33
+ */
31 34
 public class CallbackOnChannelKick extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelKick Interface.
@@ -38,6 +41,7 @@ public class CallbackOnChannelKick extends CallbackObjectSpecific {
38 41
 	 * @param cKickedByClient ChannelClient that did the kicking (may be null if server)
39 42
 	 * @param sReason Reason for kick (may be "")
40 43
 	 * @param sKickedByHost Hostname of Kicker (or servername)
44
+	 * @return true if a callback was called, else false
41 45
 	 */
42 46
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cKickedClient, ChannelClientInfo cKickedByClient, String sReason, String sKickedByHost) {
43 47
 		boolean bResult = false;
@@ -64,4 +68,4 @@ public class CallbackOnChannelKick extends CallbackObjectSpecific {
64 68
 	 * @param manager CallbackManager that is in charge of this callback
65 69
 	 */
66 70
 	public CallbackOnChannelKick (IRCParser parser, CallbackManager manager) { super(parser, manager); }
67
-}
71
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelMessage.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelMessage;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelMessage Interface.
33
+ */
31 34
 public class CallbackOnChannelMessage extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelMessage Interface.
@@ -37,6 +40,7 @@ public class CallbackOnChannelMessage extends CallbackObjectSpecific {
37 40
 	 * @param cChannelClient ChannelClient who sent the message (may be null if server)
38 41
 	 * @param sMessage Message contents
39 42
 	 * @param sHost Hostname of sender (or servername)
43
+	 * @return true if a callback was called, else false
40 44
 	 */
41 45
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sMessage, String sHost) {
42 46
 		boolean bResult = false;
@@ -63,4 +67,4 @@ public class CallbackOnChannelMessage extends CallbackObjectSpecific {
63 67
 	 * @param manager CallbackManager that is in charge of this callback
64 68
 	 */
65 69
 	public CallbackOnChannelMessage (IRCParser parser, CallbackManager manager) { super(parser, manager); }
66
-}
70
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelModeChanged.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelModeChanged;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelModeChanged Interface.
33
+ */
31 34
 public class CallbackOnChannelModeChanged extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelModeChanged Interface.
@@ -37,6 +40,7 @@ public class CallbackOnChannelModeChanged extends CallbackObjectSpecific {
37 40
 	 * @param cChannelClient Client chaning the modes (null if server)
38 41
 	 * @param sHost Host doing the mode changing (User host or server name)
39 42
 	 * @param sModes Exact String parsed
43
+	 * @return true if a callback was called, else false
40 44
 	 */
41 45
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sHost, String sModes) {
42 46
 		boolean bResult = false;
@@ -63,4 +67,4 @@ public class CallbackOnChannelModeChanged extends CallbackObjectSpecific {
63 67
 	 * @param manager CallbackManager that is in charge of this callback
64 68
 	 */
65 69
 	public CallbackOnChannelModeChanged (IRCParser parser, CallbackManager manager) { super(parser, manager); }
66
-}
70
+}

+ 5
- 2
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelNickChanged.java ファイルの表示

@@ -27,7 +27,9 @@ package uk.org.ownage.dmdirc.parser.callbacks;
27 27
 import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelNickChanged;
30
-
30
+/**
31
+ * Callback to all objects implementing the IChannelNickChanged Interface.
32
+ */
31 33
 public class CallbackOnChannelNickChanged extends CallbackObjectSpecific {
32 34
 	/**
33 35
 	 * Callback to all objects implementing the IChannelNickChanged Interface.
@@ -36,6 +38,7 @@ public class CallbackOnChannelNickChanged extends CallbackObjectSpecific {
36 38
 	 * @param cChannel One of the channels that the user is on
37 39
 	 * @param cChannelClient Client changing nickname
38 40
 	 * @param sOldNick Nickname before change
41
+	 * @return true if a callback was called, else false
39 42
 	 */
40 43
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sOldNick) {
41 44
 		boolean bResult = false;
@@ -62,4 +65,4 @@ public class CallbackOnChannelNickChanged extends CallbackObjectSpecific {
62 65
 	 * @param manager CallbackManager that is in charge of this callback
63 66
 	 */
64 67
 	public CallbackOnChannelNickChanged (IRCParser parser, CallbackManager manager) { super(parser, manager); }
65
-}
68
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelNonUserModeChanged.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelNonUserModeChanged;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelNonUserModeChanged Interface.
33
+ */
31 34
 public class CallbackOnChannelNonUserModeChanged extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelNonUserModeChanged Interface.
@@ -37,6 +40,7 @@ public class CallbackOnChannelNonUserModeChanged extends CallbackObjectSpecific
37 40
 	 * @param cChannelClient Client changing the modes (null if server)
38 41
 	 * @param sHost Host doing the mode changing (User host or server name)
39 42
 	 * @param sModes Exact String parsed (not including user modes)
43
+	 * @return true if a callback was called, else false
40 44
 	 */
41 45
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sHost, String sModes) {
42 46
 		boolean bResult = false;
@@ -63,4 +67,4 @@ public class CallbackOnChannelNonUserModeChanged extends CallbackObjectSpecific
63 67
 	 * @param manager CallbackManager that is in charge of this callback
64 68
 	 */
65 69
 	public CallbackOnChannelNonUserModeChanged (IRCParser parser, CallbackManager manager) { super(parser, manager); }
66
-}
70
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelNotice.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelNotice;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelNotice Interface.
33
+ */
31 34
 public class CallbackOnChannelNotice extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelNotice Interface.
@@ -37,6 +40,7 @@ public class CallbackOnChannelNotice extends CallbackObjectSpecific {
37 40
 	 * @param cChannelClient ChannelClient who sent the notice (may be null if server)
38 41
 	 * @param sMessage notice contents
39 42
 	 * @param sHost Hostname of sender (or servername)
43
+	 * @return true if a callback was called, else false
40 44
 	 */
41 45
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sMessage, String sHost) {
42 46
 		boolean bResult = false;
@@ -64,4 +68,4 @@ public class CallbackOnChannelNotice extends CallbackObjectSpecific {
64 68
 	 * @param manager CallbackManager that is in charge of this callback
65 69
 	 */
66 70
 	public CallbackOnChannelNotice (IRCParser parser, CallbackManager manager) { super(parser, manager); }
67
-}
71
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelPart.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelPart;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelPart Interface.
33
+ */
31 34
 public class CallbackOnChannelPart extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelPart Interface.
@@ -36,6 +39,7 @@ public class CallbackOnChannelPart extends CallbackObjectSpecific {
36 39
 	 * @param cChannel Channel that the user parted
37 40
 	 * @param cChannelClient Client that parted
38 41
 	 * @param sReason Reason given for parting (May be "")
42
+	 * @return true if a callback was called, else false
39 43
 	 */
40 44
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sReason) {
41 45
 		boolean bResult = false;
@@ -62,4 +66,4 @@ public class CallbackOnChannelPart extends CallbackObjectSpecific {
62 66
 	 * @param manager CallbackManager that is in charge of this callback
63 67
 	 */
64 68
 	public CallbackOnChannelPart (IRCParser parser, CallbackManager manager) { super(parser, manager); }
65
-}
69
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelQuit.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelQuit;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelQuit Interface.
33
+ */
31 34
 public class CallbackOnChannelQuit extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelQuit Interface.
@@ -36,6 +39,7 @@ public class CallbackOnChannelQuit extends CallbackObjectSpecific {
36 39
 	 * @param cChannel Channel that user was on
37 40
 	 * @param cChannelClient User thats quitting
38 41
 	 * @param sReason Quit reason
42
+	 * @return true if a callback was called, else false
39 43
 	 */
40 44
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sReason) {
41 45
 		boolean bResult = false;
@@ -62,4 +66,4 @@ public class CallbackOnChannelQuit extends CallbackObjectSpecific {
62 66
 	 * @param manager CallbackManager that is in charge of this callback
63 67
 	 */
64 68
 	public CallbackOnChannelQuit (IRCParser parser, CallbackManager manager) { super(parser, manager); }
65
-}
69
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelSelfJoin.java ファイルの表示

@@ -28,12 +28,16 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelSelfJoin;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelSelfJoin Interface.
33
+ */
31 34
 public class CallbackOnChannelSelfJoin extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelSelfJoin Interface.
34 37
 	 *
35 38
 	 * @see IChannelSelfJoin
36 39
 	 * @param cChannel Channel Object
40
+	 * @return true if a callback was called, else false
37 41
 	 */
38 42
 	public boolean call(ChannelInfo cChannel) {
39 43
 		boolean bResult = false;
@@ -57,4 +61,4 @@ public class CallbackOnChannelSelfJoin extends CallbackObject {
57 61
 	 * @param manager CallbackManager that is in charge of this callback
58 62
 	 */
59 63
 	public CallbackOnChannelSelfJoin (IRCParser parser, CallbackManager manager) { super(parser, manager); }
60
-}
64
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelSingleModeChanged.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelSingleModeChanged;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelSingleModeChanged Interface.
33
+ */
31 34
 public class CallbackOnChannelSingleModeChanged extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelSingleModeChanged Interface.
@@ -37,6 +40,7 @@ public class CallbackOnChannelSingleModeChanged extends CallbackObjectSpecific {
37 40
 	 * @param cChannelClient Client chaning the modes (null if server)
38 41
 	 * @param sHost Host doing the mode changing (User host or server name)
39 42
 	 * @param sModes String parsed (ie "+m" or "+k moo"
43
+	 * @return true if a callback was called, else false
40 44
 	 */
41 45
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sHost, String sModes) {
42 46
 		boolean bResult = false;
@@ -63,4 +67,4 @@ public class CallbackOnChannelSingleModeChanged extends CallbackObjectSpecific {
63 67
 	 * @param manager CallbackManager that is in charge of this callback
64 68
 	 */
65 69
 	public CallbackOnChannelSingleModeChanged (IRCParser parser, CallbackManager manager) { super(parser, manager); }
66
-}
70
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelTopic.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelTopic;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelTopic Interface.
33
+ */
31 34
 public class CallbackOnChannelTopic extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelTopic Interface.
@@ -35,6 +38,7 @@ public class CallbackOnChannelTopic extends CallbackObjectSpecific {
35 38
 	 * @see IChannelTopic
36 39
 	 * @param cChannel Channel that topic was set on
37 40
 	 * @param bIsJoinTopic True when getting topic on join, false if set by user/server
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(ChannelInfo cChannel, boolean bIsJoinTopic) {
40 44
 		boolean bResult = false;
@@ -61,4 +65,4 @@ public class CallbackOnChannelTopic extends CallbackObjectSpecific {
61 65
 	 * @param manager CallbackManager that is in charge of this callback
62 66
 	 */
63 67
 	public CallbackOnChannelTopic (IRCParser parser, CallbackManager manager) { super(parser, manager); }
64
-}
68
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnChannelUserModeChanged.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IChannelUserModeChanged;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IChannelUserModeChanged Interface.
33
+ */
31 34
 public class CallbackOnChannelUserModeChanged extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IChannelUserModeChanged Interface.
@@ -38,6 +41,7 @@ public class CallbackOnChannelUserModeChanged extends CallbackObjectSpecific {
38 41
 	 * @param cSetByClient Client chaning the modes (null if server)
39 42
 	 * @param sMode String representing mode change (ie +o)
40 43
 	 * @param sHost Host doing the mode changing (User host or server name)
44
+	 * @return true if a callback was called, else false
41 45
 	 */
42 46
 	public boolean call(ChannelInfo cChannel, ChannelClientInfo cChangedClient, ChannelClientInfo cSetByClient, String sHost, String sMode) {
43 47
 		boolean bResult = false;
@@ -64,4 +68,4 @@ public class CallbackOnChannelUserModeChanged extends CallbackObjectSpecific {
64 68
 	 * @param manager CallbackManager that is in charge of this callback
65 69
 	 */
66 70
 	public CallbackOnChannelUserModeChanged (IRCParser parser, CallbackManager manager) { super(parser, manager); }
67
-}
71
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnDataIn.java ファイルの表示

@@ -28,12 +28,16 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IDataIn;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IDataIn Interface.
33
+ */
31 34
 public class CallbackOnDataIn extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IDataIn Interface.
34 37
 	 *
35 38
 	 * @see IDataIn
36 39
 	 * @param data Incomming Line.
40
+	 * @return true if a callback was called, else false
37 41
 	 */
38 42
 	public boolean call(String data) {
39 43
 		boolean bResult = false;
@@ -57,4 +61,4 @@ public class CallbackOnDataIn extends CallbackObject {
57 61
 	 * @param manager CallbackManager that is in charge of this callback
58 62
 	 */
59 63
 	public CallbackOnDataIn (IRCParser parser, CallbackManager manager) { super(parser, manager); }
60
-}
64
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnDataOut.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IDataOut;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IDataOut Interface.
33
+ */
31 34
 public class CallbackOnDataOut extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IDataOut Interface.
@@ -35,6 +38,7 @@ public class CallbackOnDataOut extends CallbackObject {
35 38
 	 * @see IDataOut
36 39
 	 * @param data Outgoing Data
37 40
 	 * @param FromParser True if parser sent the data, false if sent using .sendLine	 
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(String data, boolean FromParser) {
40 44
 		boolean bResult = false;
@@ -58,4 +62,4 @@ public class CallbackOnDataOut extends CallbackObject {
58 62
 	 * @param manager CallbackManager that is in charge of this callback
59 63
 	 */
60 64
 	public CallbackOnDataOut (IRCParser parser, CallbackManager manager) { super(parser, manager); }
61
-}
65
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnDebugInfo.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IDebugInfo;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IDebugInfo Interface.
33
+ */
31 34
 public class CallbackOnDebugInfo extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IDebugInfo Interface.
@@ -35,6 +38,7 @@ public class CallbackOnDebugInfo extends CallbackObject {
35 38
 	 * @see IDebugInfo
36 39
 	 * @param level Debugging Level (ndInfo, ndSocket etc)
37 40
 	 * @param data Debugging Information
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(int level, String data) {
40 44
 		boolean bResult = false;
@@ -58,4 +62,4 @@ public class CallbackOnDebugInfo extends CallbackObject {
58 62
 	 * @param manager CallbackManager that is in charge of this callback
59 63
 	 */
60 64
 	public CallbackOnDebugInfo (IRCParser parser, CallbackManager manager) { super(parser, manager); }
61
-}
65
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnErrorInfo.java ファイルの表示

@@ -28,12 +28,16 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IErrorInfo;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IErrorInfo Interface.
33
+ */
31 34
 public class CallbackOnErrorInfo extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IErrorInfo Interface.
34 37
 	 *
35 38
 	 * @see IErrorInfo
36 39
 	 * @param errorInfo ParserError object representing the error.
40
+	 * @return true if a callback was called, else false
37 41
 	 */
38 42
 	public boolean call(ParserError errorInfo) {
39 43
 		boolean bResult = false;
@@ -57,4 +61,4 @@ public class CallbackOnErrorInfo extends CallbackObject {
57 61
 	 * @param manager CallbackManager that is in charge of this callback
58 62
 	 */
59 63
 	public CallbackOnErrorInfo (IRCParser parser, CallbackManager manager) { super(parser, manager); }
60
-}
64
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnMOTDEnd.java ファイルの表示

@@ -28,11 +28,15 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IMOTDEnd;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IMotdEnd Interface.
33
+ */
31 34
 public class CallbackOnMOTDEnd extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IMotdEnd Interface.
34 37
 	 *
35 38
 	 * @see IMOTDEnd
39
+	 * @return true if a callback was called, else false
36 40
 	 */
37 41
 	public boolean call(boolean noMOTD) {
38 42
 		boolean bResult = false;
@@ -56,4 +60,4 @@ public class CallbackOnMOTDEnd extends CallbackObject {
56 60
 	 * @param manager CallbackManager that is in charge of this callback
57 61
 	 */
58 62
 	public CallbackOnMOTDEnd (IRCParser parser, CallbackManager manager) { super(parser, manager); }
59
-}
63
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnMOTDLine.java ファイルの表示

@@ -28,12 +28,16 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IMOTDLine;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IMOTDLine Interface.
33
+ */
31 34
 public class CallbackOnMOTDLine extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IMOTDLine Interface.
34 37
 	 *
35 38
 	 * @see IMOTDLine
36 39
 	 * @param data Incomming Line.
40
+	 * @return true if a callback was called, else false
37 41
 	 */
38 42
 	public boolean call(String data) {
39 43
 		boolean bResult = false;
@@ -57,4 +61,4 @@ public class CallbackOnMOTDLine extends CallbackObject {
57 61
 	 * @param manager CallbackManager that is in charge of this callback
58 62
 	 */
59 63
 	public CallbackOnMOTDLine (IRCParser parser, CallbackManager manager) { super(parser, manager); }
60
-}
64
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnMOTDStart.java ファイルの表示

@@ -28,12 +28,16 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IMOTDStart;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IMOTDStart Interface.
33
+ */
31 34
 public class CallbackOnMOTDStart extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IMOTDStart Interface.
34 37
 	 *
35 38
 	 * @see IMOTDStart
36 39
 	 * @param data Incomming Line.
40
+	 * @return true if a callback was called, else false
37 41
 	 */
38 42
 	public boolean call(String data) {
39 43
 		boolean bResult = false;
@@ -57,4 +61,4 @@ public class CallbackOnMOTDStart extends CallbackObject {
57 61
 	 * @param manager CallbackManager that is in charge of this callback
58 62
 	 */
59 63
 	public CallbackOnMOTDStart (IRCParser parser, CallbackManager manager) { super(parser, manager); }
60
-}
64
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnNickChanged.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.INickChanged;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the INickChanged Interface.
33
+ */
31 34
 public class CallbackOnNickChanged extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the INickChanged Interface.
@@ -35,6 +38,7 @@ public class CallbackOnNickChanged extends CallbackObject {
35 38
 	 * @see INickChanged
36 39
 	 * @param cClient Client changing nickname
37 40
 	 * @param sOldNick Nickname before change
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(ClientInfo cClient, String sOldNick) {
40 44
 		boolean bResult = false;
@@ -58,4 +62,4 @@ public class CallbackOnNickChanged extends CallbackObject {
58 62
 	 * @param manager CallbackManager that is in charge of this callback
59 63
 	 */
60 64
 	public CallbackOnNickChanged (IRCParser parser, CallbackManager manager) { super(parser, manager); }
61
-}
65
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnNickInUse.java ファイルの表示

@@ -28,11 +28,15 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.INickInUse;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the INickInUse Interface.
33
+ */
31 34
 public class CallbackOnNickInUse extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the INickInUse Interface.
34 37
 	 *
35 38
 	 * @see INickInUse
39
+	 * @return true if a callback was called, else false
36 40
 	 */
37 41
 	public boolean call() {
38 42
 		boolean bResult = false;
@@ -56,4 +60,4 @@ public class CallbackOnNickInUse extends CallbackObject {
56 60
 	 * @param manager CallbackManager that is in charge of this callback
57 61
 	 */
58 62
 	public CallbackOnNickInUse (IRCParser parser, CallbackManager manager) { super(parser, manager); }
59
-}
63
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnNoticeAuth.java ファイルの表示

@@ -28,12 +28,16 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.INoticeAuth;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the INoticeAuth Interface.
33
+ */
31 34
 public class CallbackOnNoticeAuth extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the INoticeAuth Interface.
34 37
 	 *
35 38
 	 * @see INoticeAuth
36 39
 	 * @param data Incomming Line.
40
+	 * @return true if a callback was called, else false
37 41
 	 */
38 42
 	public boolean call(String data) {
39 43
 		boolean bResult = false;
@@ -57,4 +61,4 @@ public class CallbackOnNoticeAuth extends CallbackObject {
57 61
 	 * @param manager CallbackManager that is in charge of this callback
58 62
 	 */
59 63
 	public CallbackOnNoticeAuth (IRCParser parser, CallbackManager manager) { super(parser, manager); }
60
-}
64
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateAction.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IPrivateAction;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IPrivateAction Interface.
33
+ */
31 34
 public class CallbackOnPrivateAction extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IPrivateAction Interface.
@@ -35,6 +38,7 @@ public class CallbackOnPrivateAction extends CallbackObjectSpecific {
35 38
 	 * @see IPrivateAction
36 39
 	 * @param sMessage action contents
37 40
 	 * @param sHost Hostname of sender (or servername)
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(String sMessage, String sHost) {
40 44
 		boolean bResult = false;
@@ -61,4 +65,4 @@ public class CallbackOnPrivateAction extends CallbackObjectSpecific {
61 65
 	 * @param manager CallbackManager that is in charge of this callback
62 66
 	 */
63 67
 	public CallbackOnPrivateAction (IRCParser parser, CallbackManager manager) { super(parser, manager); }
64
-}
68
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateCTCP.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IPrivateCTCP;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IPrivateCTCP Interface.
33
+ */
31 34
 public class CallbackOnPrivateCTCP extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IPrivateCTCP Interface.
@@ -36,6 +39,7 @@ public class CallbackOnPrivateCTCP extends CallbackObjectSpecific {
36 39
 	 * @param sType Type of CTCP (VERSION, TIME etc)
37 40
 	 * @param sMessage Additional contents
38 41
 	 * @param sHost Hostname of sender (or servername)
42
+	 * @return true if a callback was called, else false
39 43
 	 */
40 44
 	public boolean call(String sType, String sMessage, String sHost) {
41 45
 		boolean bResult = false;
@@ -62,4 +66,4 @@ public class CallbackOnPrivateCTCP extends CallbackObjectSpecific {
62 66
 	 * @param manager CallbackManager that is in charge of this callback
63 67
 	 */
64 68
 	public CallbackOnPrivateCTCP (IRCParser parser, CallbackManager manager) { super(parser, manager); }
65
-}
69
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateCTCPReply.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IPrivateCTCPReply;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IPrivateCTCPReply Interface.
33
+ */
31 34
 public class CallbackOnPrivateCTCPReply extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IPrivateCTCPReply Interface.
@@ -36,6 +39,7 @@ public class CallbackOnPrivateCTCPReply extends CallbackObjectSpecific {
36 39
 	 * @param sType Type of CTCPRReply (VERSION, TIME etc)
37 40
 	 * @param sMessage Reply Contents
38 41
 	 * @param sHost Hostname of sender (or servername)
42
+	 * @return true if a callback was called, else false
39 43
 	 */
40 44
 	public boolean call(String sType, String sMessage, String sHost) {
41 45
 		boolean bResult = false;
@@ -62,4 +66,4 @@ public class CallbackOnPrivateCTCPReply extends CallbackObjectSpecific {
62 66
 	 * @param manager CallbackManager that is in charge of this callback
63 67
 	 */
64 68
 	public CallbackOnPrivateCTCPReply (IRCParser parser, CallbackManager manager) { super(parser, manager); }
65
-}
69
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateMessage.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IPrivateMessage;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IPrivateMessage Interface.
33
+ */
31 34
 public class CallbackOnPrivateMessage extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IPrivateMessage Interface.
@@ -35,6 +38,7 @@ public class CallbackOnPrivateMessage extends CallbackObjectSpecific {
35 38
 	 * @see IPrivateMessage
36 39
 	 * @param sMessage Message contents
37 40
 	 * @param sHost Hostname of sender (or servername)
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(String sMessage, String sHost) {
40 44
 		boolean bResult = false;
@@ -61,4 +65,4 @@ public class CallbackOnPrivateMessage extends CallbackObjectSpecific {
61 65
 	 * @param manager CallbackManager that is in charge of this callback
62 66
 	 */
63 67
 	public CallbackOnPrivateMessage (IRCParser parser, CallbackManager manager) { super(parser, manager); }
64
-}
68
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnPrivateNotice.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IPrivateNotice;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IPrivateNotice Interface.
33
+ */
31 34
 public class CallbackOnPrivateNotice extends CallbackObjectSpecific {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IPrivateNotice Interface.
@@ -35,6 +38,7 @@ public class CallbackOnPrivateNotice extends CallbackObjectSpecific {
35 38
 	 * @see IPrivateNotice
36 39
 	 * @param sMessage Notice contents
37 40
 	 * @param sHost Hostname of sender (or servername)
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(String sMessage, String sHost) {
40 44
 		boolean bResult = false;
@@ -61,4 +65,4 @@ public class CallbackOnPrivateNotice extends CallbackObjectSpecific {
61 65
 	 * @param manager CallbackManager that is in charge of this callback
62 66
 	 */
63 67
 	public CallbackOnPrivateNotice (IRCParser parser, CallbackManager manager) { super(parser, manager); }
64
-}
68
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnQuit.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IQuit;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IQuit Interface.
33
+ */
31 34
 public class CallbackOnQuit extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IQuit Interface.
@@ -35,6 +38,7 @@ public class CallbackOnQuit extends CallbackObject {
35 38
 	 * @see IQuit
36 39
 	 * @param cClient Client Quitting
37 40
 	 * @param sReason Reason for quitting (may be "")
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(ClientInfo cClient, String sReason) {
40 44
 		boolean bResult = false;
@@ -58,4 +62,4 @@ public class CallbackOnQuit extends CallbackObject {
58 62
 	 * @param manager CallbackManager that is in charge of this callback
59 63
 	 */
60 64
 	public CallbackOnQuit (IRCParser parser, CallbackManager manager) { super(parser, manager); }
61
-}
65
+}

+ 6
- 2
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnServerReady.java ファイルの表示

@@ -28,12 +28,16 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IServerReady;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IServerReady Interface.
33
+ */
31 34
 public class CallbackOnServerReady extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IServerReady Interface.
34 37
 	 *
35 38
 	 * @see IServerReady
36
-	 */	
39
+	 * @return true if a callback was called, else false
40
+	 */
37 41
 	public boolean call() {
38 42
 		boolean bResult = false;
39 43
 		for (int i = 0; i < callbackInfo.size(); i++) {
@@ -56,4 +60,4 @@ public class CallbackOnServerReady extends CallbackObject {
56 60
 	 * @param manager CallbackManager that is in charge of this callback
57 61
 	 */
58 62
 	public CallbackOnServerReady (IRCParser parser, CallbackManager manager) { super(parser, manager); }
59
-}
63
+}

+ 6
- 2
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnSocketClosed.java ファイルの表示

@@ -28,12 +28,16 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.ISocketClosed;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the ISocketClosed Interface.
33
+ */
31 34
 public class CallbackOnSocketClosed extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the ISocketClosed Interface.
34 37
 	 *
35 38
 	 * @see ISocketClosed
36
-	 */	
39
+	 * @return true if a callback was called, else false
40
+	 */
37 41
 	public boolean call() {
38 42
 		boolean bResult = false;
39 43
 		for (int i = 0; i < callbackInfo.size(); i++) {
@@ -56,4 +60,4 @@ public class CallbackOnSocketClosed extends CallbackObject {
56 60
 	 * @param manager CallbackManager that is in charge of this callback
57 61
 	 */
58 62
 	public CallbackOnSocketClosed (IRCParser parser, CallbackManager manager) { super(parser, manager); }
59
-}
63
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownAction.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IUnknownAction;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IUnknownAction Interface.
33
+ */
31 34
 public class CallbackOnUnknownAction extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IUnknownAction Interface.
@@ -36,6 +39,7 @@ public class CallbackOnUnknownAction extends CallbackObject {
36 39
 	 * @param sMessage Action contents
37 40
 	 * @param sTarget Actual target of action
38 41
 	 * @param sHost Hostname of sender (or servername)
42
+	 * @return true if a callback was called, else false
39 43
 	 */
40 44
 	public boolean call(String sMessage, String sTarget, String sHost) {
41 45
 		boolean bResult = false;
@@ -59,4 +63,4 @@ public class CallbackOnUnknownAction extends CallbackObject {
59 63
 	 * @param manager CallbackManager that is in charge of this callback
60 64
 	 */
61 65
 	public CallbackOnUnknownAction (IRCParser parser, CallbackManager manager) { super(parser, manager); }
62
-}
66
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownCTCP.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IUnknownCTCP;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IUnknownCTCP Interface.
33
+ */
31 34
 public class CallbackOnUnknownCTCP extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IUnknownCTCP Interface.
@@ -37,6 +40,7 @@ public class CallbackOnUnknownCTCP extends CallbackObject {
37 40
 	 * @param sMessage Additional contents
38 41
 	 * @param sTarget Actual Target of CTCP
39 42
 	 * @param sHost Hostname of sender (or servername)
43
+	 * @return true if a callback was called, else false
40 44
 	 */
41 45
 	public boolean call(String sType, String sMessage, String sTarget, String sHost) {
42 46
 		boolean bResult = false;
@@ -60,4 +64,4 @@ public class CallbackOnUnknownCTCP extends CallbackObject {
60 64
 	 * @param manager CallbackManager that is in charge of this callback
61 65
 	 */
62 66
 	public CallbackOnUnknownCTCP (IRCParser parser, CallbackManager manager) { super(parser, manager); }
63
-}
67
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownCTCPReply.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IUnknownCTCPReply;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IUnknownCTCPReply Interface.
33
+ */
31 34
 public class CallbackOnUnknownCTCPReply extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IUnknownCTCPReply Interface.
@@ -37,6 +40,7 @@ public class CallbackOnUnknownCTCPReply extends CallbackObject {
37 40
 	 * @param sMessage Reply Contents
38 41
 	 * @param sTarget Actual Target of CTCPReply
39 42
 	 * @param sHost Hostname of sender (or servername)
43
+	 * @return true if a callback was called, else false
40 44
 	 */
41 45
 	public boolean call(String sType, String sMessage, String sTarget, String sHost) {
42 46
 		boolean bResult = false;
@@ -60,4 +64,4 @@ public class CallbackOnUnknownCTCPReply extends CallbackObject {
60 64
 	 * @param manager CallbackManager that is in charge of this callback
61 65
 	 */
62 66
 	public CallbackOnUnknownCTCPReply (IRCParser parser, CallbackManager manager) { super(parser, manager); }
63
-}
67
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownMessage.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IUnknownMessage;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IUnknownMessage Interface.
33
+ */
31 34
 public class CallbackOnUnknownMessage extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IUnknownMessage Interface.
@@ -36,6 +39,7 @@ public class CallbackOnUnknownMessage extends CallbackObject {
36 39
 	 * @param sMessage Message contents
37 40
 	 * @param sTarget Actual target of message
38 41
 	 * @param sHost Hostname of sender (or servername)
42
+	 * @return true if a callback was called, else false
39 43
 	 */
40 44
 	public boolean call(String sMessage, String sTarget, String sHost) {
41 45
 		boolean bResult = false;
@@ -59,4 +63,4 @@ public class CallbackOnUnknownMessage extends CallbackObject {
59 63
 	 * @param manager CallbackManager that is in charge of this callback
60 64
 	 */
61 65
 	public CallbackOnUnknownMessage (IRCParser parser, CallbackManager manager) { super(parser, manager); }
62
-}
66
+}

+ 5
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUnknownNotice.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import  uk.org.ownage.dmdirc.parser.callbacks.interfaces.IUnknownNotice;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IUnknownNotice Interface.
33
+ */
31 34
 public class CallbackOnUnknownNotice extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IUnknownNotice Interface.
@@ -36,6 +39,7 @@ public class CallbackOnUnknownNotice extends CallbackObject {
36 39
 	 * @param sMessage Notice contents
37 40
 	 * @param sTarget Actual target of notice
38 41
 	 * @param sHost Hostname of sender (or servername)
42
+	 * @return true if a callback was called, else false
39 43
 	 */
40 44
 	public boolean call(String sMessage, String sTarget, String sHost) {
41 45
 		boolean bResult = false;
@@ -59,4 +63,4 @@ public class CallbackOnUnknownNotice extends CallbackObject {
59 63
 	 * @param manager CallbackManager that is in charge of this callback
60 64
 	 */
61 65
 	public CallbackOnUnknownNotice (IRCParser parser, CallbackManager manager) { super(parser, manager); }
62
-}
66
+}

+ 6
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/CallbackOnUserModeChanged.java ファイルの表示

@@ -28,6 +28,9 @@ import uk.org.ownage.dmdirc.parser.*;
28 28
 import uk.org.ownage.dmdirc.parser.callbacks.CallbackManager;
29 29
 import uk.org.ownage.dmdirc.parser.callbacks.interfaces.IUserModeChanged;
30 30
 
31
+/**
32
+ * Callback to all objects implementing the IUserModeChanged Interface.
33
+ */
31 34
 public class CallbackOnUserModeChanged extends CallbackObject {
32 35
 	/**
33 36
 	 * Callback to all objects implementing the IUserModeChanged Interface.
@@ -35,6 +38,7 @@ public class CallbackOnUserModeChanged extends CallbackObject {
35 38
 	 * @see IUserModeChanged
36 39
 	 * @param cClient Client that had the mode changed (almost always us)
37 40
 	 * @param sSetby Host that set the mode (us or servername)
41
+	 * @return true if a callback was called, else false
38 42
 	 */
39 43
 	public boolean call(ClientInfo cClient, String sSetby) {
40 44
 		boolean bResult = false;
@@ -58,4 +62,5 @@ public class CallbackOnUserModeChanged extends CallbackObject {
58 62
 	 * @param manager CallbackManager that is in charge of this callback
59 63
 	 */
60 64
 	public CallbackOnUserModeChanged (IRCParser parser, CallbackManager manager) { super(parser, manager); }
61
-}
65
+}
66
+

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/ICallbackInterface.java ファイルの表示

@@ -27,4 +27,4 @@ package uk.org.ownage.dmdirc.parser.callbacks.interfaces;
27 27
 /**
28 28
  * "SuperInterface" for all callbacks
29 29
  */
30
-public interface ICallbackInterface { }
30
+public interface ICallbackInterface { }

+ 2
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelAction.java ファイルの表示

@@ -1,3 +1,4 @@
1
+
1 2
 /*
2 3
  * Copyright (c) 2006-2007 Chris Smith, Shane Mc Cormack
3 4
  *
@@ -48,4 +49,4 @@ public interface IChannelAction extends ICallbackInterface {
48 49
 	 * @see ProcessMessage#callChannelAction
49 50
 	 */
50 51
 	public void onChannelAction(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sMessage, String sHost );
51
-}
52
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelCTCP.java ファイルの表示

@@ -49,4 +49,4 @@ public interface IChannelCTCP extends ICallbackInterface {
49 49
 	 * @see ProcessMessage#callChannelCTCP
50 50
 	 */
51 51
 	public void onChannelCTCP(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sType, String sMessage, String sHost );
52
-}
52
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelCTCPReply.java ファイルの表示

@@ -49,4 +49,4 @@ public interface IChannelCTCPReply extends ICallbackInterface {
49 49
 	 * @see ProcessMessage#callChannelCTCPReply
50 50
 	 */
51 51
 	public void onChannelCTCPReply(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sType, String sMessage, String sHost );
52
-}
52
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelGotNames.java ファイルの表示

@@ -40,4 +40,4 @@ public interface IChannelGotNames extends ICallbackInterface {
40 40
 	 * @see ProcessNames#callChannelGotNames
41 41
 	 */
42 42
 	public void onChannelGotNames(IRCParser tParser, ChannelInfo cChannel);
43
-}
43
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelJoin.java ファイルの表示

@@ -44,4 +44,4 @@ public interface IChannelJoin extends ICallbackInterface {
44 44
 	 * @see ProcessJoin#callChannelJoin
45 45
 	 */
46 46
 	public void onChannelJoin(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient );
47
-}
47
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelKick.java ファイルの表示

@@ -47,4 +47,4 @@ public interface IChannelKick extends ICallbackInterface {
47 47
 	 * @see ProcessKick#callChannelKick
48 48
 	 */
49 49
 	public void onChannelKick(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cKickedClient, ChannelClientInfo cKickedByClient, String sReason, String sKickedByHost);
50
-}
50
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelMessage.java ファイルの表示

@@ -48,4 +48,4 @@ public interface IChannelMessage extends ICallbackInterface {
48 48
 	 * @see ProcessMessage#callChannelMessage
49 49
 	 */
50 50
 	public void onChannelMessage(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sMessage, String sHost );
51
-}
51
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelModeChanged.java ファイルの表示

@@ -48,4 +48,4 @@ public interface IChannelModeChanged extends ICallbackInterface {
48 48
 	 * @see ProcessMode#callChannelModeChanged
49 49
 	 */
50 50
 	public void onChannelModeChanged(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sHost, String sModes);
51
-}
51
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelNickChanged.java ファイルの表示

@@ -45,4 +45,4 @@ public interface IChannelNickChanged extends ICallbackInterface {
45 45
 	 * @see ProcessNick#callChannelNickChanged
46 46
 	 */
47 47
 	 public void onChannelNickChanged(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sOldNick);
48
-}
48
+}

+ 1
- 0
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelNonUserModeChanged.java ファイルの表示

@@ -48,3 +48,4 @@ public interface IChannelNonUserModeChanged extends ICallbackInterface {
48 48
 	 */
49 49
 	public void onChannelNonUserModeChanged(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sHost, String sModes);
50 50
 }
51
+

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelNotice.java ファイルの表示

@@ -48,4 +48,4 @@ public interface IChannelNotice extends ICallbackInterface {
48 48
 	 * @see ProcessMessage#callChannelNotice
49 49
 	 */
50 50
 	public void onChannelNotice(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sMessage, String sHost );
51
-}
51
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelPart.java ファイルの表示

@@ -45,4 +45,4 @@ public interface IChannelPart extends ICallbackInterface {
45 45
 	 * @see ProcessPart#callChannelPart
46 46
 	 */
47 47
 	public void onChannelPart(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sReason );
48
-}
48
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelQuit.java ファイルの表示

@@ -45,4 +45,4 @@ public interface IChannelQuit extends ICallbackInterface {
45 45
 	 * @see ProcessQuit#callChannelQuit
46 46
 	 */
47 47
 	public void onChannelQuit(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sReason );
48
-}
48
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelSelfJoin.java ファイルの表示

@@ -42,4 +42,4 @@ public interface IChannelSelfJoin extends ICallbackInterface {
42 42
 	 * @see ProcessJoin#callChannelSelfJoin
43 43
 	 */
44 44
 	public void onChannelSelfJoin(IRCParser tParser, ChannelInfo cChannel);
45
-}
45
+}

+ 1
- 0
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelSingleModeChanged.java ファイルの表示

@@ -48,3 +48,4 @@ public interface IChannelSingleModeChanged extends ICallbackInterface {
48 48
 	 */
49 49
 	public void onChannelSingleModeChanged(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChannelClient, String sHost, String sModes);
50 50
 }
51
+

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelTopic.java ファイルの表示

@@ -43,4 +43,4 @@ public interface IChannelTopic extends ICallbackInterface {
43 43
 	 * @see ProcessTopic#callChannelTopic
44 44
 	 */
45 45
 	public void onChannelTopic(IRCParser tParser, ChannelInfo cChannel, boolean bIsJoinTopic);
46
-}
46
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IChannelUserModeChanged.java ファイルの表示

@@ -47,4 +47,4 @@ public interface IChannelUserModeChanged extends ICallbackInterface {
47 47
 	 * @see ProcessMode#callChannelUserModeChanged
48 48
 	 */
49 49
 	public void onChannelUserModeChanged(IRCParser tParser, ChannelInfo cChannel, ChannelClientInfo cChangedClient, ChannelClientInfo cSetByClient, String sHost, String sMode);
50
-}
50
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IDataIn.java ファイルの表示

@@ -38,4 +38,4 @@ public interface IDataIn extends ICallbackInterface {
38 38
 	 * @see IRCParser#callDataIn
39 39
 	 */
40 40
 	public void onDataIn(IRCParser tParser, String sData);
41
-}
41
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IDataOut.java ファイルの表示

@@ -39,4 +39,4 @@ public interface IDataOut extends ICallbackInterface {
39 39
 	 * @see IRCParser#callDataOut
40 40
 	 */
41 41
 	public void onDataOut(IRCParser tParser, String sData, boolean bFromParser);
42
-}
42
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IDebugInfo.java ファイルの表示

@@ -39,4 +39,4 @@ public interface IDebugInfo extends ICallbackInterface {
39 39
 	 * @see IRCParser#callDebugInfo
40 40
 	 */
41 41
 	public void onDebugInfo(IRCParser tParser, int nLevel, String sData);
42
-}
42
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IErrorInfo.java ファイルの表示

@@ -39,4 +39,4 @@ public interface IErrorInfo extends ICallbackInterface {
39 39
 	 * @see IRCParser#callErrorInfo
40 40
 	 */
41 41
 	public void onErrorInfo(IRCParser tParser, ParserError errorInfo);
42
-}
42
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IMOTDEnd.java ファイルの表示

@@ -39,4 +39,4 @@ public interface IMOTDEnd extends ICallbackInterface {
39 39
 		* @see ProcessMOTD#callMOTDEnd
40 40
 		*/
41 41
 	public void onMOTDEnd(IRCParser tParser, boolean noMOTD);
42
-}
42
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IMOTDLine.java ファイルの表示

@@ -39,4 +39,4 @@ public interface IMOTDLine extends ICallbackInterface {
39 39
 	 * @see ProcessMOTD#callMOTDLine
40 40
 	 */
41 41
 	public void onMOTDLine(IRCParser tParser, String sData);
42
-}
42
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IMOTDStart.java ファイルの表示

@@ -39,4 +39,4 @@ public interface IMOTDStart extends ICallbackInterface {
39 39
 	 * @see ProcessMOTD#callMOTDStart
40 40
 	 */
41 41
 	public void onMOTDStart(IRCParser tParser, String sData);
42
-}
42
+}

+ 2
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/INickChanged.java ファイルの表示

@@ -1,3 +1,4 @@
1
+
1 2
 /*
2 3
  * Copyright (c) 2006-2007 Chris Smith, Shane Mc Cormack
3 4
  *
@@ -43,4 +44,4 @@ public interface INickChanged extends ICallbackInterface {
43 44
 	 * @see ProcessNick#callNickChanged
44 45
 	 */
45 46
 	public void onNickChanged(IRCParser tParser, ClientInfo cClient, String sOldNick);
46
-}
47
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/INickInUse.java ファイルの表示

@@ -38,4 +38,4 @@ public interface INickInUse extends ICallbackInterface {
38 38
 	 * @see ProcessNickInUse#callNickInUse
39 39
 	 */
40 40
 	public void onNickInUse(IRCParser tParser);
41
-}
41
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/INoticeAuth.java ファイルの表示

@@ -39,4 +39,4 @@ public interface INoticeAuth extends ICallbackInterface {
39 39
 	 * @see ProcessNoticeAuth#callNoticeAuth
40 40
 	 */
41 41
 	public void onNoticeAuth(IRCParser tParser, String sData);
42
-}
42
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IPrivateAction.java ファイルの表示

@@ -44,4 +44,4 @@ public interface IPrivateAction extends ICallbackInterface {
44 44
 	 * @see ProcessMessage#callPrivateAction
45 45
 	 */
46 46
 	public void onPrivateAction(IRCParser tParser, String sMessage, String sHost );
47
-}
47
+}

+ 1
- 1
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IPrivateCTCP.java ファイルの表示

@@ -45,4 +45,4 @@ public interface IPrivateCTCP extends ICallbackInterface {
45 45
 	 * @see ProcessMessage#callPrivateCTCP
46 46
 	 */
47 47
 	public void onPrivateCTCP(IRCParser tParser, String sType, String sMessage, String sHost );
48
-}
48
+}

+ 0
- 0
src/uk/org/ownage/dmdirc/parser/callbacks/interfaces/IPrivateCTCPReply.java ファイルの表示


変更されたファイルが多すぎるため、一部のファイルは表示されません

読み込み中…
キャンセル
保存