krysalis-jplugin/src/java/org/krysalis/jplugin/framework/services/activation BasicActivator.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/services/activation
In directory sc8-pr-cvs1:/tmp/cvs-serv1880/src/java/org/krysalis/jplugin/framework/services/activation

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

Index: BasicActivator.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/framework/services/activation/BasicActivator.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** BasicActivator.java	29 Sep 2003 14:44:53 -0000	1.3
--- BasicActivator.java	29 Sep 2003 15:46:35 -0000	1.4
***************
*** 27,31 ****
  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.services.storage.Storage;
--- 27,30 ----
***************
*** 46,50 ****
      private static URL mailcapURL;
      private static URL mimetypesURL;
-     private final org.apache.log4j.Category c = org.apache.log4j.Category.getInstance(this.getClass().toString());
  
      private String mailcapPathString = null;
--- 45,48 ----
***************
*** 150,158 ****
          mimetypesURL = resourceFactory.getResource(mimetypesPathString);
  
-         try {
              //Set FileTypeMap
              FileTypeMap mimeTypeMap = new MimetypesFileTypeMap(mimetypesURL.openStream());
              FileTypeMap.setDefaultFileTypeMap(mimeTypeMap);
!             Logging.info(c,"FileTypeMap initialized.");
  
              //Initialize commandMap
--- 148,155 ----
          mimetypesURL = resourceFactory.getResource(mimetypesPathString);
  
              //Set FileTypeMap
              FileTypeMap mimeTypeMap = new MimetypesFileTypeMap(mimetypesURL.openStream());
              FileTypeMap.setDefaultFileTypeMap(mimeTypeMap);
!             //Logging.info(c,"FileTypeMap initialized.");
  
              //Initialize commandMap
***************
*** 160,168 ****
              commandMap = new javax.activation.MailcapCommandMap(mailcapURL.openStream());
              CommandMap.setDefaultCommandMap(commandMap);
!             Logging.info(c,"CommandMap initialized.");
!         } catch (Exception e) {
!             c.fatal(e);
!             throw e;
!         }
  
      }
--- 157,161 ----
              commandMap = new javax.activation.MailcapCommandMap(mailcapURL.openStream());
              CommandMap.setDefaultCommandMap(commandMap);
!             //Logging.info(c,"CommandMap initialized.");
  
      }




-------------------------------------------------------
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.