diff options
Diffstat (limited to 'gnu/xml/libxmlj/util/XMLJ.java')
-rw-r--r-- | gnu/xml/libxmlj/util/XMLJ.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/xml/libxmlj/util/XMLJ.java b/gnu/xml/libxmlj/util/XMLJ.java index 0d5f9f689..8d954d0be 100644 --- a/gnu/xml/libxmlj/util/XMLJ.java +++ b/gnu/xml/libxmlj/util/XMLJ.java @@ -1,4 +1,4 @@ -/* XMLJ.java - +/* XMLJ.java - Copyright (C) 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -70,35 +70,35 @@ public final class XMLJ static class XMLJShutdownHook implements Runnable { - + public void run () { // Make sure finalizers are run System.gc (); Runtime.getRuntime ().runFinalization (); - + // Perform global cleanup on the native level GnomeTransformerFactory.freeLibxsltGlobal (); } - + } private static boolean initialised = false; - + public static void init () { if (!initialised) { System.loadLibrary ("xmlj"); - - XMLJShutdownHook hook = new XMLJShutdownHook (); + + XMLJShutdownHook hook = new XMLJShutdownHook (); Runtime.getRuntime ().addShutdownHook (new Thread (hook)); } initialised = true; } private static final int LOOKAHEAD = 50; - + /** * Returns an input stream for the specified input source. * This returns a pushback stream that libxmlj can use to detect the @@ -276,5 +276,5 @@ public final class XMLJ } return uri; } - + } |