[exo-jcr-commits] exo-jcr SVN: r5520 - kernel/branches/2.4.x/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Jan 26 05:14:52 EST 2012


Author: andrew.plotnikov
Date: 2012-01-26 05:14:51 -0500 (Thu, 26 Jan 2012)
New Revision: 5520

Modified:
   kernel/branches/2.4.x/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/IOUtil.java
Log:
EXOJCR-1725: Fixed the Blocker/Critical violations and the easiest Major ones raised by eXo Quality Level 1.2

Modified: kernel/branches/2.4.x/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/IOUtil.java
===================================================================
--- kernel/branches/2.4.x/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/IOUtil.java	2012-01-25 15:36:50 UTC (rev 5519)
+++ kernel/branches/2.4.x/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/IOUtil.java	2012-01-26 10:14:51 UTC (rev 5520)
@@ -202,7 +202,7 @@
     *
     * @param resource the resource name
     * @return the resource content
-    * @throws NullPointerException if the specified argument is null or the loaded resource does not exist
+    * @throws IllegalArgumentException if the specified argument is null or the loaded resource does not exist
     * @throws IOException thrown by accessing the resource
     */
    static public String getResourceAsString(String resource) throws IOException



More information about the exo-jcr-commits mailing list