You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2015/01/06 00:58:07 UTC

svn commit: r1649696 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java

Author: adrianc
Date: Mon Jan  5 23:58:06 2015
New Revision: 1649696

URL: http://svn.apache.org/r1649696
Log:
Improvement: Remove unnecessary resource check from UtilURL.java.

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java?rev=1649696&r1=1649695&r2=1649696&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java Mon Jan  5 23:58:06 2015
@@ -70,6 +70,7 @@ public class UtilURL {
             return url;
         }
         String propertiesResourceName = null;
+        /* Commenting this out for now. Calling code should check for this.
         if (!resourceName.endsWith(".properties")) {
             propertiesResourceName = resourceName.concat(".properties");
             url = loader.getResource(propertiesResourceName);
@@ -77,6 +78,7 @@ public class UtilURL {
                 return url;
             }
         }
+        */
         url = ClassLoader.getSystemResource(resourceName);
         if (url != null) {
             return url;