src/share/classes/javax/swing/text/DateFormatter.java
Print this page
@@ -106,12 +106,12 @@
}
/**
* Returns the field that will be adjusted by adjustValue.
*/
- Object getAdjustField(int start, Map attributes) {
- Iterator attrs = attributes.keySet().iterator();
+ Object getAdjustField(int start, Map<?, ?> attributes) {
+ Iterator<?> attrs = attributes.keySet().iterator();
while (attrs.hasNext()) {
Object key = attrs.next();
if ((key instanceof DateFormat.Field) &&
@@ -125,11 +125,11 @@
/**
* Adjusts the Date if FieldPosition identifies a known calendar
* field.
*/
- Object adjustValue(Object value, Map attributes, Object key,
+ Object adjustValue(Object value, Map<?, ?> attributes, Object key,
int direction) throws
BadLocationException, ParseException {
if (key != null) {
int field;