krysalis-jplugin/src/java/org/krysalis/jplugin/components/sheets/stores CreateDocumentSheet.java,1.5,1.6 StoresTreeSheet.java,1.3,1.4 DocumentsSheet.java,1.4,1.5
[email protected] Mon, 29 Sep 2003 08:47:08 -0700
Newsgroups
gmane.comp.krysalis.metamorphosis.cvs
Message-ID
<[email protected] >
Update of /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/components/sheets/stores
In directory sc8-pr-cvs1:/tmp/cvs-serv1880/src/java/org/krysalis/jplugin/components/sheets/stores
Modified Files:
CreateDocumentSheet.java StoresTreeSheet.java
DocumentsSheet.java
Log Message:
Another round of Logging fixes and other small code tweaks.
Index: CreateDocumentSheet.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/components/sheets/stores/CreateDocumentSheet.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CreateDocumentSheet.java 29 Sep 2003 14:51:38 -0000 1.5
--- CreateDocumentSheet.java 29 Sep 2003 15:46:35 -0000 1.6
***************
*** 70,75 ****
JLabel jLabel1 = new JLabel();
Border border2;
! private final org.apache.log4j.Category c = org.apache.log4j.Category.getInstance(this.getClass().toString());
!
private Storage rootStore;
private ResourceFactory resourceFactory;
--- 70,74 ----
JLabel jLabel1 = new JLabel();
Border border2;
!
private Storage rootStore;
private ResourceFactory resourceFactory;
***************
*** 325,334 ****
out.close();
} catch (Exception ex) {
! c.error(ex);
}
try {
in.close();
} catch (Exception ex) {
! c.error(ex);
}
}
--- 324,333 ----
out.close();
} catch (Exception ex) {
! //todo silently
}
try {
in.close();
} catch (Exception ex) {
! //todo silently
}
}
Index: StoresTreeSheet.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/components/sheets/stores/StoresTreeSheet.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StoresTreeSheet.java 29 Sep 2003 14:44:53 -0000 1.3
--- StoresTreeSheet.java 29 Sep 2003 15:46:35 -0000 1.4
***************
*** 71,76 ****
private Store rootStore;
private boolean fireAllowed = true;
- private final org.apache.log4j.Category c = org.apache.log4j.Category.getInstance(this.getClass().toString());
-
/**
--- 71,74 ----
Index: DocumentsSheet.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/components/sheets/stores/DocumentsSheet.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** DocumentsSheet.java 29 Sep 2003 14:51:39 -0000 1.4
--- DocumentsSheet.java 29 Sep 2003 15:46:35 -0000 1.5
***************
*** 30,34 ****
import org.apache.avalon.framework.component.Composable;
import org.krysalis.jplugin.framework.concerns.AntiAliasing;
- import org.krysalis.jplugin.framework.concerns.Logging;
import org.krysalis.swingx.icons.IconFactory;
import org.krysalis.swingx.icons.JIcon;
--- 30,33 ----
***************
*** 54,59 ****
private StoreEntityList entities = new StoreEntityList();
! private final org.apache.log4j.Category c = org.apache.log4j.Category.getInstance(this.getClass().toString());
!
private IconFactory iconFactory;
private ResourceFactory resourceFactory;
--- 53,57 ----
private StoreEntityList entities = new StoreEntityList();
! private final Object c = this;
private IconFactory iconFactory;
private ResourceFactory resourceFactory;
***************
*** 148,157 ****
if (parent != null) {
- try {
innerPanel.add(iconFactory.getIcon(parent, parent.getContentType(),
IconFactory.NORMAL_SIZE_HINT));
- } catch (Exception e) {
- Logging.error(c,e);
- }
}
--- 146,151 ----
***************
*** 160,164 ****
Iterator iter = entities.iterator();
while (iter.hasNext()) {
! try {
StoreEntity currentEntity = (StoreEntity) iter.next();
innerPanel.add(iconFactory.getIcon(currentEntity,
--- 154,158 ----
Iterator iter = entities.iterator();
while (iter.hasNext()) {
!
StoreEntity currentEntity = (StoreEntity) iter.next();
innerPanel.add(iconFactory.getIcon(currentEntity,
***************
*** 166,175 ****
IconFactory.NORMAL_SIZE_HINT));
! } catch (Exception e) {
! Logging.error(c,e);
! }
}
} else {
! Logging.info(c,"empty.");
}
--- 160,167 ----
IconFactory.NORMAL_SIZE_HINT));
!
}
} else {
! //Logging.info(c,"empty.");
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf