harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r477152 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Pack200.java
Date Mon, 20 Nov 2006 11:44:35 GMT
Author: pyang
Date: Mon Nov 20 03:44:34 2006
New Revision: 477152

URL: http://svn.apache.org/viewvc?view=rev&rev=477152
Log:
fix API signature according to JavaDoc and JAPI reverse report on Harmony and RI

Modified:
    harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Pack200.java

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Pack200.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Pack200.java?view=diff&rev=477152&r1=477151&r2=477152
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Pack200.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Pack200.java
Mon Nov 20 03:44:34 2006
@@ -36,6 +36,13 @@
 
 	private static final String SYSTEM_PROPERTY_UNPACKER = "java.util.jar.Pack200.Unpacker";
//$NON-NLS-1$
 
+    /**
+     * Prevent this class from being instantiated.
+     */
+    private Pack200(){
+        //do nothing
+    }
+
 	/**
 	 * The method first read from system property for the classname of a Packer,
 	 * if such property exsists,the class shall be initialized; or the default



Mime
View raw message