cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r1156391 - /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/util/TransformationUtils.java
Date Wed, 10 Aug 2011 22:19:14 GMT
Author: reinhard
Date: Wed Aug 10 22:19:14 2011
New Revision: 1156391

URL: http://svn.apache.org/viewvc?rev=1156391&view=rev
Log:
fix warning

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/util/TransformationUtils.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/util/TransformationUtils.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/util/TransformationUtils.java?rev=1156391&r1=1156390&r2=1156391&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/util/TransformationUtils.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/util/TransformationUtils.java
Wed Aug 10 22:19:14 2011
@@ -36,7 +36,11 @@ import org.apache.cocoon.sax.component.X
  *
  * NOTE: Exception handling needs to be discussed and will probably change.
  */
-public abstract class TransformationUtils {
+public final class TransformationUtils {
+
+    private TransformationUtils() {
+        // hide utility class constructor
+    }
 
     /**
      * Transform an XML string by using XSLT.
@@ -64,7 +68,7 @@ public abstract class TransformationUtil
      * @throws Exception
      */
     public static String transform(String xmlString, Map<String, Object> xsltParameters,
URL... xsltUrls)
-            throws Exception {
+    throws Exception {
         return transform(xmlString, xsltParameters, (Properties) null, xsltUrls);
     }
 



Mime
View raw message