jdk/src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal/dom/DOMUtils.java
equal
deleted
inserted
replaced
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 } |