jdk/src/solaris/classes/sun/nio/fs/SolarisWatchService.java
changeset 23887 7b2fb8d5f6be
parent 23010 6dadb192ad81
--- a/jdk/src/solaris/classes/sun/nio/fs/SolarisWatchService.java	Tue Apr 15 11:24:42 2014 +0100
+++ b/jdk/src/solaris/classes/sun/nio/fs/SolarisWatchService.java	Tue Apr 15 17:04:40 2014 +0100
@@ -627,14 +627,14 @@
 
         /**
          * Update watch key's events. If ENTRY_MODIFY changes to be enabled
-         * then register each file in the direcory; If ENTRY_MODIFY changed to
+         * then register each file in the directory; If ENTRY_MODIFY changed to
          * be disabled then unregister each file.
          */
         void updateEvents(SolarisWatchKey key, Set<? extends WatchEvent.Kind<?>> events)
             throws UnixException
         {
 
-            // update events, rembering if ENTRY_MODIFY was previously
+            // update events, remembering if ENTRY_MODIFY was previously
             // enabled or disabled.
             boolean oldModifyEnabled = key.events()
                 .contains(StandardWatchEventKinds.ENTRY_MODIFY);