Group :: Desenvolvimento/Java
RPM: jeuclid
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: cast-issue.diff
Download
Download
Index: jeuclid-parent-3.1.9/jeuclid-core/src/main/java/net/sourceforge/jeuclid/converter/ConverterRegistry.java
===================================================================
--- jeuclid-parent-3.1.9.orig/jeuclid-core/src/main/java/net/sourceforge/jeuclid/converter/ConverterRegistry.java 2010-02-12 15:10:32.000000000 +0100
+++ jeuclid-parent-3.1.9/jeuclid-core/src/main/java/net/sourceforge/jeuclid/converter/ConverterRegistry.java 2013-08-20 14:55:16.000000000 +0200
@@ -52,10 +52,10 @@
*/
@SuppressWarnings("unchecked")
protected ConverterRegistry() {
- final Iterator<ConverterDetector> it = Service
- .providers(ConverterDetector.class);
+ final Iterator<Object> it = Service
+ .providers(ConverterDetector.class);
while (it.hasNext()) {
- final ConverterDetector det = it.next();
+ final ConverterDetector det = (ConverterDetector) it.next();
det.detectConversionPlugins(this);
}
}