aboutsummaryrefslogtreecommitdiff
blob: 2ff46700ade87e8bd33c39fbc065332cb7b4117e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
         }
     }