From 0c0f2d509a0329fbcf2fd1f1ff65b93b31880cf3 Mon Sep 17 00:00:00 2001 From: acolyer Date: Thu, 1 Sep 2005 08:26:16 +0000 Subject: fixed a couple of typos reported by Alexander Popescu on the mailing list. --- docs/adk15ProgGuideDB/generics.xml | 4 ++-- 1 file 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 @@ { - List foo(List foo(List ls) { return null; } } ]]> @@ -804,7 +804,7 @@ The pointcut uses the raw type pattern List, and hence it matches methods returning any kind of list (List<String>, List<Double>, - 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 List<?> in the advice since Java's type checking will now ensure that we only perform safe operations on the list. -- cgit v1.2.3