< prev index next >
make/jdk/src/classes/build/tools/dtdbuilder/DTDBuilder.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -137,11 +137,11 @@
if (o != null) {
return (short) o.intValue();
}
int i = namesVector.size();
namesVector.addElement(name);
- namesHash.put(name, new Integer(i));
+ namesHash.put(name, i);
return (short) i;
}
/**
< prev index next >