1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/SerializedFormBuilder.java Thu Jan 08 16:34:58 2009 -0800 1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/SerializedFormBuilder.java Tue Jan 13 13:27:14 2009 +0000 1.3 @@ -130,7 +130,7 @@ 1.4 /** 1.5 * Build the serialized form. 1.6 */ 1.7 - public void buildSerializedForm(List elements) throws Exception { 1.8 + public void buildSerializedForm(List<?> elements) throws Exception { 1.9 build(elements); 1.10 writer.close(); 1.11 } 1.12 @@ -138,7 +138,7 @@ 1.13 /** 1.14 * {@inheritDoc} 1.15 */ 1.16 - public void invokeMethod(String methodName, Class[] paramClasses, 1.17 + public void invokeMethod(String methodName, Class<?>[] paramClasses, 1.18 Object[] params) 1.19 throws Exception { 1.20 if (DEBUG) { 1.21 @@ -159,7 +159,7 @@ 1.22 /** 1.23 * Build the contents. 1.24 */ 1.25 - public void buildSerializedFormSummaries(List elements) { 1.26 + public void buildSerializedFormSummaries(List<?> elements) { 1.27 PackageDoc[] packages = configuration.packages; 1.28 for (int i = 0; i < packages.length; i++) { 1.29 currentPackage = packages[i]; 1.30 @@ -170,7 +170,7 @@ 1.31 /** 1.32 * Build the package serialized for for the current package being processed. 1.33 */ 1.34 - public void buildPackageSerializedForm(List elements) { 1.35 + public void buildPackageSerializedForm(List<?> elements) { 1.36 String foo = currentPackage.name(); 1.37 ClassDoc[] classes = currentPackage.allClasses(false); 1.38 if (classes == null || classes.length == 0) { 1.39 @@ -189,7 +189,7 @@ 1.40 writer.writePackageHeader(Util.getPackageName(currentPackage)); 1.41 } 1.42 1.43 - public void buildClassSerializedForm(List elements) { 1.44 + public void buildClassSerializedForm(List<?> elements) { 1.45 ClassDoc[] classes = currentPackage.allClasses(false); 1.46 Arrays.sort(classes); 1.47 for (int j = 0; j < classes.length; j++) { 1.48 @@ -368,7 +368,7 @@ 1.49 /** 1.50 * build the information for the method. 1.51 */ 1.52 - public void buildMethodInfo(List elements) { 1.53 + public void buildMethodInfo(List<?> elements) { 1.54 if(configuration.nocomment){ 1.55 return; 1.56 } 1.57 @@ -478,7 +478,7 @@ 1.58 * Build the summaries for the methods that belong to the given 1.59 * class. 1.60 */ 1.61 - public void buildSerializableMethods(List elements) { 1.62 + public void buildSerializableMethods(List<?> elements) { 1.63 MemberDoc[] members = currentClass.serializationMethods(); 1.64 if (members.length > 0) { 1.65 for (int i = 0; i < members.length; i++) { 1.66 @@ -492,7 +492,7 @@ 1.67 * Build the summaries for the fields that belong to the given 1.68 * class. 1.69 */ 1.70 - public void buildSerializableFields(List elements) { 1.71 + public void buildSerializableFields(List<?> elements) { 1.72 MemberDoc[] members = currentClass.serializableFields(); 1.73 if (members.length > 0) { 1.74 for (int i = 0; i < members.length; i++) {