SingingBush commented on code in PR #2:
URL: https://github.com/apache/xerces-j/pull/2#discussion_r2161081950


##########
src/org/apache/xerces/dom/DOMImplementationListImpl.java:
##########
@@ -34,27 +35,27 @@
 public class DOMImplementationListImpl implements DOMImplementationList {
 
     // A collection of DOMImplementations
-    private final ArrayList fImplementations;
+    private final List<DOMImplementation> fImplementations;
 
     /**
      * Construct an empty list of DOMImplementations
      */
     public DOMImplementationListImpl() {
-        fImplementations = new ArrayList();
+        fImplementations = new ArrayList<>();
     }
     
     /** 
      * Construct a list of DOMImplementations from an ArrayList
      */ 
-    public DOMImplementationListImpl(ArrayList params) {
+    public DOMImplementationListImpl(List<DOMImplementation> params) {
         fImplementations = params;    
     }
 
     /** 
      * Construct a list of DOMImplementations from a Vector
      */ 
-    public DOMImplementationListImpl(Vector params) {
-        fImplementations = new ArrayList(params);
+    public DOMImplementationListImpl(Vector<DOMImplementation> params) {

Review Comment:
   now removed the type from the collection



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to