[armedbear-cvs] r12848 - trunk/abcl/src/org/armedbear/lisp

Mark Evenson mevenson at common-lisp.net
Mon Aug 2 06:07:39 UTC 2010


Author: mevenson
Date: Mon Aug  2 02:07:39 2010
New Revision: 12848

Log:
Small documentation corrections.



Modified:
   trunk/abcl/src/org/armedbear/lisp/StandardGenericFunction.java

Modified: trunk/abcl/src/org/armedbear/lisp/StandardGenericFunction.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/StandardGenericFunction.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/StandardGenericFunction.java	Mon Aug  2 02:07:39 2010
@@ -619,7 +619,7 @@
    * argument <tt>arg</tt> in a <tt>CacheEntry</tt>
    *
    * <p>In the simplest case, when this generic function
-   * does not have EQL specialized methos, and therefore
+   * does not have EQL specialized methods, and therefore
    * only argument types are relevant for choosing
    * applicable methods, the value returned is the 
    * class of <tt>arg</tt>
@@ -631,16 +631,16 @@
    *   - otherwise class of the <tt>arg</tt> is returned.
    *
    * <p>Note that we do not consider argument position, when
-   * calculating arg specialization. In rare cases (when
-   * one argument is eql-specialized to a symbol specifying
-   * class of another argument) this may result in redundant cache
-   * entries caching the same method. But the method cached is anyway
-   * correct for the arguments (because in case of cache miss, correct method
-   * is calculated by other code, which does not rely on getArgSpecialization;
-   * and because EQL is true only for objects of the same type, which guaranties
-   * that if a type-specialized methods was chached by eql-specialization,
-   * all the cache hits into this records will be from args of the conforming 
-   * type).
+   * calculating arg specialization. In rare cases (when one argument
+   * is eql-specialized to a symbol specifying class of another
+   * argument) this may result in redundant cache entries caching the
+   * same method. But the method cached is anyway correct for the
+   * arguments (because in case of cache miss, correct method is
+   * calculated by other code, which does not rely on
+   * getArgSpecialization; and because EQL is true only for objects of
+   * the same type, which guaranties that if a type-specialized
+   * methods was chached by eql-specialization, all the cache hits
+   * into this records will be from args of the conforming type).
    *
    * <p>Consider:
    * <pre><tt>




More information about the armedbear-cvs mailing list