]> source.dussan.org Git - aspectj.git/commitdiff
fixed a couple of typos reported by Alexander Popescu on the mailing list.
authoracolyer <acolyer>
Thu, 1 Sep 2005 08:26:16 +0000 (08:26 +0000)
committeracolyer <acolyer>
Thu, 1 Sep 2005 08:26:16 +0000 (08:26 +0000)
docs/adk15ProgGuideDB/generics.xml

index 089e07cab8422419fade4e894dc87a049d004e8d..dcbbd09f293cb5cdc8567f236e267d51a236749f 100644 (file)
         <programlisting><![CDATA[
           class G<T> {
        
-               List<T> foo(List<String ls) { return null; }
+               List<T> foo(List<String> ls) { return null; }
        
           }
                ]]></programlisting>
           <!-- see java5/generics/ajdk/AfterReturningExamples.aj -->
           <para>The pointcut uses the raw type pattern <literal>List</literal>, and hence it
           matches methods returning any kind of list (<literal>List&lt;String&gt;, List&lt;Double&gt;</literal>, 
-          and so on. We've chosen to bind the returned list as the parameterized type 
+          and so on). We've chosen to bind the returned list as the parameterized type 
           <literal>List&lt;?&gt;</literal> in the advice since Java's type checking will now ensure
           that we only perform safe operations on the list.</para>