< prev index next >
src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker.java
Print this page
@@ -1,8 +1,8 @@
/*
* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
- * @LastModified: Oct 2017
+ * @LastModified: Nov 2017
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -1605,11 +1605,11 @@
String elName;
String attrName = values.get(0);
// for each of the values
int count = values.size();
for (int i = 1; i < count; i += 2) {
- elName = (String)values.get(i);
+ elName = values.get(i);
try {
// and validate it using the XSSimpleType
// REVISIT: what would be the proper validation context?
// guess we need to save that in the vectors too.
dv.validate(values.get(i+1), null, null);
@@ -1822,9 +1822,9 @@
void put(String key, OneAttr value) {
items.put(key, value);
values[pos++] = value;
}
OneAttr get(String key) {
- OneAttr ret = (OneAttr)items.get(key);
+ OneAttr ret = items.get(key);
return ret;
}
}
< prev index next >