krysalis-jplugin/src/java/org/krysalis/jplugin/framework/storage/impl/resource SingleResourceDirStore.java,1.3,1.4

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/framework/storage/impl/resource
In directory sc8-pr-cvs1:/tmp/cvs-serv1880/src/java/org/krysalis/jplugin/framework/storage/impl/resource

Modified Files:
	SingleResourceDirStore.java 
Log Message:
Another round of Logging fixes and other small code tweaks.

Index: SingleResourceDirStore.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/framework/storage/impl/resource/SingleResourceDirStore.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SingleResourceDirStore.java	29 Sep 2003 14:44:53 -0000	1.3
--- SingleResourceDirStore.java	29 Sep 2003 15:46:36 -0000	1.4
***************
*** 26,30 ****
  import org.apache.avalon.framework.configuration.Configuration;
  import org.apache.avalon.framework.configuration.ConfigurationException;
- import org.krysalis.jplugin.framework.concerns.Logging;
  import org.krysalis.swingx.resources.ResourceFactory;
  import org.krysalis.jplugin.framework.storage.Store;
--- 26,29 ----
***************
*** 47,52 ****
      private String name;
      private ResourceDoc[] childrenDocs;
-     private final org.apache.log4j.Category c = org.apache.log4j.Category.getInstance(org.krysalis.jplugin.framework.storage.impl.resource.SingleResourceDirStore.class.toString());
- 
  
      /**
--- 46,49 ----
***************
*** 72,76 ****
       */
      public TreeNode getParent() {
!         return (TreeNode) null;
      }
  
--- 69,73 ----
       */
      public TreeNode getParent() {
!         return null;
      }
  
***************
*** 243,250 ****
              String currentMineType = resourcesConf[i].getAttribute("mimetype");
  
!             Logging.info(c,"getting resource " + String.valueOf(i) + "...");
  
              URL resource = resourceFactory.getPlainResource(currentResourceURLString);
!             Logging.info(c,"Loading resource: " + resource.toString());
              childrenDocs[i] = new ResourceDoc(this, resource, currentMineType);
          }
--- 240,247 ----
              String currentMineType = resourcesConf[i].getAttribute("mimetype");
  
!             //Logging.info(c,"getting resource " + String.valueOf(i) + "...");
  
              URL resource = resourceFactory.getPlainResource(currentResourceURLString);
!             //Logging.info(c,"Loading resource: " + resource.toString());
              childrenDocs[i] = new ResourceDoc(this, resource, currentMineType);
          }




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.