svn commit: r18020 - trunk/src/argouml-app/src/org/argouml/uml/ui/TabProps.java

Bob Tarling <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2010-02-15 12:47:37-0800
New Revision: 18020

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/ui/TabProps.java

Log:
Only a comment

Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/TabProps.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/TabProps.java?view=diff&pathrev=18020&r1=18019&r2=18020
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ui/TabProps.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ui/TabProps.java	2010-02-15 12:47:37-0800
@@ -83,7 +83,7 @@
      */
     private static final Logger LOG = Logger.getLogger(TabProps.class);
     
-    private static boolean cachePanels = true;
+    private static boolean cachePanels = false;
 
     private JPanel blankPanel = new JPanel();
     private Hashtable<Class, JPanel> panels = 
@@ -207,6 +207,8 @@
         if (lastPanel != null) {
             remove(lastPanel);
             if (lastPanel instanceof TargetListener) {
+                // TODO: We should assert this never happens before removing
+                // panels should control their own listeners
                 removeTargetListener((TargetListener) lastPanel);
             }
         }

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2447876

To unsubscribe from this discussion, e-mail: [[email protected]].
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.