6
0
forked from pool/jeuclid
Files
jeuclid/jeuclid-service-providers.patch
David Anes 077fda2369 Accepting request 962178 from home:david.anes:branches:Java:packages
- Updated/rebased patches:
  - jeuclid-core-FreeHep.patch (updated to use services file)
  - jeuclid-batik_1_10.patch (rebased)
  - jeuclid-service-providers.patch (added to prevent wrong 
    typecasting)
- Update to 3.1.9:
  - Workaround for NPE in TextLayout()
  - Support Content Math without namespace
  - Added Italian Translation
  - Improved Documentation
- Update to 3.1.8:
  - Operator streching now honors symmetric
  - New extension for horizontal / vertical stretch
  - Stretchy behaviour is reworked again
- Update to 3.1.7:
  - Reworked Token elements to support mglyhp in all cases.
  - Reworked Stretchy operators.
  - Fixed an error in mmultiscript containing whitespace.
  - MathML 3.0 Testsuite is now available on the website.
  - MathML 3.0 Testsuite can now be run internally.
  - Basic SWT Widget is now implemented.
  - Restored functionality to get null value for attributes. Fixes 
    mfence
  - Better support for foreign elements in JEuclid DOM Tree.
- Update to 3.1.6:
  - JEuclidView: add method to get bounds of layouted object.
  - Provide Win32 MathViewer executable.
  - Moved Resources from root namespace into net/sf/jeuclid.
  - Internal DOM Tree is now in the MathML Namespace.
  - jeuclid-core JAR file is now OSGi compatible.

OBS-URL: https://build.opensuse.org/request/show/962178
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jeuclid?expand=0&rev=23
2022-03-16 12:54:58 +00:00

18 lines
925 B
Diff

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
+++ jeuclid-parent-3.1.9/jeuclid-core/src/main/java/net/sourceforge/jeuclid/converter/ConverterRegistry.java
@@ -52,10 +52,10 @@ public final class ConverterRegistry {
*/
@SuppressWarnings("unchecked")
protected ConverterRegistry() {
- final Iterator<ConverterDetector> it = Service
+ 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);
}
}