Fix minor typos in comments/javadoc

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/7c5c8d10
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/7c5c8d10
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/7c5c8d10

Branch: refs/heads/wicket-1.5.x
Commit: 7c5c8d10394e0f21637c33938d98d7a311ce8577
Parents: 6419d8a
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Mon Oct 29 16:32:13 2012 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Mon Oct 29 16:32:37 2012 +0200

----------------------------------------------------------------------
 .../org/apache/wicket/pageStore/DiskDataStore.java |    2 +-
 .../resource/locator/ResourceStreamLocator.java    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/7c5c8d10/wicket-core/src/main/java/org/apache/wicket/pageStore/DiskDataStore.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/pageStore/DiskDataStore.java 
b/wicket-core/src/main/java/org/apache/wicket/pageStore/DiskDataStore.java
index d5d9b01..628c494 100644
--- a/wicket-core/src/main/java/org/apache/wicket/pageStore/DiskDataStore.java
+++ b/wicket-core/src/main/java/org/apache/wicket/pageStore/DiskDataStore.java
@@ -530,7 +530,7 @@ public class DiskDataStore implements IDataStore
 
        /**
         * creates a three-level path from the sessionId in the format 
0000/0000/<sessionId>. The two
-        * prefixing directories are created from the sesionId's hascode and 
thus, should be well
+        * prefixing directories are created from the sessionId's hashcode and 
thus, should be well
         * distributed.
         *
         * This is used to avoid problems with Filesystems allowing no more 
than 32k entries in a

http://git-wip-us.apache.org/repos/asf/wicket/blob/7c5c8d10/wicket-core/src/main/java/org/apache/wicket/util/resource/locator/ResourceStreamLocator.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/util/resource/locator/ResourceStreamLocator.java
 
b/wicket-core/src/main/java/org/apache/wicket/util/resource/locator/ResourceStreamLocator.java
index 2e54ff4..e1385d4 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/util/resource/locator/ResourceStreamLocator.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/util/resource/locator/ResourceStreamLocator.java
@@ -124,7 +124,7 @@ public class ResourceStreamLocator implements 
IResourceStreamLocator
        public IResourceStream locate(final Class<?> clazz, String path, final 
String style,
                final String variation, Locale locale, final String extension, 
final boolean strict)
        {
-               // If path contains a locale, than it'll replace the locale 
provided to this method
+               // If path contains a locale, then it'll replace the locale 
provided to this method
                PathLocale data = ResourceUtils.getLocaleFromFilename(path);
                if ((data != null) && (data.locale != null))
                {

Reply via email to