summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-09-01 08:26:16 +0000
committeracolyer <acolyer>2005-09-01 08:26:16 +0000
commit0c0f2d509a0329fbcf2fd1f1ff65b93b31880cf3 (patch)
tree84bd9064ca728d65e105c4c9a0b7a5fd20d5960c
parent7e0c3cdc37b974ef2bba01e19fa90cb9c752f288 (diff)
downloadaspectj-0c0f2d509a0329fbcf2fd1f1ff65b93b31880cf3.tar.gz
aspectj-0c0f2d509a0329fbcf2fd1f1ff65b93b31880cf3.zip
fixed a couple of typos reported by Alexander Popescu on the mailing list.
-rw-r--r--docs/adk15ProgGuideDB/generics.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/adk15ProgGuideDB/generics.xml b/docs/adk15ProgGuideDB/generics.xml
index 089e07cab..dcbbd09f2 100644
--- a/docs/adk15ProgGuideDB/generics.xml
+++ b/docs/adk15ProgGuideDB/generics.xml
@@ -435,7 +435,7 @@
<programlisting><![CDATA[
class G<T> {
- List<T> foo(List<String ls) { return null; }
+ List<T> foo(List<String> ls) { return null; }
}
]]></programlisting>
@@ -804,7 +804,7 @@
<!-- 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>