Java 10 changed the getPrefixes() to return Iterator<String>, making
this class fail to compile with JDK10+.
Fix this by adjusting the return type to match.
Change-Id: Iee84faebe2adddd710e40a229eb1705a324b50bc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.netconf.util.xml;
import com.google.common.collect.ImmutableMap;
}
@Override
- public Iterator<?> getPrefixes(final String namespaceURI) {
+ public Iterator<String> getPrefixes(final String namespaceURI) {
// Not needed in this context.
return null;
}
-
}