Преглед изворни кода

Tidy javadoc

Change-Id: If8c377f64b3b336203ab4d01aaaa0a731f0545a1
Reviewed-on: http://gerrit.dmdirc.com/2885
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.8
Greg Holmes пре 10 година
родитељ
комит
f05823ce1c
37 измењених фајлова са 106 додато и 106 уклоњено
  1. 2
    1
      src/com/dmdirc/parser/common/BaseParser.java
  2. 2
    2
      src/com/dmdirc/parser/common/ChannelListModeItem.java
  3. 1
    1
      src/com/dmdirc/parser/common/MyInfo.java
  4. 5
    4
      src/com/dmdirc/parser/common/SRVRecord.java
  5. 0
    2
      src/com/dmdirc/parser/interfaces/Parser.java
  6. 0
    1
      src/com/dmdirc/parser/interfaces/callbacks/ChannelOtherAwayStateListener.java
  7. 1
    2
      src/com/dmdirc/parser/interfaces/callbacks/OtherAwayStateListener.java
  8. 0
    1
      src/com/dmdirc/parser/interfaces/callbacks/PasswordRequiredListener.java
  9. 1
    2
      src/com/dmdirc/parser/interfaces/callbacks/PingFailureListener.java
  10. 1
    2
      src/com/dmdirc/parser/interfaces/callbacks/PingSentListener.java
  11. 1
    2
      src/com/dmdirc/parser/interfaces/callbacks/PingSuccessListener.java
  12. 1
    2
      src/com/dmdirc/parser/interfaces/callbacks/ServerReadyListener.java
  13. 4
    4
      src/com/dmdirc/parser/irc/CapabilityState.java
  14. 3
    2
      src/com/dmdirc/parser/irc/IRCClientInfo.java
  15. 23
    13
      src/com/dmdirc/parser/irc/IRCParser.java
  16. 3
    3
      src/com/dmdirc/parser/irc/IRCProcessor.java
  17. 5
    10
      src/com/dmdirc/parser/irc/Logging.java
  18. 1
    1
      src/com/dmdirc/parser/irc/Process464.java
  19. 1
    1
      src/com/dmdirc/parser/irc/ProcessAway.java
  20. 1
    1
      src/com/dmdirc/parser/irc/ProcessInvite.java
  21. 2
    2
      src/com/dmdirc/parser/irc/ProcessJoin.java
  22. 1
    1
      src/com/dmdirc/parser/irc/ProcessKick.java
  23. 1
    1
      src/com/dmdirc/parser/irc/ProcessListModes.java
  24. 3
    3
      src/com/dmdirc/parser/irc/ProcessMOTD.java
  25. 19
    19
      src/com/dmdirc/parser/irc/ProcessMessage.java
  26. 4
    4
      src/com/dmdirc/parser/irc/ProcessMode.java
  27. 2
    2
      src/com/dmdirc/parser/irc/ProcessNames.java
  28. 2
    2
      src/com/dmdirc/parser/irc/ProcessNick.java
  29. 1
    1
      src/com/dmdirc/parser/irc/ProcessNickInUse.java
  30. 1
    1
      src/com/dmdirc/parser/irc/ProcessNoticeAuth.java
  31. 1
    1
      src/com/dmdirc/parser/irc/ProcessPart.java
  32. 2
    2
      src/com/dmdirc/parser/irc/ProcessQuit.java
  33. 1
    1
      src/com/dmdirc/parser/irc/ProcessTopic.java
  34. 3
    3
      src/com/dmdirc/parser/irc/ProcessWallops.java
  35. 3
    3
      src/com/dmdirc/parser/irc/ProcessWho.java
  36. 1
    1
      src/com/dmdirc/parser/irc/ProcessingManager.java
  37. 3
    2
      src/com/dmdirc/parser/irc/ServerType.java

+ 2
- 1
src/com/dmdirc/parser/common/BaseParser.java Прегледај датотеку

@@ -38,7 +38,8 @@ import java.util.Map;
38 38
  * Implements common base functionality for parsers.<p>
39 39
  * Implementations of this class must be annotated with
40 40
  * {@link ChildImplementations} to define the implementations to use for
41
- * instances of {@link ClientInfo}, {@link ChannelInfo}, etc.
41
+ * instances of {@link com.dmdirc.parser.interfaces.ClientInfo},
42
+ * {@link com.dmdirc.parser.interfaces.ChannelInfo}, etc.
42 43
  */
43 44
 public abstract class BaseParser extends ThreadedParser {
44 45
 

+ 2
- 2
src/com/dmdirc/parser/common/ChannelListModeItem.java Прегледај датотеку

@@ -27,9 +27,9 @@ package com.dmdirc.parser.common;
27 27
  *
28 28
  * @author Shane Mc Cormack
29 29
  * @author Chris Smith
30
- * @see IRCParser
30
+ * @see com.dmdirc.parser.interfaces.Parser
31 31
  */
32
-public final class ChannelListModeItem {
32
+public class ChannelListModeItem {
33 33
 
34 34
     /** The Item itself. */
35 35
     private final String myItem;

+ 1
- 1
src/com/dmdirc/parser/common/MyInfo.java Прегледај датотеку

@@ -27,7 +27,7 @@ package com.dmdirc.parser.common;
27 27
  *
28 28
  * @author Shane Mc Cormack
29 29
  * @author Chris Smith
30
- * @see IRCParser
30
+ * @see com.dmdirc.parser.interfaces.Parser
31 31
  */
32 32
 public class MyInfo {
33 33
 

+ 5
- 4
src/com/dmdirc/parser/common/SRVRecord.java Прегледај датотеку

@@ -22,8 +22,9 @@
22 22
 package com.dmdirc.parser.common;
23 23
 
24 24
 import java.util.ArrayList;
25
-import java.util.Hashtable; // NOPMD - Required by InitialDirContext
25
+import java.util.Hashtable;
26 26
 import java.util.List;
27
+
27 28
 import javax.naming.NamingEnumeration;
28 29
 import javax.naming.NamingException;
29 30
 import javax.naming.directory.Attribute;
@@ -49,7 +50,7 @@ public class SRVRecord implements Comparable<SRVRecord> {
49 50
      * Create a new SRV Record from a String.
50 51
      *
51 52
      * @param record Record as a string.
52
-     * @throws NamingException
53
+     * @throws NamingException if the record is invalid
53 54
      */
54 55
     public SRVRecord(final String record) throws NamingException {
55 56
         final String[] bits = record.split(" ", 4);
@@ -117,11 +118,11 @@ public class SRVRecord implements Comparable<SRVRecord> {
117 118
     }
118 119
 
119 120
     public static List<SRVRecord> getRecords(final String host) {
120
-        final List<SRVRecord> result = new ArrayList<SRVRecord>();
121
+        final List<SRVRecord> result = new ArrayList<>();
121 122
 
122 123
         try {
123 124
             // Obsolete Collection. yeah yeah...
124
-            final Hashtable<String, String> env = new Hashtable<String, String>(); // NOPMD - Required by InitialDirContext
125
+            final Hashtable<String, String> env = new Hashtable<>(); // NOPMD - Required by InitialDirContext
125 126
             env.put("java.naming.factory.initial", "com.sun.jndi.dns.DnsContextFactory");
126 127
             env.put("java.naming.provider.url", "dns:");
127 128
             final Attribute attr = new InitialDirContext(env).getAttributes(host, new String [] { "SRV" }).get("SRV");

+ 0
- 2
src/com/dmdirc/parser/interfaces/Parser.java Прегледај датотеку

@@ -44,8 +44,6 @@ public interface Parser {
44 44
 
45 45
     /**
46 46
      * Connect to server.
47
-     *
48
-     * @param threadName Name for any parser thread.
49 47
      */
50 48
     void connect();
51 49
 

+ 0
- 1
src/com/dmdirc/parser/interfaces/callbacks/ChannelOtherAwayStateListener.java Прегледај датотеку

@@ -45,7 +45,6 @@ public interface ChannelOtherAwayStateListener extends CallbackInterface {
45 45
      * @param client Client this is for
46 46
      * @param oldState Old Away State
47 47
      * @param state Current Away State
48
-     * @see com.dmdirc.parser.irc.ProcessAway#callChannelAwayStateOther
49 48
      */
50 49
     void onChannelAwayStateOther(Parser parser, Date date, ChannelInfo channel,
51 50
             ChannelClientInfo client, AwayState oldState, AwayState state);

+ 1
- 2
src/com/dmdirc/parser/interfaces/callbacks/OtherAwayStateListener.java Прегледај датотеку

@@ -39,11 +39,10 @@ public interface OtherAwayStateListener extends CallbackInterface {
39 39
      * Called when we go away, or come back.
40 40
      *
41 41
      * @param parser Reference to the parser object that made the callback.
42
-     * @param date The date/time at which the event occured
42
+     * @param date The date/time at which the event occurred
43 43
      * @param client Client this is for
44 44
      * @param oldState Old Away State
45 45
      * @param state Current Away State
46
-     * @see com.dmdirc.parser.irc.ProcessAway#callAwayStateOther
47 46
      */
48 47
     void onAwayStateOther(Parser parser, Date date, ClientInfo client,
49 48
             AwayState oldState, AwayState state);

+ 0
- 1
src/com/dmdirc/parser/interfaces/callbacks/PasswordRequiredListener.java Прегледај датотеку

@@ -36,7 +36,6 @@ public interface PasswordRequiredListener extends CallbackInterface {
36 36
      *
37 37
      * @param parser Reference to the parser object that made the callback.
38 38
      * @param date The date/time at which the event occured
39
-     * @see com.dmdirc.parser.irc.Process004005#callPasswordRequired
40 39
      */
41 40
     void onPasswordRequired(Parser parser, Date date);
42 41
 

+ 1
- 2
src/com/dmdirc/parser/interfaces/callbacks/PingFailureListener.java Прегледај датотеку

@@ -35,8 +35,7 @@ public interface PingFailureListener extends CallbackInterface {
35 35
      * Called when a ping failed.
36 36
      *
37 37
      * @param parser Reference to the parser object that made the callback.
38
-     * @param date The date/time at which the event occured
39
-     * @see IRCParser#callPingFailed
38
+     * @param date The date/time at which the event occurred
40 39
      */
41 40
     void onPingFailed(Parser parser, Date date);
42 41
 

+ 1
- 2
src/com/dmdirc/parser/interfaces/callbacks/PingSentListener.java Прегледај датотеку

@@ -35,8 +35,7 @@ public interface PingSentListener extends CallbackInterface {
35 35
      * Called when a ping was Sent.
36 36
      *
37 37
      * @param parser Reference to the parser object that made the callback.
38
-     * @param date The date/time at which the event occured
39
-     * @see IRCParser#callPingSent
38
+     * @param date The date/time at which the event occurred
40 39
      */
41 40
     void onPingSent(Parser parser, Date date);
42 41
 

+ 1
- 2
src/com/dmdirc/parser/interfaces/callbacks/PingSuccessListener.java Прегледај датотеку

@@ -35,8 +35,7 @@ public interface PingSuccessListener extends CallbackInterface {
35 35
      * Called when a ping was a Success.
36 36
      *
37 37
      * @param parser Reference to the parser object that made the callback.
38
-     * @param date The date/time at which the event occured
39
-     * @see IRCParser#callPingSuccess
38
+     * @param date The date/time at which the event occurred
40 39
      */
41 40
     void onPingSuccess(Parser parser, Date date);
42 41
 

+ 1
- 2
src/com/dmdirc/parser/interfaces/callbacks/ServerReadyListener.java Прегледај датотеку

@@ -35,8 +35,7 @@ public interface ServerReadyListener extends CallbackInterface {
35 35
      * Called after 001.
36 36
      *
37 37
      * @param parser Reference to the parser object that made the callback.
38
-     * @param date The date/time at which the event occured
39
-     * @see com.dmdirc.parser.irc.Process001#callServerReady
38
+     * @param date The date/time at which the event occurred
40 39
      */
41 40
     void onServerReady(Parser parser, Date date);
42 41
 

+ 4
- 4
src/com/dmdirc/parser/irc/CapabilityState.java Прегледај датотеку

@@ -24,8 +24,6 @@ package com.dmdirc.parser.irc;
24 24
 /**
25 25
  * Capability states.
26 26
  * See: http://ircv3.atheme.org/specification/capability-negotiation-3.1
27
- *
28
- * @author Shane Mc Cormack <shanemcc@gmail.com>
29 27
  */
30 28
 public enum CapabilityState {
31 29
     /** Capability is invalid*/
@@ -41,7 +39,7 @@ public enum CapabilityState {
41 39
     ENABLED("Enabled", '+');
42 40
 
43 41
     /** Description. */
44
-    private String description;
42
+    private final String description;
45 43
 
46 44
     /**
47 45
      * Modifier.
@@ -49,7 +47,7 @@ public enum CapabilityState {
49 47
      * as "capability modifiers". We just use them to make parsing the messages
50 48
      * a bit easier.
51 49
      */
52
-    private Character modifier;
50
+    private final Character modifier;
53 51
 
54 52
     /**
55 53
      * Create a CapabilityState.
@@ -82,6 +80,8 @@ public enum CapabilityState {
82 80
     /**
83 81
      * Get the capability state for the given modifier, or null.
84 82
      *
83
+     * @param modifier Modifier to get the capability for
84
+     *
85 85
      * @return state for the given modifier, or null.
86 86
      */
87 87
     public static CapabilityState fromModifier(final char modifier) {

+ 3
- 2
src/com/dmdirc/parser/irc/IRCClientInfo.java Прегледај датотеку

@@ -71,7 +71,7 @@ public class IRCClientInfo implements LocalClientInfo {
71 71
      *
72 72
      * @param tParser Refernce to parser that owns this channelclient (used for modes)
73 73
      * @param sHostmask Hostmask parsed by parseHost to get nickname
74
-     * @see ClientInfo#parseHost
74
+     * @see IRCClientInfo#parseHost
75 75
      */
76 76
     public IRCClientInfo(final IRCParser tParser, final String sHostmask) {
77 77
         map = new HashMap<Object, Object>();
@@ -132,7 +132,8 @@ public class IRCClientInfo implements LocalClientInfo {
132 132
      * Hostmask must match (?:)nick(?!ident)(?@host)
133 133
      *
134 134
      * @param hostmask Hostname to parse
135
-     * @return Array containing details. (result[0] -> Nick | result[1] -> Ident | result[2] -> Host)
135
+     * @return Array containing details. (result[0] -&gt; Nick | result[1]
136
+     * -&gt; Ident | result[2] - Host)
136 137
      */
137 138
     public static String[] parseHostFull(final String hostmask) {
138 139
         String[] sTemp;

+ 23
- 13
src/com/dmdirc/parser/irc/IRCParser.java Прегледај датотеку

@@ -34,7 +34,17 @@ import com.dmdirc.parser.common.SystemEncoder;
34 34
 import com.dmdirc.parser.interfaces.Encoder;
35 35
 import com.dmdirc.parser.interfaces.EncodingParser;
36 36
 import com.dmdirc.parser.interfaces.SecureParser;
37
-import com.dmdirc.parser.interfaces.callbacks.*; //NOPMD
37
+import com.dmdirc.parser.interfaces.callbacks.ConnectErrorListener;
38
+import com.dmdirc.parser.interfaces.callbacks.DataInListener;
39
+import com.dmdirc.parser.interfaces.callbacks.DataOutListener;
40
+import com.dmdirc.parser.interfaces.callbacks.DebugInfoListener;
41
+import com.dmdirc.parser.interfaces.callbacks.ErrorInfoListener;
42
+import com.dmdirc.parser.interfaces.callbacks.PingFailureListener;
43
+import com.dmdirc.parser.interfaces.callbacks.PingSentListener;
44
+import com.dmdirc.parser.interfaces.callbacks.PingSuccessListener;
45
+import com.dmdirc.parser.interfaces.callbacks.ServerErrorListener;
46
+import com.dmdirc.parser.interfaces.callbacks.ServerReadyListener;
47
+import com.dmdirc.parser.interfaces.callbacks.SocketCloseListener;
38 48
 import com.dmdirc.parser.irc.IRCReader.ReadLine;
39 49
 import com.dmdirc.parser.irc.outputqueue.OutputQueue;
40 50
 
@@ -559,7 +569,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
559 569
     /**
560 570
      * Callback to all objects implementing the ServerError Callback.
561 571
      *
562
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IServerError
572
+     * @see com.dmdirc.parser.interfaces.callbacks.ServerErrorListener
563 573
      * @param message The error message
564 574
      */
565 575
     protected void callServerError(final String message) {
@@ -569,7 +579,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
569 579
     /**
570 580
      * Callback to all objects implementing the DataIn Callback.
571 581
      *
572
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IDataIn
582
+     * @see com.dmdirc.parser.interfaces.callbacks.DataInListener
573 583
      * @param data Incoming Line.
574 584
      */
575 585
     protected void callDataIn(final String data) {
@@ -581,7 +591,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
581 591
      *
582 592
      * @param data Outgoing Data
583 593
      * @param fromParser True if parser sent the data, false if sent using .sendLine
584
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IDataOut
594
+     * @see com.dmdirc.parser.interfaces.callbacks.DataOutListener
585 595
      */
586 596
     protected void callDataOut(final String data, final boolean fromParser) {
587 597
         getCallback(DataOutListener.class).onDataOut(null, null, data, fromParser);
@@ -590,7 +600,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
590 600
     /**
591 601
      * Callback to all objects implementing the DebugInfo Callback.
592 602
      *
593
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IDebugInfo
603
+     * @see com.dmdirc.parser.interfaces.callbacks.DebugInfoListener
594 604
      * @param level Debugging Level (DEBUG_INFO, DEBUG_SOCKET etc)
595 605
      * @param data Debugging Information as a format string
596 606
      * @param args Formatting String Options
@@ -602,7 +612,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
602 612
     /**
603 613
      * Callback to all objects implementing the DebugInfo Callback.
604 614
      *
605
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IDebugInfo
615
+     * @see com.dmdirc.parser.interfaces.callbacks.DebugInfoListener
606 616
      * @param level Debugging Level (DEBUG_INFO, DEBUG_SOCKET etc)
607 617
      * @param data Debugging Information
608 618
      */
@@ -613,7 +623,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
613 623
     /**
614 624
      * Callback to all objects implementing the IErrorInfo Interface.
615 625
      *
616
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IErrorInfo
626
+     * @see com.dmdirc.parser.interfaces.callbacks.ErrorInfoListener
617 627
      * @param errorInfo ParserError object representing the error.
618 628
      */
619 629
     protected void callErrorInfo(final ParserError errorInfo) {
@@ -623,7 +633,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
623 633
     /**
624 634
      * Callback to all objects implementing the IConnectError Interface.
625 635
      *
626
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IConnectError
636
+     * @see com.dmdirc.parser.interfaces.callbacks.ConnectErrorListener
627 637
      * @param errorInfo ParserError object representing the error.
628 638
      */
629 639
     protected void callConnectError(final ParserError errorInfo) {
@@ -633,7 +643,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
633 643
     /**
634 644
      * Callback to all objects implementing the SocketClosed Callback.
635 645
      *
636
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.ISocketClosed
646
+     * @see com.dmdirc.parser.interfaces.callbacks.SocketCloseListener
637 647
      */
638 648
     protected void callSocketClosed() {
639 649
         getCallback(SocketCloseListener.class).onSocketClosed(null, null);
@@ -642,7 +652,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
642 652
     /**
643 653
      * Callback to all objects implementing the PingFailed Callback.
644 654
      *
645
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IPingFailed
655
+     * @see com.dmdirc.parser.interfaces.callbacks.PingFailureListener
646 656
      * @return True if any callback was called, false otherwise.
647 657
      */
648 658
     protected boolean callPingFailed() {
@@ -652,7 +662,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
652 662
     /**
653 663
      * Callback to all objects implementing the PingSent Callback.
654 664
      *
655
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IPingSent
665
+     * @see com.dmdirc.parser.interfaces.callbacks.PingSentListener
656 666
      */
657 667
     protected void callPingSent() {
658 668
         getCallback(PingSentListener.class).onPingSent(null, null);
@@ -661,7 +671,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
661 671
     /**
662 672
      * Callback to all objects implementing the PingSuccess Callback.
663 673
      *
664
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IPingSuccess
674
+     * @see com.dmdirc.parser.interfaces.callbacks.PingSuccessListener
665 675
      */
666 676
     protected void callPingSuccess() {
667 677
         getCallback(PingSuccessListener.class).onPingSuccess(null, null);
@@ -670,7 +680,7 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
670 680
     /**
671 681
      * Callback to all objects implementing the Post005 Callback.
672 682
      *
673
-     * @see IPost005
683
+     * @see com.dmdirc.parser.interfaces.callbacks.ServerReadyListener
674 684
      */
675 685
     protected synchronized void callPost005() {
676 686
         if (post005) {

+ 3
- 3
src/com/dmdirc/parser/irc/IRCProcessor.java Прегледај датотеку

@@ -53,7 +53,7 @@ public abstract class IRCProcessor {
53 53
     /**
54 54
      * Callback to all objects implementing the IErrorInfo Interface.
55 55
      *
56
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IErrorInfo
56
+     * @see com.dmdirc.parser.interfaces.callbacks.ErrorInfoListener
57 57
      * @param errorInfo ParserError object representing the error.
58 58
      */
59 59
     protected final void callErrorInfo(final ParserError errorInfo) {
@@ -63,7 +63,7 @@ public abstract class IRCProcessor {
63 63
     /**
64 64
      * Callback to all objects implementing the DebugInfo Callback.
65 65
      *
66
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IDebugInfo
66
+     * @see com.dmdirc.parser.interfaces.callbacks.DebugInfoListener
67 67
      * @param level Debugging Level (DEBUG_INFO, ndSocket etc)
68 68
      * @param data Debugging Information
69 69
      * @param args Formatting String Options
@@ -75,7 +75,7 @@ public abstract class IRCProcessor {
75 75
     /**
76 76
      * Callback to all objects implementing the DebugInfo Callback.
77 77
      *
78
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IDebugInfo
78
+     * @see com.dmdirc.parser.interfaces.callbacks.DebugInfoListener
79 79
      * @param level Debugging Level (DEBUG_INFO, ndSocket etc)
80 80
      * @param data Debugging Information
81 81
      */

+ 5
- 10
src/com/dmdirc/parser/irc/Logging.java Прегледај датотеку

@@ -93,10 +93,7 @@ public class Logging {
93 93
                 final Method getLog = factory.getMethod("getLog", new Class[]{Class.class});
94 94
                 log = getLog.invoke(null, this.getClass());
95 95
             }
96
-        } catch (ClassNotFoundException cnfe) {
97
-        } catch (NoSuchMethodException nsme) {
98
-        } catch (IllegalAccessException iae) {
99
-        } catch (InvocationTargetException ite) {
96
+        } catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException | InvocationTargetException cnfe) {
100 97
         }
101 98
 
102 99
         isAvailable = log != null;
@@ -120,15 +117,15 @@ public class Logging {
120 117
      * Check is a log level is available.
121 118
      *
122 119
      * @param level Level to check
120
+     *
121
+     * @return true if the method was invoked
123 122
      */
124 123
     public boolean levelEnabled(final LogLevel level) {
125 124
         if (isAvailable) {
126 125
             try {
127 126
                 final Method check = log.getClass().getMethod(level.getCheckMethodName());
128 127
                 return (Boolean) check.invoke(log, new Object[0]);
129
-            } catch (NoSuchMethodException nsme) {
130
-            } catch (IllegalAccessException iae) {
131
-            } catch (InvocationTargetException ite) {
128
+            } catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException nsme) {
132 129
             }
133 130
         }
134 131
 
@@ -164,9 +161,7 @@ public class Logging {
164 161
                 final Method method = log.getClass().getMethod(level.getMethodName(), String.class, Throwable.class);
165 162
                 method.invoke(log, new Object[]{message, throwable});
166 163
             }
167
-        } catch (NoSuchMethodException nsme) {
168
-        } catch (IllegalAccessException iae) {
169
-        } catch (InvocationTargetException ite) {
164
+        } catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException nsme) {
170 165
         }
171 166
     }
172 167
 }

+ 1
- 1
src/com/dmdirc/parser/irc/Process464.java Прегледај датотеку

@@ -63,7 +63,7 @@ public class Process464 extends IRCProcessor {
63 63
     /**
64 64
      * Callback to all objects implementing the PasswordRequired Callback.
65 65
      *
66
-     * @see IPasswordRequired
66
+     * @see com.dmdirc.parser.interfaces.callbacks.PasswordRequiredListener
67 67
      * @return true if a method was called, false otherwise
68 68
      */
69 69
     protected boolean callPasswordRequired() {

+ 1
- 1
src/com/dmdirc/parser/irc/ProcessAway.java Прегледај датотеку

@@ -76,7 +76,7 @@ public class ProcessAway extends IRCProcessor {
76 76
     /**
77 77
      * Callback to all objects implementing the onAwayState Callback.
78 78
      *
79
-     * @see IAwayState
79
+     * @see com.dmdirc.parser.interfaces.callbacks.AwayStateListener
80 80
      * @param oldState Old Away State
81 81
      * @param currentState Current Away State
82 82
      * @param reason Best guess at away reason

+ 1
- 1
src/com/dmdirc/parser/irc/ProcessInvite.java Прегледај датотеку

@@ -56,7 +56,7 @@ public class ProcessInvite extends IRCProcessor {
56 56
     /**
57 57
      * Callback to all objects implementing the Invite Callback.
58 58
      *
59
-     * @see IInvite
59
+     * @see com.dmdirc.parser.interfaces.callbacks.InviteListener
60 60
      * @param userHost The hostname of the person who invited us
61 61
      * @param channel The name of the channel we were invited to
62 62
      * @return true if a method was called, false otherwise

+ 2
- 2
src/com/dmdirc/parser/irc/ProcessJoin.java Прегледај датотеку

@@ -153,7 +153,7 @@ public class ProcessJoin extends IRCProcessor {
153 153
     /**
154 154
      * Callback to all objects implementing the ChannelJoin Callback.
155 155
      *
156
-     * @see IChannelJoin
156
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelJoinListener
157 157
      * @param cChannel Channel Object
158 158
      * @param cChannelClient ChannelClient object for new person
159 159
      * @return true if a method was called, false otherwise
@@ -165,7 +165,7 @@ public class ProcessJoin extends IRCProcessor {
165 165
     /**
166 166
      * Callback to all objects implementing the ChannelSelfJoin Callback.
167 167
      *
168
-     * @see IChannelSelfJoin
168
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelSelfJoinListener
169 169
      * @param cChannel Channel Object
170 170
      * @return true if a method was called, false otherwise
171 171
      */

+ 1
- 1
src/com/dmdirc/parser/irc/ProcessKick.java Прегледај датотеку

@@ -110,7 +110,7 @@ public class ProcessKick extends IRCProcessor {
110 110
     /**
111 111
      * Callback to all objects implementing the ChannelKick Callback.
112 112
      *
113
-     * @see IChannelKick
113
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelKickListener
114 114
      * @param cChannel Channel where the kick took place
115 115
      * @param cKickedClient ChannelClient that got kicked
116 116
      * @param cKickedByClient ChannelClient that did the kicking (may be null if server)

+ 1
- 1
src/com/dmdirc/parser/irc/ProcessListModes.java Прегледај датотеку

@@ -281,7 +281,7 @@ public class ProcessListModes extends IRCProcessor {
281 281
     /**
282 282
      * Callback to all objects implementing the ChannelGotListModes Callback.
283 283
      *
284
-     * @see IChannelGotListModes
284
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelListModeListener
285 285
      * @param cChannel Channel which the ListModes reply is for
286 286
      * @param mode the mode that we got list modes for.
287 287
      * @return true if a method was called, false otherwise

+ 3
- 3
src/com/dmdirc/parser/irc/ProcessMOTD.java Прегледај датотеку

@@ -63,7 +63,7 @@ public class ProcessMOTD extends IRCProcessor {
63 63
      *
64 64
      * @param noMOTD Was this an MOTDEnd or NoMOTD
65 65
      * @param data The contents of the line (incase of language changes or so)
66
-     * @see IMOTDEnd
66
+     * @see com.dmdirc.parser.interfaces.callbacks.MotdEndListener
67 67
      * @return true if a method was called, false otherwise
68 68
      */
69 69
     protected boolean callMOTDEnd(final boolean noMOTD, final String data) {
@@ -73,7 +73,7 @@ public class ProcessMOTD extends IRCProcessor {
73 73
     /**
74 74
      * Callback to all objects implementing the MOTDLine Callback.
75 75
      *
76
-     * @see IMOTDLine
76
+     * @see com.dmdirc.parser.interfaces.callbacks.MotdLineListener
77 77
      * @param data Incomming Line.
78 78
      * @return true if a method was called, false otherwise
79 79
      */
@@ -84,7 +84,7 @@ public class ProcessMOTD extends IRCProcessor {
84 84
     /**
85 85
      * Callback to all objects implementing the MOTDStart Callback.
86 86
      *
87
-     * @see IMOTDStart
87
+     * @see com.dmdirc.parser.interfaces.callbacks.MotdStartListener
88 88
      * @param data Incomming Line.
89 89
      * @return true if a method was called, false otherwise
90 90
      */

+ 19
- 19
src/com/dmdirc/parser/irc/ProcessMessage.java Прегледај датотеку

@@ -277,7 +277,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
277 277
     /**
278 278
      * Callback to all objects implementing the ChannelAction Callback.
279 279
      *
280
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IChannelAction
280
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelActionListener
281 281
      * @param date The date of this line
282 282
      * @param cChannel Channel where the action was sent to
283 283
      * @param cChannelClient ChannelClient who sent the action (may be null if server)
@@ -292,7 +292,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
292 292
     /**
293 293
      * Callback to all objects implementing the ChannelCTCP Callback.
294 294
      *
295
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IChannelCTCP
295
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelCtcpListener
296 296
      * @param date The date of this line
297 297
      * @param cChannel Channel where CTCP was sent
298 298
      * @param cChannelClient ChannelClient who sent the message (may be null if server)
@@ -308,7 +308,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
308 308
     /**
309 309
      * Callback to all objects implementing the ChannelCTCPReply Callback.
310 310
      *
311
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IChannelCTCPReply
311
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelCtcpReplyListener
312 312
      * @param date The date of this line
313 313
      * @param cChannel Channel where CTCPReply was sent
314 314
      * @param cChannelClient ChannelClient who sent the message (may be null if server)
@@ -324,7 +324,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
324 324
     /**
325 325
      * Callback to all objects implementing the ChannelMessage Callback.
326 326
      *
327
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IChannelMessage
327
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelMessageListener
328 328
      * @param date The date of this line
329 329
      * @param cChannel Channel where the message was sent to
330 330
      * @param cChannelClient ChannelClient who sent the message (may be null if server)
@@ -339,7 +339,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
339 339
     /**
340 340
      * Callback to all objects implementing the ChannelNotice Callback.
341 341
      *
342
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IChannelNotice
342
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelNoticeListener
343 343
      * @param date The date of this line
344 344
      * @param cChannel Channel where the notice was sent to
345 345
      * @param cChannelClient ChannelClient who sent the notice (may be null if server)
@@ -354,7 +354,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
354 354
     /**
355 355
      * Callback to all objects implementing the ChannelModeNotice Callback.
356 356
      *
357
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IChannelModeNotice
357
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelModeNoticeListener
358 358
      * @param date The date of this line
359 359
      * @param prefix Prefix that was used to send this notice.
360 360
      * @param cChannel Channel where the notice was sent to
@@ -370,7 +370,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
370 370
     /**
371 371
      * Callback to all objects implementing the ChannelModeMessage Callback.
372 372
      *
373
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IChannelModeMessage
373
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelModeMessageListener
374 374
      * @param date The date of this line
375 375
      * @param prefix Prefix that was used to send this notice.
376 376
      * @param cChannel Channel where the notice was sent to
@@ -386,7 +386,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
386 386
     /**
387 387
      * Callback to all objects implementing the PrivateAction Callback.
388 388
      *
389
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IPrivateAction
389
+     * @see com.dmdirc.parser.interfaces.callbacks.PrivateActionListener
390 390
      * @param date The date of this line
391 391
      * @param sMessage action contents
392 392
      * @param sHost Hostname of sender (or servername)
@@ -399,7 +399,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
399 399
     /**
400 400
      * Callback to all objects implementing the PrivateCTCP Callback.
401 401
      *
402
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IPrivateCTCP
402
+     * @see com.dmdirc.parser.interfaces.callbacks.PrivateCtcpListener
403 403
      * @param date The date of this line
404 404
      * @param sType Type of CTCP (VERSION, TIME etc)
405 405
      * @param sMessage Additional contents
@@ -413,7 +413,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
413 413
     /**
414 414
      * Callback to all objects implementing the PrivateCTCPReply Callback.
415 415
      *
416
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IPrivateCTCPReply
416
+     * @see com.dmdirc.parser.interfaces.callbacks.PrivateCtcpReplyListener
417 417
      * @param date The date of this line
418 418
      * @param sType Type of CTCPRReply (VERSION, TIME etc)
419 419
      * @param sMessage Reply Contents
@@ -427,7 +427,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
427 427
     /**
428 428
      * Callback to all objects implementing the PrivateMessage Callback.
429 429
      *
430
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IPrivateMessage
430
+     * @see com.dmdirc.parser.interfaces.callbacks.PrivateMessageListener
431 431
      * @param date The date of this line
432 432
      * @param sMessage Message contents
433 433
      * @param sHost Hostname of sender (or servername)
@@ -440,7 +440,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
440 440
     /**
441 441
      * Callback to all objects implementing the PrivateNotice Callback.
442 442
      *
443
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IPrivateNotice
443
+     * @see com.dmdirc.parser.interfaces.callbacks.PrivateNoticeListener
444 444
      * @param date The date of this line
445 445
      * @param sMessage Notice contents
446 446
      * @param sHost Hostname of sender (or servername)
@@ -453,7 +453,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
453 453
     /**
454 454
      * Callback to all objects implementing the ServerNotice Callback.
455 455
      *
456
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.ServerNotice
456
+     * @see com.dmdirc.parser.interfaces.callbacks.ServerNoticeListener
457 457
      * @param date The date of this line
458 458
      * @param sMessage Notice contents
459 459
      * @param sHost Hostname of sender (or servername)
@@ -466,7 +466,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
466 466
     /**
467 467
      * Callback to all objects implementing the UnknownAction Callback.
468 468
      *
469
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IUnknownAction
469
+     * @see com.dmdirc.parser.interfaces.callbacks.UnknownActionListener
470 470
      * @param date The date of this line
471 471
      * @param sMessage Action contents
472 472
      * @param sTarget Actual target of action
@@ -480,7 +480,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
480 480
     /**
481 481
      * Callback to all objects implementing the UnknownCTCP Callback.
482 482
      *
483
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IUnknownCTCP
483
+     * @see com.dmdirc.parser.interfaces.callbacks.UnknownCtcpListener
484 484
      * @param date The date of this line
485 485
      * @param sType Type of CTCP (VERSION, TIME etc)
486 486
      * @param sMessage Additional contents
@@ -495,7 +495,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
495 495
     /**
496 496
      * Callback to all objects implementing the UnknownCTCPReply Callback.
497 497
      *
498
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IUnknownCTCPReply
498
+     * @see com.dmdirc.parser.interfaces.callbacks.UnknownCtcpReplyListener
499 499
      * @param date The date of this line
500 500
      * @param sType Type of CTCPRReply (VERSION, TIME etc)
501 501
      * @param sMessage Reply Contents
@@ -510,7 +510,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
510 510
     /**
511 511
      * Callback to all objects implementing the UnknownMessage Callback.
512 512
      *
513
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IUnknownMessage
513
+     * @see com.dmdirc.parser.interfaces.callbacks.UnknownMessageListener
514 514
      * @param date The date of this line
515 515
      * @param sMessage Message contents
516 516
      * @param sTarget Actual target of message
@@ -524,7 +524,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
524 524
     /**
525 525
      * Callback to all objects implementing the UnknownNotice Callback.
526 526
      *
527
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IUnknownNotice
527
+     * @see com.dmdirc.parser.interfaces.callbacks.UnknownNoticeListener
528 528
      * @param date The date of this line
529 529
      * @param sMessage Notice contents
530 530
      * @param sTarget Actual target of notice
@@ -538,7 +538,7 @@ public class ProcessMessage extends TimestampedIRCProcessor {
538 538
     /**
539 539
      * Callback to all objects implementing the UnknownNotice Callback.
540 540
      *
541
-     * @see com.dmdirc.parser.irc.callbacks.interfaces.IUnknownNotice
541
+     * @see com.dmdirc.parser.interfaces.callbacks.UnknownServerNoticeListener
542 542
      * @param date The date of this line
543 543
      * @param sMessage Notice contents
544 544
      * @param sTarget Actual target of notice

+ 4
- 4
src/com/dmdirc/parser/irc/ProcessMode.java Прегледај датотеку

@@ -325,7 +325,7 @@ public class ProcessMode extends IRCProcessor {
325 325
     /**
326 326
      * Callback to all objects implementing the ChannelModeChanged Callback.
327 327
      *
328
-     * @see IChannelModeChanged
328
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelModeChangeListener
329 329
      * @param cChannel Channel where modes were changed
330 330
      * @param cChannelClient Client chaning the modes (null if server)
331 331
      * @param sHost Host doing the mode changing (User host or server name)
@@ -339,7 +339,7 @@ public class ProcessMode extends IRCProcessor {
339 339
     /**
340 340
      * Callback to all objects implementing the ChannelUserModeChanged Callback.
341 341
      *
342
-     * @see IChannelUserModeChanged
342
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelUserModeChangeListener
343 343
      * @param cChannel Channel where modes were changed
344 344
      * @param cChangedClient Client being changed
345 345
      * @param cSetByClient Client chaning the modes (null if server)
@@ -354,7 +354,7 @@ public class ProcessMode extends IRCProcessor {
354 354
     /**
355 355
      * Callback to all objects implementing the UserModeChanged Callback.
356 356
      *
357
-     * @see IUserModeChanged
357
+     * @see com.dmdirc.parser.interfaces.callbacks.UserModeChangeListener
358 358
      * @param cClient Client that had the mode changed (almost always us)
359 359
      * @param sSetby Host that set the mode (us or servername)
360 360
      * @param sModes The modes set.
@@ -367,7 +367,7 @@ public class ProcessMode extends IRCProcessor {
367 367
     /**
368 368
      * Callback to all objects implementing the UserModeDiscovered Callback.
369 369
      *
370
-     * @see IUserModeDiscovered
370
+     * @see com.dmdirc.parser.interfaces.callbacks.UserModeDiscoveryListener
371 371
      * @param cClient Client that had the mode changed (almost always us)
372 372
      * @param sModes The modes set.
373 373
      * @return true if a method was called, false otherwise

+ 2
- 2
src/com/dmdirc/parser/irc/ProcessNames.java Прегледај датотеку

@@ -131,7 +131,7 @@ public class ProcessNames extends IRCProcessor {
131 131
     /**
132 132
      * Callback to all objects implementing the ChannelTopic Callback.
133 133
      *
134
-     * @see IChannelTopic
134
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelTopicListener
135 135
      * @param cChannel Channel that topic was set on
136 136
      * @param bIsJoinTopic True when getting topic on join, false if set by user/server
137 137
      * @return true if a method was called, false otherwise
@@ -144,7 +144,7 @@ public class ProcessNames extends IRCProcessor {
144 144
     /**
145 145
      * Callback to all objects implementing the ChannelGotNames Callback.
146 146
      *
147
-     * @see IChannelGotNames
147
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelNamesListener
148 148
      * @param cChannel Channel which the names reply is for
149 149
      * @return true if a method was called, false otherwise
150 150
      */

+ 2
- 2
src/com/dmdirc/parser/irc/ProcessNick.java Прегледај датотеку

@@ -98,7 +98,7 @@ public class ProcessNick extends IRCProcessor {
98 98
     /**
99 99
      * Callback to all objects implementing the ChannelNickChanged Callback.
100 100
      *
101
-     * @see IChannelNickChanged
101
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelNickChangeListener
102 102
      * @param cChannel One of the channels that the user is on
103 103
      * @param cChannelClient Client changing nickname
104 104
      * @param sOldNick Nickname before change
@@ -111,7 +111,7 @@ public class ProcessNick extends IRCProcessor {
111 111
     /**
112 112
      * Callback to all objects implementing the NickChanged Callback.
113 113
      *
114
-     * @see INickChanged
114
+     * @see com.dmdirc.parser.interfaces.callbacks.NickChangeListener
115 115
      * @param cClient Client changing nickname
116 116
      * @param sOldNick Nickname before change
117 117
      * @return true if a method was called, false otherwise

+ 1
- 1
src/com/dmdirc/parser/irc/ProcessNickInUse.java Прегледај датотеку

@@ -85,7 +85,7 @@ public class ProcessNickInUse extends IRCProcessor {
85 85
      * Callback to all objects implementing the NickInUse Callback.
86 86
      *
87 87
      * @param nickname Nickname that was wanted.
88
-     * @see INickInUse
88
+     * @see com.dmdirc.parser.interfaces.callbacks.NickInUseListener
89 89
      * @return true if a method was called, false otherwise
90 90
      */
91 91
     protected boolean callNickInUse(final String nickname) {

+ 1
- 1
src/com/dmdirc/parser/irc/ProcessNoticeAuth.java Прегледај датотеку

@@ -53,7 +53,7 @@ public class ProcessNoticeAuth extends IRCProcessor {
53 53
     /**
54 54
      * Callback to all objects implementing the NoticeAuth Callback.
55 55
      *
56
-     * @see INoticeAuth
56
+     * @see com.dmdirc.parser.interfaces.callbacks.AuthNoticeListener
57 57
      * @param data Incomming Line.
58 58
      * @return true if a method was called, false otherwise
59 59
      */

+ 1
- 1
src/com/dmdirc/parser/irc/ProcessPart.java Прегледај датотеку

@@ -102,7 +102,7 @@ public class ProcessPart extends IRCProcessor {
102 102
     /**
103 103
      * Callback to all objects implementing the ChannelPart Callback.
104 104
      *
105
-     * @see IChannelPart
105
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelPartListener
106 106
      * @param cChannel Channel that the user parted
107 107
      * @param cChannelClient Client that parted
108 108
      * @param sReason Reason given for parting (May be "")

+ 2
- 2
src/com/dmdirc/parser/irc/ProcessQuit.java Прегледај датотеку

@@ -111,7 +111,7 @@ public class ProcessQuit extends IRCProcessor {
111 111
     /**
112 112
      * Callback to all objects implementing the ChannelQuit Callback.
113 113
      *
114
-     * @see IChannelQuit
114
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelQuitListener
115 115
      * @param cChannel Channel that user was on
116 116
      * @param cChannelClient User thats quitting
117 117
      * @param sReason Quit reason
@@ -124,7 +124,7 @@ public class ProcessQuit extends IRCProcessor {
124 124
     /**
125 125
      * Callback to all objects implementing the Quit Callback.
126 126
      *
127
-     * @see IQuit
127
+     * @see com.dmdirc.parser.interfaces.callbacks.QuitListener
128 128
      * @param cClient Client Quitting
129 129
      * @param sReason Reason for quitting (may be "")
130 130
      * @return true if a method was called, false otherwise

+ 1
- 1
src/com/dmdirc/parser/irc/ProcessTopic.java Прегледај датотеку

@@ -93,7 +93,7 @@ public class ProcessTopic extends IRCProcessor {
93 93
     /**
94 94
      * Callback to all objects implementing the ChannelTopic Callback.
95 95
      *
96
-     * @see IChannelTopic
96
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelTopicListener
97 97
      * @param cChannel Channel that topic was set on
98 98
      * @param bIsJoinTopic True when getting topic on join, false if set by user/server
99 99
      * @return true if a method was called, false otherwise

+ 3
- 3
src/com/dmdirc/parser/irc/ProcessWallops.java Прегледај датотеку

@@ -75,7 +75,7 @@ public class ProcessWallops extends IRCProcessor {
75 75
     /**
76 76
      * Callback to all objects implementing the Wallop Callback.
77 77
      *
78
-     * @see IWallop
78
+     * @see com.dmdirc.parser.interfaces.callbacks.WallopListener
79 79
      * @param host Host of the user who sent the wallop
80 80
      * @param message The message
81 81
      * @return true if a method was called, false otherwise
@@ -87,7 +87,7 @@ public class ProcessWallops extends IRCProcessor {
87 87
     /**
88 88
      * Callback to all objects implementing the Walluser Callback.
89 89
      *
90
-     * @see IWalluser
90
+     * @see com.dmdirc.parser.interfaces.callbacks.WalluserListener
91 91
      * @param host Host of the user who sent the walluser
92 92
      * @param message The message
93 93
      * @return true if a method was called, false otherwise
@@ -99,7 +99,7 @@ public class ProcessWallops extends IRCProcessor {
99 99
     /**
100 100
      * Callback to all objects implementing the WallDesync Callback.
101 101
      *
102
-     * @see IWallDesync
102
+     * @see com.dmdirc.parser.interfaces.callbacks.WallDesyncListener
103 103
      * @param host Host of the user who sent the WallDesync
104 104
      * @param message The message
105 105
      * @return true if a method was called, false otherwise

+ 3
- 3
src/com/dmdirc/parser/irc/ProcessWho.java Прегледај датотеку

@@ -97,7 +97,7 @@ public class ProcessWho extends IRCProcessor {
97 97
     /**
98 98
      * Callback to all objects implementing the onAwayState Callback.
99 99
      *
100
-     * @see IAwayState
100
+     * @see com.dmdirc.parser.interfaces.callbacks.AwayStateListener
101 101
      * @param oldState Old Away State
102 102
      * @param currentState Current Away State
103 103
      * @param reason Best guess at away reason
@@ -110,7 +110,7 @@ public class ProcessWho extends IRCProcessor {
110 110
     /**
111 111
      * Callback to all objects implementing the onAwayStateOther Callback.
112 112
      *
113
-     * @see IAwayStateOther
113
+     * @see com.dmdirc.parser.interfaces.callbacks.OtherAwayStateListener
114 114
      * @param client Client this is for
115 115
      * @param oldState Old Away State
116 116
      * @param state Current Away State
@@ -123,7 +123,7 @@ public class ProcessWho extends IRCProcessor {
123 123
     /**
124 124
      * Callback to all objects implementing the onChannelAwayStateOther Callback.
125 125
      *
126
-     * @see IAwayStateOther
126
+     * @see com.dmdirc.parser.interfaces.callbacks.ChannelOtherAwayStateListener
127 127
      * @param channel Channel this is for
128 128
      * @param channelClient ChannelClient this is for
129 129
      * @param oldState Old Away State

+ 1
- 1
src/com/dmdirc/parser/irc/ProcessingManager.java Прегледај датотеку

@@ -237,7 +237,7 @@ public class ProcessingManager {
237 237
     /**
238 238
      * Callback to all objects implementing the onNumeric Callback.
239 239
      *
240
-     * @see INumeric
240
+     * @see com.dmdirc.parser.interfaces.callbacks.NumericListener
241 241
      * @param numeric What numeric is this for
242 242
      * @param token IRC Tokenised line
243 243
      * @return true if a method was called, false otherwise

+ 3
- 2
src/com/dmdirc/parser/irc/ServerType.java Прегледај датотеку

@@ -227,8 +227,9 @@ public enum ServerType {
227 227
     /**
228 228
      * Check if the given mode is op-only.
229 229
      *
230
-     * @param mode
231
-     * @return
230
+     * @param mode Mode to check
231
+     *
232
+     * @return true if mode is op only
232 233
      */
233 234
     public boolean isOpOnly(final char mode) {
234 235
         return opOnly.indexOf(mode) != -1;

Loading…
Откажи
Сачувај