jdk/src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal/dom/DOMUtils.java
changeset 27747 3a271dc8b758
parent 25859 3317bb8137f4
equal deleted inserted replaced
27736:8c9bd4be4a86 27747:3a271dc8b758
   365     }
   365     }
   366 
   366 
   367     private static boolean paramsEqual(XPathFilter2ParameterSpec spec1,
   367     private static boolean paramsEqual(XPathFilter2ParameterSpec spec1,
   368                                        XPathFilter2ParameterSpec spec2)
   368                                        XPathFilter2ParameterSpec spec2)
   369     {
   369     {
   370         @SuppressWarnings("unchecked")
       
   371         List<XPathType> types = spec1.getXPathList();
   370         List<XPathType> types = spec1.getXPathList();
   372         @SuppressWarnings("unchecked")
       
   373         List<XPathType> otypes = spec2.getXPathList();
   371         List<XPathType> otypes = spec2.getXPathList();
   374         int size = types.size();
   372         int size = types.size();
   375         if (size != otypes.size()) {
   373         if (size != otypes.size()) {
   376             return false;
   374             return false;
   377         }
   375         }