[jboss-svn-commits] JBoss Common SVN: r2222 - common-core/trunk/src/main/java/org/jboss/util/xml

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Dec 15 07:28:36 EST 2006


Author: thomas.diesler at jboss.com
Date: 2006-12-15 07:28:34 -0500 (Fri, 15 Dec 2006)
New Revision: 2222

Modified:
   common-core/trunk/src/main/java/org/jboss/util/xml/JBossEntityResolver.java
Log:
make private methods protected

Modified: common-core/trunk/src/main/java/org/jboss/util/xml/JBossEntityResolver.java
===================================================================
--- common-core/trunk/src/main/java/org/jboss/util/xml/JBossEntityResolver.java	2006-12-13 03:38:48 UTC (rev 2221)
+++ common-core/trunk/src/main/java/org/jboss/util/xml/JBossEntityResolver.java	2006-12-15 12:28:34 UTC (rev 2222)
@@ -172,6 +172,7 @@
    {
       return warnOnNonFileURLs;
    }
+
    public static void setWarnOnNonFileURLs(boolean warnOnNonFileURLs)
    {
       JBossEntityResolver.warnOnNonFileURLs = warnOnNonFileURLs;
@@ -290,7 +291,7 @@
     @return the InputSource for the schema file found on the classpath, null
       if the publicId is not registered or found.
     */
-   private InputSource resolvePublicID(String publicId, boolean trace)
+   protected InputSource resolvePublicID(String publicId, boolean trace)
    {
       if( publicId == null )
          return null;
@@ -342,7 +343,7 @@
     @return the URL InputSource if the URL input stream can be opened, null
       if the systemId is not a URL or could not be opened.
     */
-   private InputSource resolveSystemID(String systemId, boolean trace)
+   protected InputSource resolveSystemID(String systemId, boolean trace)
    {
       if( systemId == null )
          return null;
@@ -388,7 +389,7 @@
    @return the URL InputSource if the URL input stream can be opened, null
      if the systemId is not a URL or could not be opened.
    */
-  private InputSource resolveSystemIDasURL(String systemId, boolean trace)
+  protected InputSource resolveSystemIDasURL(String systemId, boolean trace)
   {
      if( systemId == null )
         return null;
@@ -446,7 +447,7 @@
     @return the InputSource for the schema file found on the classpath, null
       if the systemId is not registered or found.
     */
-   private InputSource resolveClasspathName(String systemId, boolean trace)
+   protected InputSource resolveClasspathName(String systemId, boolean trace)
    {
       if( systemId == null )
          return null;
@@ -500,7 +501,7 @@
     @param trace - trace level logging flag
     @return the resource InputStream if found, null if not found.
     */
-   private InputStream loadClasspathResource(String resource, boolean trace)
+   protected InputStream loadClasspathResource(String resource, boolean trace)
    {
       ClassLoader loader = Thread.currentThread().getContextClassLoader();
       URL url = loader.getResource(resource);




More information about the jboss-svn-commits mailing list