Sfoglia il codice sorgente

Lots of typo fixes.

Change-Id: I362e53fc9f05497f48dac4951991b79daebfdb81
Depends-On: Ide5afea6d4e7ba04cf3226f10e1ea530e1a60c10
Depends-On: Ic2a1b97aa44e9168bae4a1e28941208e7711bb46
Reviewed-on: http://gerrit.dmdirc.com/3743
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
pull/1/head
Chris Smith 9 anni fa
parent
commit
3091940b40
59 ha cambiato i file con 94 aggiunte e 94 eliminazioni
  1. 1
    1
      src/com/dmdirc/ClientModule.java
  2. 1
    1
      src/com/dmdirc/CustomWindow.java
  3. 2
    2
      src/com/dmdirc/GlobalWindow.java
  4. 1
    1
      src/com/dmdirc/Main.java
  5. 1
    1
      src/com/dmdirc/MissingModeAliasException.java
  6. 2
    2
      src/com/dmdirc/Query.java
  7. 1
    1
      src/com/dmdirc/Raw.java
  8. 4
    4
      src/com/dmdirc/Server.java
  9. 1
    1
      src/com/dmdirc/ServerManager.java
  10. 1
    1
      src/com/dmdirc/ServerStatus.java
  11. 1
    1
      src/com/dmdirc/actions/ActionSubstitutor.java
  12. 2
    2
      src/com/dmdirc/actions/ConditionTree.java
  13. 1
    1
      src/com/dmdirc/actions/ConditionTreeFactory.java
  14. 1
    1
      src/com/dmdirc/commandparser/aliases/AliasesModule.java
  15. 1
    1
      src/com/dmdirc/commandparser/commands/global/Ifplugin.java
  16. 2
    2
      src/com/dmdirc/commandparser/commands/global/OpenWindow.java
  17. 1
    1
      src/com/dmdirc/commandparser/commands/server/Message.java
  18. 1
    1
      src/com/dmdirc/commandparser/package-info.java
  19. 1
    1
      src/com/dmdirc/config/CipherUtils.java
  20. 1
    1
      src/com/dmdirc/config/ConfigManager.java
  21. 1
    1
      src/com/dmdirc/config/package-info.java
  22. 1
    1
      src/com/dmdirc/config/prefs/PreferencesCategory.java
  23. 1
    1
      src/com/dmdirc/interfaces/Connection.java
  24. 1
    1
      src/com/dmdirc/lists/GroupListManager.java
  25. 1
    1
      src/com/dmdirc/logger/ErrorManager.java
  26. 1
    1
      src/com/dmdirc/logger/ProgramError.java
  27. 1
    1
      src/com/dmdirc/messages/ChannelMessageSink.java
  28. 1
    1
      src/com/dmdirc/messages/CommonChannelsMessageSink.java
  29. 1
    1
      src/com/dmdirc/messages/FormatMessageSink.java
  30. 1
    1
      src/com/dmdirc/messages/SelfMessageSink.java
  31. 1
    1
      src/com/dmdirc/plugins/ExportedService.java
  32. 1
    1
      src/com/dmdirc/plugins/Plugin.java
  33. 2
    2
      src/com/dmdirc/plugins/PluginClassLoader.java
  34. 3
    3
      src/com/dmdirc/plugins/ServiceManager.java
  35. 1
    1
      src/com/dmdirc/plugins/implementations/PluginFilesHelper.java
  36. 1
    1
      src/com/dmdirc/ui/CoreUIUtils.java
  37. 2
    2
      src/com/dmdirc/ui/FatalErrorDialog.java
  38. 1
    1
      src/com/dmdirc/ui/StatusMessage.java
  39. 1
    1
      src/com/dmdirc/ui/WindowManager.java
  40. 1
    1
      src/com/dmdirc/ui/core/dialogs/sslcertificate/SSLCertificateDialogModel.java
  41. 2
    2
      src/com/dmdirc/ui/input/InputHandler.java
  42. 4
    4
      src/com/dmdirc/ui/messages/IRCDocument.java
  43. 1
    1
      src/com/dmdirc/ui/messages/Styliser.java
  44. 1
    1
      src/com/dmdirc/updater/UpdateComponent.java
  45. 3
    3
      src/com/dmdirc/updater/UpdaterModule.java
  46. 1
    1
      src/com/dmdirc/updater/installing/UpdateInstallationStrategy.java
  47. 5
    5
      src/com/dmdirc/updater/manager/DMDircUpdateManager.java
  48. 4
    4
      src/com/dmdirc/updater/manager/RetrievalTask.java
  49. 3
    3
      src/com/dmdirc/updater/manager/UpdateManager.java
  50. 7
    7
      src/com/dmdirc/updater/manager/UpdateManagerImpl.java
  51. 1
    1
      src/com/dmdirc/updater/retrieving/DownloadRetrievalStrategy.java
  52. 2
    2
      src/com/dmdirc/updater/retrieving/TypeSensitiveRetrievalStrategy.java
  53. 1
    1
      src/com/dmdirc/updater/retrieving/UpdateRetrievalListener.java
  54. 1
    1
      src/com/dmdirc/updater/retrieving/UpdateRetrievalResult.java
  55. 1
    1
      src/com/dmdirc/updater/retrieving/UpdateRetrievalStrategy.java
  56. 2
    2
      src/com/dmdirc/util/URIParser.java
  57. 1
    1
      src/com/dmdirc/util/YamlReaderUtils.java
  58. 1
    1
      src/com/dmdirc/util/resourcemanager/FileResourceManager.java
  59. 2
    2
      src/com/dmdirc/util/resourcemanager/ResourceManager.java

+ 1
- 1
src/com/dmdirc/ClientModule.java Vedi File

@@ -230,7 +230,7 @@ public class ClientModule {
230 230
         }
231 231
 
232 232
         // The user may have an existing parser plugin (e.g. twitter) which
233
-        // will satisfy the service existance check above, but will render the
233
+        // will satisfy the service existence check above, but will render the
234 234
         // client pretty useless, so we'll force IRC extraction for now.
235 235
         extractor.extractCorePlugins("parser_irc");
236 236
         manager.refreshPlugins();

+ 1
- 1
src/com/dmdirc/CustomWindow.java Vedi File

@@ -62,7 +62,7 @@ public class CustomWindow extends FrameContainer {
62 62
      * @param title          The parent of this custom window
63 63
      * @param configProvider The config provider to read settings from.
64 64
      * @param urlBuilder     The URL builder to use when finding icons.
65
-     * @param eventBus       The bus to despatch events on.
65
+     * @param eventBus       The bus to dispatch events on.
66 66
      */
67 67
     public CustomWindow(
68 68
             final String name,

+ 2
- 2
src/com/dmdirc/GlobalWindow.java Vedi File

@@ -55,9 +55,9 @@ public class GlobalWindow extends FrameContainer {
55 55
      * @param config              The ConfigManager to retrieve settings from.
56 56
      * @param parser              The command parser to use to parse input.
57 57
      * @param tabCompleterFactory The factory to use to create tab completers.
58
-     * @param messageSinkManager  The sink manager to use to despatch messages.
58
+     * @param messageSinkManager  The sink manager to use to dispatch messages.
59 59
      * @param urlBuilder          The URL builder to use when finding icons.
60
-     * @param eventBus            The bus to despatch events on.
60
+     * @param eventBus            The bus to dispatch events on.
61 61
      */
62 62
     @Inject
63 63
     public GlobalWindow(

+ 1
- 1
src/com/dmdirc/Main.java Vedi File

@@ -233,7 +233,7 @@ public class Main {
233 233
             identityManager.getUserSettings().unsetOption("debug", "uiFixAttempted");
234 234
             System.exit(1);
235 235
         } else {
236
-            // Try to extract the UIs again incase they changed between versions
236
+            // Try to extract the UIs again in case they changed between versions
237 237
             // and the user didn't update the UI plugin.
238 238
             corePluginExtractor.extractCorePlugins("ui_");
239 239
 

+ 1
- 1
src/com/dmdirc/MissingModeAliasException.java Vedi File

@@ -38,7 +38,7 @@ public class MissingModeAliasException extends Exception {
38 38
      * Creates a new exception detailing the missing modes aliases and supporting information.
39 39
      *
40 40
      * @param network            Network
41
-     * @param parser             Assocaited parser
41
+     * @param parser             Associated parser
42 42
      * @param modeAliasesVersion Current mode aliases version
43 43
      * @param missingModes       Missing modes
44 44
      */

+ 2
- 2
src/com/dmdirc/Query.java Vedi File

@@ -82,7 +82,7 @@ public class Query extends MessageTarget implements PrivateActionListener,
82 82
      * @param newServer           The server object that this Query belongs to
83 83
      * @param tabCompleterFactory The factory to use to create tab completers.
84 84
      * @param commandController   The controller to load commands from.
85
-     * @param messageSinkManager  The sink manager to use to despatch messages.
85
+     * @param messageSinkManager  The sink manager to use to dispatch messages.
86 86
      * @param urlBuilder          The URL builder to use when finding icons.
87 87
      */
88 88
     public Query(
@@ -291,7 +291,7 @@ public class Query extends MessageTarget implements PrivateActionListener,
291 291
     }
292 292
 
293 293
     @Override
294
-    public void onCompositionStateCanged(final Parser parser, final Date date,
294
+    public void onCompositionStateChanged(final Parser parser, final Date date,
295 295
             final CompositionState state, final String host) {
296 296
         if (state == CompositionState.TYPING) {
297 297
             addComponent(WindowComponent.TYPING_INDICATOR.getIdentifier());

+ 1
- 1
src/com/dmdirc/Raw.java Vedi File

@@ -54,7 +54,7 @@ public class Raw extends FrameContainer implements DataInListener, DataOutListen
54 54
      *
55 55
      * @param newServer          the server to monitor
56 56
      * @param commandController  The controller to load commands from.
57
-     * @param messageSinkManager The sink manager to use to despatch messages.
57
+     * @param messageSinkManager The sink manager to use to dispatch messages.
58 58
      * @param urlBuilder         The URL builder to use when finding icons.
59 59
      */
60 60
     public Raw(

+ 4
- 4
src/com/dmdirc/Server.java Vedi File

@@ -195,14 +195,14 @@ public class Server extends FrameContainer implements ConfigChangeListener,
195 195
      * @param parserFactory         The factory to use to generate parsers.
196 196
      * @param tabCompleterFactory   The factory to use for tab completers.
197 197
      * @param identityFactory       The factory to use to create identities.
198
-     * @param messageSinkManager    The sink manager to use to despatch messages.
198
+     * @param messageSinkManager    The sink manager to use to dispatch messages.
199 199
      * @param statusBarManager      The manager to use to add status bar messages.
200 200
      * @param windowManager         Window Manager
201 201
      * @param channelFactory        The factory to use to create channels.
202 202
      * @param queryFactory          The factory to use to create queries.
203 203
      * @param rawFactory            The factory to use to create raw windows.
204 204
      * @param urlBuilder            The URL builder to use when finding icons.
205
-     * @param eventBus              The event bus to despatch events onto.
205
+     * @param eventBus              The event bus to dispatch events onto.
206 206
      * @param messageEncoderFactory The message encoder factory to create a message encoder with.
207 207
      * @param userSettings          The config provider to write user settings to.
208 208
      * @param executorService       The service to use to schedule events.
@@ -456,7 +456,7 @@ public class Server extends FrameContainer implements ConfigChangeListener,
456 456
     }
457 457
 
458 458
     /**
459
-     * Schedules a reconnect attempt to be performed after a user-defiend delay.
459
+     * Schedules a reconnect attempt to be performed after a user-defined delay.
460 460
      */
461 461
     @Precondition("The server state is transiently disconnected")
462 462
     private void doDelayedReconnect() {
@@ -1003,7 +1003,7 @@ public class Server extends FrameContainer implements ConfigChangeListener,
1003 1003
             getConfigManager().removeListener(this);
1004 1004
             executorService.shutdown();
1005 1005
 
1006
-            // Trigger any actions neccessary
1006
+            // Trigger any actions necessary
1007 1007
             disconnect();
1008 1008
 
1009 1009
             myState.transition(ServerState.CLOSING);

+ 1
- 1
src/com/dmdirc/ServerManager.java Vedi File

@@ -255,7 +255,7 @@ public class ServerManager implements ServerFactory {
255 255
     }
256 256
 
257 257
     /**
258
-     * Connects the user to Quakenet if neccessary and joins #DMDirc.
258
+     * Connects the user to Quakenet if necessary and joins #DMDirc.
259 259
      */
260 260
     public void joinDevChat() {
261 261
         final List<Server> qnetServers = getServersByNetwork("Quakenet");

+ 1
- 1
src/com/dmdirc/ServerStatus.java Vedi File

@@ -93,7 +93,7 @@ public class ServerStatus {
93 93
     /**
94 94
      * Adds a history entry to this status object. The history entry contains the name of the states
95 95
      * being transitioned between, the details of the method (and class and line) which initiated
96
-     * the transition, and the name of the thread in which the transition is occuring.
96
+     * the transition, and the name of the thread in which the transition is occurring.
97 97
      *
98 98
      * @param fromState The state which is being transitioned from
99 99
      * @param toState   The state which is being transitioned to

+ 1
- 1
src/com/dmdirc/actions/ActionSubstitutor.java Vedi File

@@ -154,7 +154,7 @@ public class ActionSubstitutor {
154 154
     }
155 155
 
156 156
     /**
157
-     * Returns true if this action type's first argument is a frame container, or descendent of one.
157
+     * Returns true if this action type's first argument is a frame container, or descendant of one.
158 158
      *
159 159
      * @return True if this action type's first arg extends or is a FrameContainer
160 160
      */

+ 2
- 2
src/com/dmdirc/actions/ConditionTree.java Vedi File

@@ -344,9 +344,9 @@ public final class ConditionTree {
344 344
     }
345 345
 
346 346
     /**
347
-     * Creates a condition tree by disjoining the specified number of arguments together.
347
+     * Creates a condition tree by disjointing the specified number of arguments together.
348 348
      *
349
-     * @param numArgs The number of arguments to be disjoined
349
+     * @param numArgs The number of arguments to be disjointed
350 350
      *
351 351
      * @return The corresponding condition tree
352 352
      */

+ 1
- 1
src/com/dmdirc/actions/ConditionTreeFactory.java Vedi File

@@ -96,7 +96,7 @@ public abstract class ConditionTreeFactory {
96 96
     }
97 97
 
98 98
     /**
99
-     * Creates condition trees where the arguments are disjoined together.
99
+     * Creates condition trees where the arguments are disjointed together.
100 100
      */
101 101
     public static class DisjunctionFactory extends ConditionTreeFactory {
102 102
 

+ 1
- 1
src/com/dmdirc/commandparser/aliases/AliasesModule.java Vedi File

@@ -49,7 +49,7 @@ public class AliasesModule {
49 49
     }
50 50
 
51 51
     @Provides(type = Provides.Type.SET)
52
-    public SystemLifecycleComponent getLifeycleComponent(final AliasLifecycleManager manager) {
52
+    public SystemLifecycleComponent getLifecycleComponent(final AliasLifecycleManager manager) {
53 53
         return manager;
54 54
     }
55 55
 

+ 1
- 1
src/com/dmdirc/commandparser/commands/global/Ifplugin.java Vedi File

@@ -56,7 +56,7 @@ public class Ifplugin extends Command implements IntelligentCommand {
56 56
     private final PluginManager pluginManager;
57 57
     /** Provider of global command parsers. */
58 58
     private final Provider<GlobalCommandParser> globalCommandParserProvider;
59
-    /** Proivder of global windows. */
59
+    /** Provider of global windows. */
60 60
     private final Provider<GlobalWindow> globalWindowProvider;
61 61
 
62 62
     /**

+ 2
- 2
src/com/dmdirc/commandparser/commands/global/OpenWindow.java Vedi File

@@ -57,7 +57,7 @@ public class OpenWindow extends Command implements IntelligentCommand {
57 57
     private final WindowManager windowManager;
58 58
     /** The URL builder to use when finding icons. */
59 59
     private final URLBuilder urlBuilder;
60
-    /** The bus to despatch events on. */
60
+    /** The bus to dispatch events on. */
61 61
     private final EventBus eventBus;
62 62
     /** The config provider to retrieve settings from. */
63 63
     private final AggregateConfigProvider configProvider;
@@ -68,7 +68,7 @@ public class OpenWindow extends Command implements IntelligentCommand {
68 68
      * @param controller     The controller to use for command information.
69 69
      * @param windowManager  Window management
70 70
      * @param urlBuilder     The URL builder to use when finding icons.
71
-     * @param eventBus       The bus to despatch events on.
71
+     * @param eventBus       The bus to dispatch events on.
72 72
      * @param configProvider The config provider to retrieve settings from.
73 73
      */
74 74
     @Inject

+ 1
- 1
src/com/dmdirc/commandparser/commands/server/Message.java Vedi File

@@ -75,7 +75,7 @@ public class Message extends Command implements IntelligentCommand,
75 75
             sendLine(origin, args.isSilent(), "selfMessage", target, message);
76 76
 
77 77
             // If this is a known server or channel, and this is not a silent
78
-            // invokation, use sendLine, else send it raw to the parser.
78
+            // invocation, use sendLine, else send it raw to the parser.
79 79
             if (!args.isSilent() && server.hasChannel(target)) {
80 80
                 server.getChannel(target).sendLine(message);
81 81
             } else if (!args.isSilent() && server.hasQuery(target)) {

+ 1
- 1
src/com/dmdirc/commandparser/package-info.java Vedi File

@@ -21,6 +21,6 @@
21 21
  */
22 22
 
23 23
 /**
24
- * Command parser, proceses and handles commands for the client.
24
+ * Command parser, processes and handles commands for the client.
25 25
  */
26 26
 package com.dmdirc.commandparser;

+ 1
- 1
src/com/dmdirc/config/CipherUtils.java Vedi File

@@ -60,7 +60,7 @@ public abstract class CipherUtils {
60 60
         (byte) 0x56, (byte) 0x35, (byte) 0xE3, (byte) 0x03,};
61 61
     /** Iteration count. */
62 62
     private static final int ITERATIONS = 19;
63
-    /** Number of auth attemps before failing the attempt. */
63
+    /** Number of auth attempts before failing the attempt. */
64 64
     private static final int AUTH_TRIES = 4;
65 65
     /** The identity controller to use for reading/writing settings. */
66 66
     private final IdentityController identityController;

+ 1
- 1
src/com/dmdirc/config/ConfigManager.java Vedi File

@@ -285,7 +285,7 @@ class ConfigManager extends BaseConfigProvider implements ConfigChangeListener,
285 285
     /**
286 286
      * Determines whether the specified identity target matches the desired target. If the desired
287 287
      * target is prefixed with "re:", it is treated as a regular expression; otherwise the strings
288
-     * are compared lexigraphically to determine a match.
288
+     * are compared lexicographically to determine a match.
289 289
      *
290 290
      * @param desired The target string required by this config manager
291 291
      * @param actual  The target string supplied by the identity

+ 1
- 1
src/com/dmdirc/config/package-info.java Vedi File

@@ -24,7 +24,7 @@
24 24
  * Deals with client configuration and preferences.
25 25
  *
26 26
  * DMDirc's configuration system is based upon a set of 'identities'. Each identity has a specific
27
- * target which controls which elements of the client it is applied to. Identities can be targetted
27
+ * target which controls which elements of the client it is applied to. Identities can be targeted
28 28
  * to the client as a whole, and individual networks, servers or channels. Identities may also
29 29
  * specify an order, which controls in which order they are checked when looking up a configuration
30 30
  * setting.

+ 1
- 1
src/com/dmdirc/config/prefs/PreferencesCategory.java Vedi File

@@ -196,7 +196,7 @@ public class PreferencesCategory {
196 196
     /**
197 197
      * Adds the specified subcategory to this category.
198 198
      *
199
-     * @param subcategory The category to be asdded
199
+     * @param subcategory The category to be added
200 200
      */
201 201
     public void addSubCategory(final PreferencesCategory subcategory) {
202 202
         if (isInline() && !subcategory.isInline()) {

+ 1
- 1
src/com/dmdirc/interfaces/Connection.java Vedi File

@@ -229,7 +229,7 @@ public interface Connection {
229 229
     IgnoreList getIgnoreList();
230 230
 
231 231
     /**
232
-     * Retusnt the list of invites for this server.
232
+     * Returns the list of invites for this server.
233 233
      *
234 234
      * @return Invite list
235 235
      */

+ 1
- 1
src/com/dmdirc/lists/GroupListManager.java Vedi File

@@ -100,7 +100,7 @@ public class GroupListManager implements GroupListStartListener,
100 100
     }
101 101
 
102 102
     /**
103
-     * Adds an observer to this mananger.
103
+     * Adds an observer to this manager.
104 104
      *
105 105
      * @param observer The observer to be notified of group start/stop events.
106 106
      */

+ 1
- 1
src/com/dmdirc/logger/ErrorManager.java Vedi File

@@ -82,7 +82,7 @@ public class ErrorManager implements ConfigChangeListener {
82 82
     }
83 83
 
84 84
     /**
85
-     * Initialiases the error manager.
85
+     * Initialises the error manager.
86 86
      *
87 87
      * @param globalConfig The configuration to read settings from.
88 88
      * @param directory    The directory to store errors in, if enabled.

+ 1
- 1
src/com/dmdirc/logger/ProgramError.java Vedi File

@@ -327,7 +327,7 @@ public final class ProgramError implements Serializable {
327 327
     }
328 328
 
329 329
     /**
330
-     * Retruns a human readable string describing the number of times this error occurred and when
330
+     * Returns a human readable string describing the number of times this error occurred and when
331 331
      * these occurrences were.
332 332
      *
333 333
      * @return Occurrences description

+ 1
- 1
src/com/dmdirc/messages/ChannelMessageSink.java Vedi File

@@ -33,7 +33,7 @@ import javax.inject.Inject;
33 33
 /**
34 34
  * A message sink which adds the message to a named channel. An optional fallback may be specified
35 35
  * for use if the channel does not exist. If no fallback is specified and the channel does not
36
- * exist, the message is despatched to the source.
36
+ * exist, the message is dispatched to the source.
37 37
  */
38 38
 public class ChannelMessageSink implements MessageSink {
39 39
 

+ 1
- 1
src/com/dmdirc/messages/CommonChannelsMessageSink.java Vedi File

@@ -34,7 +34,7 @@ import javax.inject.Inject;
34 34
  * A message sink which adds the message to all channels the local user has in common with a
35 35
  * specified remote user. An optional fallback may be specified for use if there are no common
36 36
  * channels with the user. If no fallback is specified and there are no common channels, the message
37
- * is despatched to the source.
37
+ * is dispatched to the source.
38 38
  */
39 39
 public class CommonChannelsMessageSink implements MessageSink {
40 40
 

+ 1
- 1
src/com/dmdirc/messages/FormatMessageSink.java Vedi File

@@ -30,7 +30,7 @@ import java.util.regex.Pattern;
30 30
 import javax.inject.Inject;
31 31
 
32 32
 /**
33
- * A message sink which changes the format of the message and then redespatches it.
33
+ * A message sink which changes the format of the message and then re-dispatches it.
34 34
  */
35 35
 public class FormatMessageSink implements MessageSink {
36 36
 

+ 1
- 1
src/com/dmdirc/messages/SelfMessageSink.java Vedi File

@@ -30,7 +30,7 @@ import java.util.regex.Pattern;
30 30
 import javax.inject.Inject;
31 31
 
32 32
 /**
33
- * A message sink which adds the message to the container that despatched it.
33
+ * A message sink which adds the message to the container that dispatched it.
34 34
  */
35 35
 public class SelfMessageSink implements MessageSink {
36 36
 

+ 1
- 1
src/com/dmdirc/plugins/ExportedService.java Vedi File

@@ -71,7 +71,7 @@ public class ExportedService {
71 71
             }
72 72
         }
73 73
 
74
-        throw new IllegalArgumentException("Illegal method/class combinatiion",
74
+        throw new IllegalArgumentException("Illegal method/class combination",
75 75
                 new NoSuchMethodException("Method does not exist in the specified class"));
76 76
     }
77 77
 

+ 1
- 1
src/com/dmdirc/plugins/Plugin.java Vedi File

@@ -36,7 +36,7 @@ public interface Plugin {
36 36
      * Check any further Prerequisites for this plugin to load that can not be checked using
37 37
      * metainfo.
38 38
      *
39
-     * @return ValidationResponse detailign if the plugin passes any extra checks that plugin.info
39
+     * @return ValidationResponse detailing if the plugin passes any extra checks that plugin.info
40 40
      *         can't handle
41 41
      */
42 42
     ValidationResponse checkPrerequisites();

+ 2
- 2
src/com/dmdirc/plugins/PluginClassLoader.java Vedi File

@@ -83,7 +83,7 @@ public class PluginClassLoader extends ClassLoader {
83 83
      * Have we already loaded the given class name?
84 84
      *
85 85
      * @param name        Name to check.
86
-     * @param checkGlobal Should we check if the GCL has loaded it aswell?
86
+     * @param checkGlobal Should we check if the GCL has loaded it as well?
87 87
      *
88 88
      * @return True if the specified class is loaded, false otherwise
89 89
      */
@@ -96,7 +96,7 @@ public class PluginClassLoader extends ClassLoader {
96 96
      * Load the plugin with the given className.
97 97
      *
98 98
      * @param name      Class Name of plugin
99
-     * @param askGlobal Ask the gobal class loaded for this class if we can't find it?
99
+     * @param askGlobal Ask the global class loaded for this class if we can't find it?
100 100
      *
101 101
      * @return plugin class
102 102
      *

+ 3
- 3
src/com/dmdirc/plugins/ServiceManager.java Vedi File

@@ -54,7 +54,7 @@ public interface ServiceManager {
54 54
      * @param type Type of this service
55 55
      * @param name Name of this service
56 56
      *
57
-     * @return The service requested, or null if service wasn't found and create wasn't specifed
57
+     * @return The service requested, or null if service wasn't found and create wasn't specified
58 58
      */
59 59
     Service getService(final String type, final String name);
60 60
 
@@ -65,7 +65,7 @@ public interface ServiceManager {
65 65
      * @param name   Name of this service
66 66
      * @param create If the requested service doesn't exist, should it be created?
67 67
      *
68
-     * @return The service requested, or null if service wasn't found and create wasn't specifed
68
+     * @return The service requested, or null if service wasn't found and create wasn't specified
69 69
      */
70 70
     Service getService(final String type, final String name, final boolean create);
71 71
 
@@ -99,7 +99,7 @@ public interface ServiceManager {
99 99
             final boolean fallback) throws NoSuchProviderException;
100 100
 
101 101
     /**
102
-     * Get a List of all services of a specifed type.
102
+     * Get a List of all services of a specified type.
103 103
      *
104 104
      * @param type Type of service
105 105
      *

+ 1
- 1
src/com/dmdirc/plugins/implementations/PluginFilesHelper.java Vedi File

@@ -114,7 +114,7 @@ public class PluginFilesHelper {
114 114
      * @throws IOException if the resources failed to extract
115 115
      */
116 116
     public void extractResourcesEndingWith(final String suffix) throws IOException {
117
-        pluginInfo.getResourceManager().extractResoucesEndingWith(filesDir, suffix);
117
+        pluginInfo.getResourceManager().extractResourcesEndingWith(filesDir, suffix);
118 118
     }
119 119
 
120 120
 }

+ 1
- 1
src/com/dmdirc/ui/CoreUIUtils.java Vedi File

@@ -34,7 +34,7 @@ import java.awt.Window;
34 34
  */
35 35
 public final class CoreUIUtils {
36 36
 
37
-    /** Precent creation. */
37
+    /** Prevent creation. */
38 38
     private CoreUIUtils() {
39 39
     }
40 40
 

+ 2
- 2
src/com/dmdirc/ui/FatalErrorDialog.java Vedi File

@@ -53,7 +53,7 @@ import javax.swing.text.StyleConstants;
53 53
 import javax.swing.text.StyledDocument;
54 54
 
55 55
 /**
56
- * The fatal error dialog is used to inform the user that a fatal error has occured and to give them
56
+ * The fatal error dialog is used to inform the user that a fatal error has occurred and to give them
57 57
  * a chance to quit or restart the client.
58 58
  */
59 59
 public final class FatalErrorDialog extends JDialog implements ActionListener,
@@ -69,7 +69,7 @@ public final class FatalErrorDialog extends JDialog implements ActionListener,
69 69
     private JButton restartButton;
70 70
     /** Quit client button. */
71 71
     private JButton quitButton;
72
-    /** Send errorbButton. */
72
+    /** Send error button. */
73 73
     private JButton sendButton;
74 74
     /** Info panel, informs the user what is happening. */
75 75
     private JTextPane infoLabel;

+ 1
- 1
src/com/dmdirc/ui/StatusMessage.java Vedi File

@@ -32,7 +32,7 @@ public class StatusMessage {
32 32
 
33 33
     /** Icon type for the message. */
34 34
     private final String iconType;
35
-    /** Mesage to display. */
35
+    /** Message to display. */
36 36
     private final String message;
37 37
     /** Message notifier. */
38 38
     private final StatusMessageNotifier messageNotifier;

+ 1
- 1
src/com/dmdirc/ui/WindowManager.java Vedi File

@@ -208,7 +208,7 @@ public class WindowManager {
208 208
      * @since 0.6.4
209 209
      * @param target The container to be tested
210 210
      *
211
-     * @return True if the target is in the hierarchy, false otherise
211
+     * @return True if the target is in the hierarchy, false otherwise
212 212
      */
213 213
     protected boolean isInHierarchy(final FrameContainer target) {
214 214
         if (rootWindows.contains(target)) {

+ 1
- 1
src/com/dmdirc/ui/core/dialogs/sslcertificate/SSLCertificateDialogModel.java Vedi File

@@ -195,7 +195,7 @@ public class SSLCertificateDialogModel {
195 195
     /**
196 196
      * Adds a field to the specified group.
197 197
      *
198
-     * @param fields  The fields extracted from the certiciate
198
+     * @param fields  The fields extracted from the certificate
199 199
      * @param group   The group to add an entry to
200 200
      * @param title   The user-friendly title of the field
201 201
      * @param field   The name of the field to look for

+ 2
- 2
src/com/dmdirc/ui/input/InputHandler.java Vedi File

@@ -110,7 +110,7 @@ public abstract class InputHandler implements ConfigChangeListener {
110 110
     private final ServiceManager serviceManager;
111 111
     /** The controller to use to retrieve command information. */
112 112
     private final CommandController commandController;
113
-    /** The event bus to use to despatch input events. */
113
+    /** The event bus to use to dispatch input events. */
114 114
     private final EventBus eventBus;
115 115
 
116 116
     /**
@@ -121,7 +121,7 @@ public abstract class InputHandler implements ConfigChangeListener {
121 121
      * @param commandController The controller to use to retrieve command information.
122 122
      * @param commandParser     The command parser to use for this text field.
123 123
      * @param parentWindow      The window that owns this input handler
124
-     * @param eventBus          The event bus to use to despatch input events.
124
+     * @param eventBus          The event bus to use to dispatch input events.
125 125
      */
126 126
     public InputHandler(
127 127
             final ServiceManager serviceManager,

+ 4
- 4
src/com/dmdirc/ui/messages/IRCDocument.java Vedi File

@@ -229,13 +229,13 @@ public class IRCDocument implements Serializable, ConfigChangeListener {
229 229
     /**
230 230
      * Fires the trimmed method on all listeners.
231 231
      *
232
-     * @param newSize     New document size
233
-     * @param trimedLines Number of trimmed lines
232
+     * @param newSize      New document size
233
+     * @param trimmedLines Number of trimmed lines
234 234
      */
235
-    protected void fireTrimmed(final int newSize, final int trimedLines) {
235
+    protected void fireTrimmed(final int newSize, final int trimmedLines) {
236 236
         for (IRCDocumentListener listener
237 237
                 : listeners.get(IRCDocumentListener.class)) {
238
-            listener.trimmed(newSize, trimedLines);
238
+            listener.trimmed(newSize, trimmedLines);
239 239
         }
240 240
     }
241 241
 

+ 1
- 1
src/com/dmdirc/ui/messages/Styliser.java Vedi File

@@ -241,7 +241,7 @@ public class Styliser implements ConfigChangeListener {
241 241
      * <p>
242 242
      * The index translation is left-biased; that is, the indices are translated to be as far left
243 243
      * as they possibly can be. This means that the start of the string will include any control
244
-     * codes immediately preceeding the desired text, and the end will not include any trailing
244
+     * codes immediately preceding the desired text, and the end will not include any trailing
245 245
      * codes.
246 246
      * <p>
247 247
      * This method will NOT include "internal" control codes in the output.

+ 1
- 1
src/com/dmdirc/updater/UpdateComponent.java Vedi File

@@ -99,7 +99,7 @@ public interface UpdateComponent {
99 99
      *
100 100
      * @return True if a client restart is needed, false otherwise
101 101
      *
102
-     * @throws java.lang.Exception If any error occured
102
+     * @throws java.lang.Exception If any error occurred
103 103
      */
104 104
     boolean doInstall(String path) throws Exception; //NOPMD
105 105
 

+ 3
- 3
src/com/dmdirc/updater/UpdaterModule.java Vedi File

@@ -40,7 +40,7 @@ import com.dmdirc.updater.manager.DMDircUpdateManager;
40 40
 import com.dmdirc.updater.manager.UpdateComponentPolicy;
41 41
 import com.dmdirc.updater.manager.UpdateManager;
42 42
 import com.dmdirc.updater.retrieving.DownloadRetrievalStrategy;
43
-import com.dmdirc.updater.retrieving.UpdateRetrievalStategy;
43
+import com.dmdirc.updater.retrieving.UpdateRetrievalStrategy;
44 44
 
45 45
 import com.google.common.eventbus.EventBus;
46 46
 
@@ -156,14 +156,14 @@ public class UpdaterModule {
156 156
     }
157 157
 
158 158
     /**
159
-     * Provides an {@link UpdateRetrievalStategy} that the client should use.
159
+     * Provides an {@link UpdateRetrievalStrategy} that the client should use.
160 160
      *
161 161
      * @param strategy The strategy to provide.
162 162
      *
163 163
      * @return The strategy to use in the client.
164 164
      */
165 165
     @Provides(type = Provides.Type.SET)
166
-    public UpdateRetrievalStategy getRetrievalStrategy(final DownloadRetrievalStrategy strategy) {
166
+    public UpdateRetrievalStrategy getRetrievalStrategy(final DownloadRetrievalStrategy strategy) {
167 167
         return strategy;
168 168
     }
169 169
 

+ 1
- 1
src/com/dmdirc/updater/installing/UpdateInstallationStrategy.java Vedi File

@@ -26,7 +26,7 @@ import com.dmdirc.updater.retrieving.UpdateRetrievalResult;
26 26
 
27 27
 /**
28 28
  * Describes a strategy for installing updates which have been retrieved by a
29
- * {@link com.dmdirc.updater.retrieving.UpdateRetrievalStategy}.
29
+ * {@link com.dmdirc.updater.retrieving.UpdateRetrievalStrategy}.
30 30
  */
31 31
 public interface UpdateInstallationStrategy {
32 32
 

+ 5
- 5
src/com/dmdirc/updater/manager/DMDircUpdateManager.java Vedi File

@@ -26,7 +26,7 @@ import com.dmdirc.updater.UpdateComponent;
26 26
 import com.dmdirc.updater.checking.CheckResultConsolidator;
27 27
 import com.dmdirc.updater.checking.UpdateCheckStrategy;
28 28
 import com.dmdirc.updater.installing.UpdateInstallationStrategy;
29
-import com.dmdirc.updater.retrieving.UpdateRetrievalStategy;
29
+import com.dmdirc.updater.retrieving.UpdateRetrievalStrategy;
30 30
 
31 31
 import java.util.Set;
32 32
 import java.util.concurrent.LinkedBlockingQueue;
@@ -53,7 +53,7 @@ public class DMDircUpdateManager extends CachingUpdateManagerImpl {
53 53
      * @param checkStrategies        The strategies to use to actually perform checks.
54 54
      * @param consolidator           The consolidator to use to pick from multiple available
55 55
      *                               updates.
56
-     * @param retrievalStategies     The strategies to use to retrieve updates.
56
+     * @param retrievalStrategies     The strategies to use to retrieve updates.
57 57
      * @param installationStrategies The strategies to use to install updates.
58 58
      * @param components             The default components to add to the manager.
59 59
      */
@@ -62,7 +62,7 @@ public class DMDircUpdateManager extends CachingUpdateManagerImpl {
62 62
             final UpdateComponentPolicy updatePolicy,
63 63
             final Set<UpdateCheckStrategy> checkStrategies,
64 64
             final CheckResultConsolidator consolidator,
65
-            final Set<UpdateRetrievalStategy> retrievalStategies,
65
+            final Set<UpdateRetrievalStrategy> retrievalStrategies,
66 66
             final Set<UpdateInstallationStrategy> installationStrategies,
67 67
             final Set<UpdateComponent> components) {
68 68
         super(new ThreadPoolExecutor(THREAD_COUNT, THREAD_COUNT, 1, TimeUnit.MINUTES,
@@ -73,8 +73,8 @@ public class DMDircUpdateManager extends CachingUpdateManagerImpl {
73 73
             addCheckStrategy(checkStrategy);
74 74
         }
75 75
 
76
-        for (UpdateRetrievalStategy retrievalStategy : retrievalStategies) {
77
-            addRetrievalStrategy(retrievalStategy);
76
+        for (UpdateRetrievalStrategy retrievalStrategy : retrievalStrategies) {
77
+            addRetrievalStrategy(retrievalStrategy);
78 78
         }
79 79
 
80 80
         for (UpdateInstallationStrategy installationStrategy : installationStrategies) {

+ 4
- 4
src/com/dmdirc/updater/manager/RetrievalTask.java Vedi File

@@ -24,10 +24,10 @@ package com.dmdirc.updater.manager;
24 24
 
25 25
 import com.dmdirc.updater.checking.UpdateCheckResult;
26 26
 import com.dmdirc.updater.retrieving.UpdateRetrievalResult;
27
-import com.dmdirc.updater.retrieving.UpdateRetrievalStategy;
27
+import com.dmdirc.updater.retrieving.UpdateRetrievalStrategy;
28 28
 
29 29
 /**
30
- * Task which retrieves an available update using the given {@link UpdateRetrievalStategy} and
30
+ * Task which retrieves an available update using the given {@link UpdateRetrievalStrategy} and
31 31
  * passes the result back to the {@link UpdateManagerImpl}.
32 32
  */
33 33
 public class RetrievalTask implements Runnable {
@@ -35,13 +35,13 @@ public class RetrievalTask implements Runnable {
35 35
     /** The update manager launching this task. */
36 36
     private final UpdateManagerImpl manager;
37 37
     /** The strategy to use to retrieve the update. */
38
-    private final UpdateRetrievalStategy strategy;
38
+    private final UpdateRetrievalStrategy strategy;
39 39
     /** The update which will be downloaded. */
40 40
     private final UpdateCheckResult result;
41 41
     /** Whether to install afterwards or not. */
42 42
     private final boolean install;
43 43
 
44
-    public RetrievalTask(final UpdateManagerImpl manager, final UpdateRetrievalStategy strategy,
44
+    public RetrievalTask(final UpdateManagerImpl manager, final UpdateRetrievalStrategy strategy,
45 45
             final UpdateCheckResult result, final boolean install) {
46 46
         this.manager = manager;
47 47
         this.strategy = strategy;

+ 3
- 3
src/com/dmdirc/updater/manager/UpdateManager.java Vedi File

@@ -26,7 +26,7 @@ import com.dmdirc.updater.UpdateComponent;
26 26
 import com.dmdirc.updater.checking.UpdateCheckResult;
27 27
 import com.dmdirc.updater.checking.UpdateCheckStrategy;
28 28
 import com.dmdirc.updater.installing.UpdateInstallationStrategy;
29
-import com.dmdirc.updater.retrieving.UpdateRetrievalStategy;
29
+import com.dmdirc.updater.retrieving.UpdateRetrievalStrategy;
30 30
 
31 31
 import java.util.Collection;
32 32
 
@@ -54,13 +54,13 @@ public interface UpdateManager {
54 54
     void addInstallationStrategy(final UpdateInstallationStrategy strategy);
55 55
 
56 56
     /**
57
-     * Adds a new retrieval strategy to this manager. {@link UpdateRetrievalStategy}s are
57
+     * Adds a new retrieval strategy to this manager. {@link UpdateRetrievalStrategy}s are
58 58
      * responsible for retrieving the updated version of a component after an update has been
59 59
      * identified by a {@link UpdateCheckStrategy}.
60 60
      *
61 61
      * @param strategy The strategy to be added.
62 62
      */
63
-    void addRetrievalStrategy(final UpdateRetrievalStategy strategy);
63
+    void addRetrievalStrategy(final UpdateRetrievalStrategy strategy);
64 64
 
65 65
     /**
66 66
      * Adds a new component to this manager. Components will be checked for updates the next time

+ 7
- 7
src/com/dmdirc/updater/manager/UpdateManagerImpl.java Vedi File

@@ -30,7 +30,7 @@ import com.dmdirc.updater.installing.UpdateInstallationListener;
30 30
 import com.dmdirc.updater.installing.UpdateInstallationStrategy;
31 31
 import com.dmdirc.updater.retrieving.UpdateRetrievalListener;
32 32
 import com.dmdirc.updater.retrieving.UpdateRetrievalResult;
33
-import com.dmdirc.updater.retrieving.UpdateRetrievalStategy;
33
+import com.dmdirc.updater.retrieving.UpdateRetrievalStrategy;
34 34
 import com.dmdirc.util.collections.ListenerList;
35 35
 
36 36
 import java.util.ArrayList;
@@ -53,7 +53,7 @@ public class UpdateManagerImpl implements UpdateManager {
53 53
     /** Collection of known update checking strategies. */
54 54
     private final List<UpdateCheckStrategy> checkers = new CopyOnWriteArrayList<>();
55 55
     /** Collection of known update retrieval strategies. */
56
-    private final List<UpdateRetrievalStategy> retrievers = new CopyOnWriteArrayList<>();
56
+    private final List<UpdateRetrievalStrategy> retrievers = new CopyOnWriteArrayList<>();
57 57
     /** Collection of known update installation strategies. */
58 58
     private final List<UpdateInstallationStrategy> installers = new CopyOnWriteArrayList<>();
59 59
     /** Map of known component names to their components. Guarded by {@link #componentsLock}. */
@@ -101,7 +101,7 @@ public class UpdateManagerImpl implements UpdateManager {
101 101
 
102 102
     /** {@inheritDoc} */
103 103
     @Override
104
-    public void addRetrievalStrategy(final UpdateRetrievalStategy strategy) {
104
+    public void addRetrievalStrategy(final UpdateRetrievalStrategy strategy) {
105 105
         log.trace("Adding new retrieval strategy: {}", strategy);
106 106
         strategy.addUpdateRetrievalListener(retrievalListener);
107 107
         this.retrievers.add(strategy);
@@ -247,7 +247,7 @@ public class UpdateManagerImpl implements UpdateManager {
247 247
         }
248 248
 
249 249
         final UpdateCheckResult update = checkResults.get(component);
250
-        final UpdateRetrievalStategy strategy = getStrategy(update);
250
+        final UpdateRetrievalStrategy strategy = getStrategy(update);
251 251
 
252 252
         if (strategy == null) {
253 253
             listenerList.getCallable(UpdateStatusListener.class)
@@ -263,7 +263,7 @@ public class UpdateManagerImpl implements UpdateManager {
263 263
     /**
264 264
      * Sets the retrieval result for an {@link UpdateComponent}.
265 265
      *
266
-     * @param result The result retrieved from the {@link UpdateRetrievalStategy}.
266
+     * @param result The result retrieved from the {@link UpdateRetrievalStrategy}.
267 267
      */
268 268
     protected void setRetrievalResult(final UpdateRetrievalResult result) {
269 269
         log.debug("Received retrieval result {}", result);
@@ -278,10 +278,10 @@ public class UpdateManagerImpl implements UpdateManager {
278 278
      *
279 279
      * @return A relevant strategy, or <code>null</code> if none are available
280 280
      */
281
-    protected UpdateRetrievalStategy getStrategy(final UpdateCheckResult result) {
281
+    protected UpdateRetrievalStrategy getStrategy(final UpdateCheckResult result) {
282 282
         log.debug("Trying to find retrieval strategy for {}", result);
283 283
 
284
-        for (UpdateRetrievalStategy strategy : retrievers) {
284
+        for (UpdateRetrievalStrategy strategy : retrievers) {
285 285
             log.trace("Testing strategy {}", strategy);
286 286
 
287 287
             if (strategy.canHandle(result)) {

+ 1
- 1
src/com/dmdirc/updater/retrieving/DownloadRetrievalStrategy.java Vedi File

@@ -38,7 +38,7 @@ import javax.inject.Inject;
38 38
 import org.slf4j.LoggerFactory;
39 39
 
40 40
 /**
41
- * An {@link UpdateRetrievalStategy} that downloads a file specified in a
41
+ * An {@link UpdateRetrievalStrategy} that downloads a file specified in a
42 42
  * {@link DownloadableUpdate}.
43 43
  */
44 44
 public class DownloadRetrievalStrategy extends TypeSensitiveRetrievalStrategy<DownloadableUpdate> {

+ 2
- 2
src/com/dmdirc/updater/retrieving/TypeSensitiveRetrievalStrategy.java Vedi File

@@ -25,13 +25,13 @@ package com.dmdirc.updater.retrieving;
25 25
 import com.dmdirc.updater.checking.UpdateCheckResult;
26 26
 
27 27
 /**
28
- * Base class for {@link UpdateRetrievalStategy} implementations that can handle a single subclass
28
+ * Base class for {@link UpdateRetrievalStrategy} implementations that can handle a single subclass
29 29
  * of {@link UpdateCheckResult}.
30 30
  *
31 31
  * @param <T> The type of result that this strategy can handle
32 32
  */
33 33
 public abstract class TypeSensitiveRetrievalStrategy<T extends UpdateCheckResult>
34
-        implements UpdateRetrievalStategy {
34
+        implements UpdateRetrievalStrategy {
35 35
 
36 36
     /** The type of result that this strategy can handle. */
37 37
     private final Class<T> clazz;

+ 1
- 1
src/com/dmdirc/updater/retrieving/UpdateRetrievalListener.java Vedi File

@@ -26,7 +26,7 @@ import com.dmdirc.updater.UpdateComponent;
26 26
 
27 27
 /**
28 28
  * Interface for objects interested in the progress of a retrieval attempt performed by an
29
- * {@link UpdateRetrievalStategy}.
29
+ * {@link UpdateRetrievalStrategy}.
30 30
  */
31 31
 public interface UpdateRetrievalListener {
32 32
 

+ 1
- 1
src/com/dmdirc/updater/retrieving/UpdateRetrievalResult.java Vedi File

@@ -25,7 +25,7 @@ package com.dmdirc.updater.retrieving;
25 25
 import com.dmdirc.updater.checking.UpdateCheckResult;
26 26
 
27 27
 /**
28
- * Describes the result of a retrieval operation by an {@link UpdateRetrievalStategy}.
28
+ * Describes the result of a retrieval operation by an {@link UpdateRetrievalStrategy}.
29 29
  */
30 30
 public interface UpdateRetrievalResult {
31 31
 

src/com/dmdirc/updater/retrieving/UpdateRetrievalStategy.java → src/com/dmdirc/updater/retrieving/UpdateRetrievalStrategy.java Vedi File

@@ -30,7 +30,7 @@ import com.dmdirc.updater.checking.UpdateCheckResult;
30 30
  * in a temporary location on disk for use by an
31 31
  * {@link com.dmdirc.updater.installing.UpdateInstallationStrategy}.
32 32
  */
33
-public interface UpdateRetrievalStategy {
33
+public interface UpdateRetrievalStrategy {
34 34
 
35 35
     /**
36 36
      * Determines whether this strategy can handle retrieving the given update.

+ 2
- 2
src/com/dmdirc/util/URIParser.java Vedi File

@@ -44,7 +44,7 @@ public class URIParser {
44 44
     /**
45 45
      * Pattern used to breakdown a URI. From RFC3986 appendix-B.
46 46
      */
47
-    private final Pattern uriBreadown = Pattern.compile(
47
+    private final Pattern uriBreakdown = Pattern.compile(
48 48
             "((?<scheme>[^:/?#]+):)?(//(?<authority>[^/?#]*))?(?<path>[^?#]*)(\\?(?<query>[^#]*))?(#(?<fragment>.*))?");
49 49
 
50 50
     /**
@@ -74,7 +74,7 @@ public class URIParser {
74 74
         final String path;
75 75
         final String query;
76 76
         final String fragment;
77
-        final Matcher uriMatcher = uriBreadown.matcher(input);
77
+        final Matcher uriMatcher = uriBreakdown.matcher(input);
78 78
         if (!uriMatcher.matches() || uriMatcher.group("scheme") == null || uriMatcher.group(
79 79
                 "authority") == null) {
80 80
             throw new InvalidURIException("Invalid address specified");

+ 1
- 1
src/com/dmdirc/util/YamlReaderUtils.java Vedi File

@@ -36,7 +36,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
36 36
 public final class YamlReaderUtils {
37 37
 
38 38
     private YamlReaderUtils() {
39
-        // Shouldn't be instansiated
39
+        // Shouldn't be instantiated
40 40
     }
41 41
 
42 42
     /**

+ 1
- 1
src/com/dmdirc/util/resourcemanager/FileResourceManager.java Vedi File

@@ -212,7 +212,7 @@ public final class FileResourceManager extends ResourceManager {
212 212
     }
213 213
 
214 214
     /**
215
-     * Returns a resursive listing of a directory tree.
215
+     * Returns a recursive listing of a directory tree.
216 216
      *
217 217
      * @param startingDirectory Starting directory for the file listing
218 218
      *

+ 2
- 2
src/com/dmdirc/util/resourcemanager/ResourceManager.java Vedi File

@@ -205,8 +205,8 @@ public abstract class ResourceManager {
205 205
      *
206 206
      * @throws IOException if the resources failed to extract
207 207
      */
208
-    public final void extractResoucesEndingWith(final File newDir,
209
-            final String suffix) throws IOException {
208
+    public final void extractResourcesEndingWith(final File newDir, final String suffix)
209
+            throws IOException {
210 210
         final Map<String, byte[]> resources = getResourcesEndingWithAsBytes(
211 211
                 suffix);
212 212
         for (Entry<String, byte[]> resource : resources.entrySet()) {

Loading…
Annulla
Salva