< prev index next >
src/com/sun/javatest/mrep/XMLReportWriter.java
Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg
@@ -122,11 +122,11 @@
atts.addAttribute("", "", Scheme.REPORT_GENTIME, "String",
dateToISO8601(new Date()));
ser.startElement("", "", Scheme.REPORT, atts);
}
- public void write(File[] file, Map[] map) throws SAXException,
+ public void write(File[] file, Map<?, ?>[] map) throws SAXException,
ParserConfigurationException, IOException {
try {
ser.startDocument();
sReport();
ser.startElement("", "", Scheme.WDS, emptyAttr);
@@ -169,13 +169,13 @@
// skipping by conflict resolving
private boolean skipByConflict;
// id -> new_id mapping
// url -> new_TestDescr mapping
- private Map map;
+ private Map<?, ?> map;
- public CopyHandler(ContentHandler ser, boolean isWorkDir, Map map) {
+ public CopyHandler(ContentHandler ser, boolean isWorkDir, Map<?, ?> map) {
this.ser = ser;
if (ser instanceof LexicalHandler) {
lh = (LexicalHandler) ser;
}
this.isWorkDir = isWorkDir;
< prev index next >