瀏覽代碼

Typo fixes.

Change-Id: I402d52e9bd09192fee54584e24f0eff33fd581e4
Depends-On: I2028d8c1ddd14b276f373b9400265b25f0e5e939
Reviewed-on: http://gerrit.dmdirc.com/3697
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
pull/1/head
Chris Smith 9 年之前
父節點
當前提交
8176ecd3c1
共有 29 個檔案被更改,包括 59 行新增63 行删除
  1. 9
    9
      src/com/dmdirc/FrameContainer.java
  2. 2
    2
      src/com/dmdirc/MessageTarget.java
  3. 1
    1
      src/com/dmdirc/commandparser/CommandArguments.java
  4. 3
    3
      src/com/dmdirc/commandparser/PopupManager.java
  5. 1
    1
      src/com/dmdirc/interfaces/actions/ActionComparison.java
  6. 2
    2
      src/com/dmdirc/interfaces/actions/ActionComponent.java
  7. 1
    1
      src/com/dmdirc/interfaces/ui/AliasDialogModel.java
  8. 1
    1
      src/com/dmdirc/messages/AllMessageSink.java
  9. 2
    3
      src/com/dmdirc/messages/ChannelMessageSink.java
  10. 4
    5
      src/com/dmdirc/messages/CommonChannelsMessageSink.java
  11. 1
    1
      src/com/dmdirc/messages/CustomWindowMessageSink.java
  12. 2
    2
      src/com/dmdirc/messages/ForkMessageSink.java
  13. 2
    2
      src/com/dmdirc/messages/FormatMessageSink.java
  14. 2
    2
      src/com/dmdirc/messages/GroupMessageSink.java
  15. 1
    1
      src/com/dmdirc/messages/LastCommandMessageSink.java
  16. 2
    2
      src/com/dmdirc/messages/MessageSink.java
  17. 8
    9
      src/com/dmdirc/messages/MessageSinkManager.java
  18. 1
    1
      src/com/dmdirc/messages/MessagesModule.java
  19. 1
    1
      src/com/dmdirc/messages/NullMessageSink.java
  20. 1
    1
      src/com/dmdirc/messages/SelfMessageSink.java
  21. 1
    1
      src/com/dmdirc/messages/ServerMessageSink.java
  22. 1
    1
      src/com/dmdirc/messages/StatusBarMessageSink.java
  23. 3
    3
      src/com/dmdirc/plugins/PluginInfo.java
  24. 2
    2
      src/com/dmdirc/plugins/implementations/PluginFilesHelper.java
  25. 1
    1
      src/com/dmdirc/tls/CertificateAction.java
  26. 1
    1
      src/com/dmdirc/tls/CertificateManager.java
  27. 1
    1
      src/com/dmdirc/ui/IconManager.java
  28. 1
    1
      src/com/dmdirc/ui/core/aliases/CoreAliasDialogModel.java
  29. 1
    2
      src/com/dmdirc/updater/components/PluginComponent.java

+ 9
- 9
src/com/dmdirc/FrameContainer.java 查看文件

@@ -97,7 +97,7 @@ public abstract class FrameContainer {
97 97
     private final Object documentSync = new Object();
98 98
     /** The manager to use to manage our event bus. */
99 99
     private final ChildEventBusManager eventBusManager;
100
-    /** Event bus to despatch events to. */
100
+    /** Event bus to dispatch events to. */
101 101
     private final EventBus eventBus;
102 102
     /** The icon manager to use for this container. */
103 103
     private final IconManager iconManager;
@@ -110,7 +110,7 @@ public abstract class FrameContainer {
110 110
      */
111 111
     private final Optional<CommandParser> commandParser;
112 112
     /**
113
-     * The manager to use to despatch messages to sinks.
113
+     * The manager to use to dispatch messages to sinks.
114 114
      * <p>
115 115
      * Only defined if this container is {@link #writable}.
116 116
      */
@@ -131,7 +131,7 @@ public abstract class FrameContainer {
131 131
      * @param title      The title of this container
132 132
      * @param config     The config manager for this container
133 133
      * @param urlBuilder The URL builder to use when finding icons.
134
-     * @param eventBus   The bus to despatch events on.
134
+     * @param eventBus   The bus to dispatch events on.
135 135
      * @param components The UI components that this frame requires
136 136
      *
137 137
      * @since 0.6.4
@@ -174,8 +174,8 @@ public abstract class FrameContainer {
174 174
      * @param urlBuilder         The URL builder to use when finding icons.
175 175
      * @param commandParser      The command parser to use for input.
176 176
      * @param tabCompleter       The tab completer to use.
177
-     * @param messageSinkManager The manager to use to despatch notifications.
178
-     * @param eventBus           The bus to despatch events on.
177
+     * @param messageSinkManager The manager to use to dispatch notifications.
178
+     * @param eventBus           The bus to dispatch events on.
179 179
      * @param components         The UI components that this frame requires
180 180
      *
181 181
      * @since 0.6.4
@@ -631,7 +631,7 @@ public abstract class FrameContainer {
631 631
     }
632 632
 
633 633
     /**
634
-     * Retrieves the tab completer which should be used for this cotnainer.
634
+     * Retrieves the tab completer which should be used for this container.
635 635
      *
636 636
      * @return This container's tab completer
637 637
      */
@@ -724,7 +724,7 @@ public abstract class FrameContainer {
724 724
     /**
725 725
      * Processes and displays a notification.
726 726
      *
727
-     * @param date        The date/time at which the event occured
727
+     * @param date        The date/time at which the event occurred
728 728
      * @param messageType The name of the formatter to be used for the message
729 729
      * @param args        The arguments for the message
730 730
      *
@@ -790,13 +790,13 @@ public abstract class FrameContainer {
790 790
      * Handles general server notifications (i.e., ones not tied to a specific window). The user can
791 791
      * select where the notifications should go in their config.
792 792
      *
793
-     * @param date        The date/time at which the event occured
793
+     * @param date        The date/time at which the event occurred
794 794
      * @param messageType The type of message that is being sent
795 795
      * @param args        The arguments for the message
796 796
      */
797 797
     public void handleNotification(final Date date, final String messageType, final Object... args) {
798 798
         checkState(writable);
799
-        messageSinkManager.get().despatchMessage(this, date, messageType, args);
799
+        messageSinkManager.get().dispatchMessage(this, date, messageType, args);
800 800
     }
801 801
 
802 802
     /**

+ 2
- 2
src/com/dmdirc/MessageTarget.java 查看文件

@@ -49,9 +49,9 @@ public abstract class MessageTarget extends FrameContainer {
49 49
      * @param config             The config manager to use for this target
50 50
      * @param parser             The command parser for this container
51 51
      * @param tabCompleter       The tab completer to use
52
-     * @param messageSinkManager The sink manager to use to despatch messages.
52
+     * @param messageSinkManager The sink manager to use to dispatch messages.
53 53
      * @param urlBuilder         The URL builder to use when finding icons.
54
-     * @param eventBus           The bus to despatch events on.
54
+     * @param eventBus           The bus to dispatch events on.
55 55
      * @param components         The UI components that this frame requires
56 56
      *
57 57
      * @since 0.6.4

+ 1
- 1
src/com/dmdirc/commandparser/CommandArguments.java 查看文件

@@ -122,7 +122,7 @@ public class CommandArguments {
122 122
     }
123 123
 
124 124
     /**
125
-     * Retrieves the arguments to the command split into disticnt, whitespace-separated words.
125
+     * Retrieves the arguments to the command split into distinct, whitespace-separated words.
126 126
      *
127 127
      * @return An array of 'words' that make up the command's arguments
128 128
      */

+ 3
- 3
src/com/dmdirc/commandparser/PopupManager.java 查看文件

@@ -37,14 +37,14 @@ public class PopupManager {
37 37
 
38 38
     /** The command controller to use for items. */
39 39
     private final CommandController commandController;
40
-    /** The bus to despatch events on. */
40
+    /** The bus to dispatch events on. */
41 41
     private final EventBus eventBus;
42 42
 
43 43
     /**
44 44
      * Creates a new instance of PopupManager.
45 45
      *
46 46
      * @param commandController The controller to use for commands.
47
-     * @param eventBus          The bus to despatch events on.
47
+     * @param eventBus          The bus to dispatch events on.
48 48
      */
49 49
     @Inject
50 50
     public PopupManager(final CommandController commandController, final EventBus eventBus) {
@@ -98,7 +98,7 @@ public class PopupManager {
98 98
      *
99 99
      * @param item          The item to be turned into a PopupMenuItem
100 100
      * @param type          The type of popup item to create
101
-     * @param configManager The config manager to beused for the menu
101
+     * @param configManager The config manager to be used for the menu
102 102
      *
103 103
      * @return The corresponding PopupMenuItem
104 104
      */

+ 1
- 1
src/com/dmdirc/interfaces/actions/ActionComparison.java 查看文件

@@ -48,7 +48,7 @@ public interface ActionComparison {
48 48
     /**
49 49
      * Returns a friendly name for this comparison.
50 50
      *
51
-     * @return This comparion's friendly name
51
+     * @return This comparison's friendly name
52 52
      */
53 53
     String getName();
54 54
 

+ 2
- 2
src/com/dmdirc/interfaces/actions/ActionComponent.java 查看文件

@@ -78,14 +78,14 @@ public interface ActionComponent {
78 78
     Class<?> getType();
79 79
 
80 80
     /**
81
-     * Retrives a friendly name for this component.
81
+     * Retrieves a friendly name for this component.
82 82
      *
83 83
      * @return This component's friendly name
84 84
      */
85 85
     String getName();
86 86
 
87 87
     /**
88
-     * Retrieve's the internal name of this action component.
88
+     * Retrieves the internal name of this action component.
89 89
      *
90 90
      * @since 0.6.4
91 91
      * @return The internal name of this component

+ 1
- 1
src/com/dmdirc/interfaces/ui/AliasDialogModel.java 查看文件

@@ -119,7 +119,7 @@ public interface AliasDialogModel {
119 119
      *
120 120
      * @return Selected alias minimum arguments
121 121
      */
122
-    int getSelectedAliasMininumArguments();
122
+    int getSelectedAliasMinimumArguments();
123 123
 
124 124
     /**
125 125
      * Gets the substitution of the selected alias.

+ 1
- 1
src/com/dmdirc/messages/AllMessageSink.java 查看文件

@@ -47,7 +47,7 @@ public class AllMessageSink implements MessageSink {
47 47
     }
48 48
 
49 49
     @Override
50
-    public void handleMessage(final MessageSinkManager despatcher,
50
+    public void handleMessage(final MessageSinkManager dispatcher,
51 51
             final FrameContainer source,
52 52
             final String[] patternMatches, final Date date,
53 53
             final String messageType, final Object... args) {

+ 2
- 3
src/com/dmdirc/messages/ChannelMessageSink.java 查看文件

@@ -50,7 +50,7 @@ public class ChannelMessageSink implements MessageSink {
50 50
     }
51 51
 
52 52
     @Override
53
-    public void handleMessage(final MessageSinkManager despatcher,
53
+    public void handleMessage(final MessageSinkManager dispatcher,
54 54
             final FrameContainer source,
55 55
             final String[] patternMatches, final Date date,
56 56
             final String messageType, final Object... args) {
@@ -71,8 +71,7 @@ public class ChannelMessageSink implements MessageSink {
71 71
                 source.addLine(messageType, date, args);
72 72
             } else {
73 73
                 // They specified a fallback
74
-                despatcher.despatchMessage(source, date, messageType,
75
-                        patternMatches[1], args);
74
+                dispatcher.dispatchMessage(source, date, messageType, patternMatches[1], args);
76 75
             }
77 76
         }
78 77
     }

src/com/dmdirc/messages/CommonChanelsMessageSink.java → src/com/dmdirc/messages/CommonChannelsMessageSink.java 查看文件

@@ -36,13 +36,13 @@ import javax.inject.Inject;
36 36
  * channels with the user. If no fallback is specified and there are no common channels, the message
37 37
  * is despatched to the source.
38 38
  */
39
-public class CommonChanelsMessageSink implements MessageSink {
39
+public class CommonChannelsMessageSink implements MessageSink {
40 40
 
41 41
     /** The pattern to use to match this sink. */
42 42
     private static final Pattern PATTERN = Pattern.compile("comchans:(.*?)(?:\\s(.*))?");
43 43
 
44 44
     @Inject
45
-    public CommonChanelsMessageSink() {
45
+    public CommonChannelsMessageSink() {
46 46
     }
47 47
 
48 48
     @Override
@@ -51,7 +51,7 @@ public class CommonChanelsMessageSink implements MessageSink {
51 51
     }
52 52
 
53 53
     @Override
54
-    public void handleMessage(final MessageSinkManager despatcher,
54
+    public void handleMessage(final MessageSinkManager dispatcher,
55 55
             final FrameContainer source,
56 56
             final String[] patternMatches, final Date date,
57 57
             final String messageType, final Object... args) {
@@ -72,8 +72,7 @@ public class CommonChanelsMessageSink implements MessageSink {
72 72
                 source.addLine(messageType, date, args);
73 73
             } else {
74 74
                 // They specified a fallback
75
-                despatcher.despatchMessage(source, date, messageType,
76
-                        patternMatches[1], args);
75
+                dispatcher.dispatchMessage(source, date, messageType, patternMatches[1], args);
77 76
             }
78 77
         }
79 78
     }

+ 1
- 1
src/com/dmdirc/messages/CustomWindowMessageSink.java 查看文件

@@ -65,7 +65,7 @@ public class CustomWindowMessageSink implements MessageSink {
65 65
     }
66 66
 
67 67
     @Override
68
-    public void handleMessage(final MessageSinkManager despatcher,
68
+    public void handleMessage(final MessageSinkManager dispatcher,
69 69
             final FrameContainer source,
70 70
             final String[] patternMatches, final Date date,
71 71
             final String messageType, final Object... args) {

+ 2
- 2
src/com/dmdirc/messages/ForkMessageSink.java 查看文件

@@ -47,12 +47,12 @@ public class ForkMessageSink implements MessageSink {
47 47
     }
48 48
 
49 49
     @Override
50
-    public void handleMessage(final MessageSinkManager despatcher,
50
+    public void handleMessage(final MessageSinkManager dispatcher,
51 51
             final FrameContainer source,
52 52
             final String[] patternMatches, final Date date,
53 53
             final String messageType, final Object... args) {
54 54
         for (String target : patternMatches[0].split("\\|")) {
55
-            despatcher.despatchMessage(source, date, target, args);
55
+            dispatcher.dispatchMessage(source, date, target, args);
56 56
         }
57 57
     }
58 58
 

+ 2
- 2
src/com/dmdirc/messages/FormatMessageSink.java 查看文件

@@ -47,11 +47,11 @@ public class FormatMessageSink implements MessageSink {
47 47
     }
48 48
 
49 49
     @Override
50
-    public void handleMessage(final MessageSinkManager despatcher,
50
+    public void handleMessage(final MessageSinkManager dispatcher,
51 51
             final FrameContainer source,
52 52
             final String[] patternMatches, final Date date,
53 53
             final String messageType, final Object... args) {
54
-        despatcher.despatchMessage(source, date, patternMatches[0], patternMatches[1], args);
54
+        dispatcher.dispatchMessage(source, date, patternMatches[0], patternMatches[1], args);
55 55
     }
56 56
 
57 57
 }

+ 2
- 2
src/com/dmdirc/messages/GroupMessageSink.java 查看文件

@@ -50,7 +50,7 @@ public class GroupMessageSink implements MessageSink {
50 50
 
51 51
     /** {@inheritDoc} */
52 52
     @Override
53
-    public void handleMessage(final MessageSinkManager despatcher,
53
+    public void handleMessage(final MessageSinkManager dispatcher,
54 54
             final FrameContainer source,
55 55
             final String[] patternMatches, final Date date,
56 56
             final String messageType, final Object... args) {
@@ -63,7 +63,7 @@ public class GroupMessageSink implements MessageSink {
63 63
             target = MessageSinkManager.DEFAULT_SINK;
64 64
         }
65 65
 
66
-        despatcher.despatchMessage(source, date, messageType, target, args);
66
+        dispatcher.dispatchMessage(source, date, messageType, target, args);
67 67
     }
68 68
 
69 69
 }

+ 1
- 1
src/com/dmdirc/messages/LastCommandMessageSink.java 查看文件

@@ -53,7 +53,7 @@ public class LastCommandMessageSink implements MessageSink {
53 53
 
54 54
     /** {@inheritDoc} */
55 55
     @Override
56
-    public void handleMessage(final MessageSinkManager despatcher,
56
+    public void handleMessage(final MessageSinkManager dispatcher,
57 57
             final FrameContainer source,
58 58
             final String[] patternMatches, final Date date,
59 59
             final String messageType, final Object... args) {

+ 2
- 2
src/com/dmdirc/messages/MessageSink.java 查看文件

@@ -44,14 +44,14 @@ public interface MessageSink {
44 44
     /**
45 45
      * Handles a message which has been directed to this sink.
46 46
      *
47
-     * @param despatcher     The manager that is despatching the message
47
+     * @param dispatcher     The manager that is dispatching the message
48 48
      * @param source         The original source of the message
49 49
      * @param patternMatches An array of groups matched from this sink's pattern
50 50
      * @param date           The date at which the message occurred
51 51
      * @param messageType    The type of the message (used for formatting)
52 52
      * @param args           The message arguments
53 53
      */
54
-    void handleMessage(final MessageSinkManager despatcher,
54
+    void handleMessage(final MessageSinkManager dispatcher,
55 55
             final FrameContainer source,
56 56
             final String[] patternMatches, final Date date,
57 57
             final String messageType, final Object... args);

+ 8
- 9
src/com/dmdirc/messages/MessageSinkManager.java 查看文件

@@ -32,7 +32,7 @@ import java.util.List;
32 32
 import java.util.regex.Matcher;
33 33
 
34 34
 /**
35
- * Manages message sinks and facilitates despatching of messages to sinks.
35
+ * Manages message sinks and facilitates dispatching of messages to sinks.
36 36
  */
37 37
 public class MessageSinkManager {
38 38
 
@@ -62,7 +62,7 @@ public class MessageSinkManager {
62 62
     }
63 63
 
64 64
     /**
65
-     * Despatches a message to the appropriate sink. This method will attempt to select an
65
+     * Dispatches a message to the appropriate sink. This method will attempt to select an
66 66
      * appropriate target sink from the user's configuration.
67 67
      *
68 68
      * @param source      The source of the message
@@ -70,7 +70,7 @@ public class MessageSinkManager {
70 70
      * @param messageType The type (or 'format') of the message
71 71
      * @param args        The message arguments
72 72
      */
73
-    public void despatchMessage(final FrameContainer source, final Date date,
73
+    public void dispatchMessage(final FrameContainer source, final Date date,
74 74
             final String messageType, final Object... args) {
75 75
         final String target;
76 76
         if (source.getConfigManager().hasOptionString(CONFIG_DOMAIN, messageType)) {
@@ -79,11 +79,11 @@ public class MessageSinkManager {
79 79
             target = DEFAULT_SINK;
80 80
         }
81 81
 
82
-        despatchMessage(source, date, messageType, target, args);
82
+        dispatchMessage(source, date, messageType, target, args);
83 83
     }
84 84
 
85 85
     /**
86
-     * Despatches a message to the appropriate sink.
86
+     * Dispatches a message to the appropriate sink.
87 87
      *
88 88
      * @param source      The source of the message
89 89
      * @param date        The date at which the message occurred
@@ -91,9 +91,8 @@ public class MessageSinkManager {
91 91
      * @param targetSink  The textual representation of the destination sink
92 92
      * @param args        The message arguments
93 93
      */
94
-    public void despatchMessage(final FrameContainer source,
95
-            final Date date, final String messageType, final String targetSink,
96
-            final Object... args) {
94
+    public void dispatchMessage(final FrameContainer source, final Date date,
95
+            final String messageType, final String targetSink, final Object... args) {
97 96
         for (MessageSink sink : sinks) {
98 97
             final Matcher matcher = sink.getPattern().matcher(targetSink);
99 98
 
@@ -114,7 +113,7 @@ public class MessageSinkManager {
114 113
                 + messageType + ": " + targetSink);
115 114
 
116 115
         if (!DEFAULT_SINK.equals(targetSink)) {
117
-            despatchMessage(source, date, messageType, DEFAULT_SINK, args);
116
+            dispatchMessage(source, date, messageType, DEFAULT_SINK, args);
118 117
         }
119 118
     }
120 119
 

+ 1
- 1
src/com/dmdirc/messages/MessagesModule.java 查看文件

@@ -56,7 +56,7 @@ public class MessagesModule {
56 56
     }
57 57
 
58 58
     @Provides(type = Provides.Type.SET)
59
-    public MessageSink getMessageSink(final CommonChanelsMessageSink sink) {
59
+    public MessageSink getMessageSink(final CommonChannelsMessageSink sink) {
60 60
         return sink;
61 61
     }
62 62
 

+ 1
- 1
src/com/dmdirc/messages/NullMessageSink.java 查看文件

@@ -49,7 +49,7 @@ public class NullMessageSink implements MessageSink {
49 49
 
50 50
     /** {@inheritDoc} */
51 51
     @Override
52
-    public void handleMessage(final MessageSinkManager despatcher,
52
+    public void handleMessage(final MessageSinkManager dispatcher,
53 53
             final FrameContainer source,
54 54
             final String[] patternMatches, final Date date,
55 55
             final String messageType, final Object... args) {

+ 1
- 1
src/com/dmdirc/messages/SelfMessageSink.java 查看文件

@@ -49,7 +49,7 @@ public class SelfMessageSink implements MessageSink {
49 49
 
50 50
     /** {@inheritDoc} */
51 51
     @Override
52
-    public void handleMessage(final MessageSinkManager despatcher,
52
+    public void handleMessage(final MessageSinkManager dispatcher,
53 53
             final FrameContainer source,
54 54
             final String[] patternMatches, final Date date,
55 55
             final String messageType, final Object... args) {

+ 1
- 1
src/com/dmdirc/messages/ServerMessageSink.java 查看文件

@@ -50,7 +50,7 @@ public class ServerMessageSink implements MessageSink {
50 50
 
51 51
     /** {@inheritDoc} */
52 52
     @Override
53
-    public void handleMessage(final MessageSinkManager despatcher,
53
+    public void handleMessage(final MessageSinkManager dispatcher,
54 54
             final FrameContainer source,
55 55
             final String[] patternMatches, final Date date,
56 56
             final String messageType, final Object... args) {

+ 1
- 1
src/com/dmdirc/messages/StatusBarMessageSink.java 查看文件

@@ -60,7 +60,7 @@ public class StatusBarMessageSink implements MessageSink {
60 60
 
61 61
     /** {@inheritDoc} */
62 62
     @Override
63
-    public void handleMessage(final MessageSinkManager despatcher,
63
+    public void handleMessage(final MessageSinkManager dispatcher,
64 64
             final FrameContainer source,
65 65
             final String[] patternMatches, final Date date,
66 66
             final String messageType, final Object... args) {

+ 3
- 3
src/com/dmdirc/plugins/PluginInfo.java 查看文件

@@ -368,7 +368,7 @@ public class PluginInfo implements Comparable<PluginInfo>, ServiceProvider {
368 368
      */
369 369
     public void pluginUpdated() {
370 370
         try {
371
-            // Force a new resourcemanager just incase.
371
+            // Force a new resourcemanager just in case.
372 372
             updateClassList(getResourceManager(true));
373 373
 
374 374
             updateMetaData();
@@ -635,7 +635,7 @@ public class PluginInfo implements Comparable<PluginInfo>, ServiceProvider {
635 635
             loadClass(metaData.getMainClass());
636 636
 
637 637
             if (isLoaded()) {
638
-                //TODO plugin loading shouldnt be done from here, event bus shouldn't be here.
638
+                //TODO plugin loading shouldn't be done from here, event bus shouldn't be here.
639 639
                 eventBus.post(new PluginLoadedEvent(this));
640 640
             }
641 641
 
@@ -855,7 +855,7 @@ public class PluginInfo implements Comparable<PluginInfo>, ServiceProvider {
855 855
                     eventBus.post(new AppErrorEvent(ErrorLevel.MEDIUM, e, lastError, ""));
856 856
                 }
857 857
 
858
-                //TODO plugin unloading shouldnt be done from here, event bus shouldn't be here.
858
+                //TODO plugin unloading shouldn't be done from here, event bus shouldn't be here.
859 859
                 eventBus.post(new PluginUnloadedEvent(this));
860 860
                 synchronized (provides) {
861 861
                     for (Service service : provides) {

+ 2
- 2
src/com/dmdirc/plugins/implementations/PluginFilesHelper.java 查看文件

@@ -102,7 +102,7 @@ public class PluginFilesHelper {
102 102
      *
103 103
      * @throws IOException if the resources failed to extract
104 104
      */
105
-    public void extractResoucesStartingWith(final String prefix) throws IOException {
105
+    public void extractResourcesStartingWith(final String prefix) throws IOException {
106 106
         pluginInfo.getResourceManager().extractResources(prefix, filesDir.toString(), true);
107 107
     }
108 108
 
@@ -113,7 +113,7 @@ public class PluginFilesHelper {
113 113
      *
114 114
      * @throws IOException if the resources failed to extract
115 115
      */
116
-    public void extractResoucesEndingWith(final String suffix) throws IOException {
116
+    public void extractResourcesEndingWith(final String suffix) throws IOException {
117 117
         pluginInfo.getResourceManager().extractResoucesEndingWith(filesDir, suffix);
118 118
     }
119 119
 

+ 1
- 1
src/com/dmdirc/tls/CertificateAction.java 查看文件

@@ -34,6 +34,6 @@ public enum CertificateAction {
34 34
     /** Ignores the problem but does not store the exception. */
35 35
     IGNORE_TEMPORARILY,
36 36
     /** Adds a permanent exception for the certificate. */
37
-    IGNORE_PERMANENTY;
37
+    IGNORE_PERMANENTLY;
38 38
 
39 39
 }

+ 1
- 1
src/com/dmdirc/tls/CertificateManager.java 查看文件

@@ -350,7 +350,7 @@ public class CertificateManager implements X509TrustManager {
350 350
             switch (action) {
351 351
                 case DISCONNECT:
352 352
                     throw new CertificateException("Not trusted");
353
-                case IGNORE_PERMANENTY:
353
+                case IGNORE_PERMANENTLY:
354 354
                     final List<String> list = new ArrayList<>(config
355 355
                             .getOptionList("ssl", "trusted"));
356 356
                     list.add(Base64.encodeToString(chain[0].getSignature(), false));

+ 1
- 1
src/com/dmdirc/ui/IconManager.java 查看文件

@@ -153,7 +153,7 @@ public class IconManager implements ConfigChangeListener {
153 153
                 ? configManager.getOption("icon", iconType)
154 154
                 : "dmdirc://com/dmdirc/res/" + iconType + ".png";
155 155
 
156
-        //Get the url for the speficied path
156
+        //Get the url for the specified path
157 157
         URL imageURL = urlBuilder.getUrl(path);
158 158
 
159 159
         if (imageURL == null && defaultURL != null) {

+ 1
- 1
src/com/dmdirc/ui/core/aliases/CoreAliasDialogModel.java 查看文件

@@ -202,7 +202,7 @@ public class CoreAliasDialogModel implements AliasDialogModel {
202 202
     }
203 203
 
204 204
     @Override
205
-    public int getSelectedAliasMininumArguments() {
205
+    public int getSelectedAliasMinimumArguments() {
206 206
         return minArgs;
207 207
     }
208 208
 

+ 1
- 2
src/com/dmdirc/updater/components/PluginComponent.java 查看文件

@@ -106,8 +106,7 @@ public class PluginComponent implements UpdateComponent {
106 106
         }
107 107
 
108 108
         // Try and move the downloaded plugin to the new location.
109
-        // If it doesn't work then keep the plugin in a .update file untill
110
-        // the next restart.
109
+        // If it doesn't work then keep the plugin in a .update file until the next restart.
111 110
         // If it does, update the metadata.
112 111
         final File newPlugin = new File(path);
113 112
         if (!isValid(newPlugin)) {

Loading…
取消
儲存