svn commit: r14747 - trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/ui/FigClassifierBox.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2008-05-15 11:55:58-0700
New Revision: 14747

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/ui/FigClassifierBox.java

Log:
The check for deleting ourself is redundant here as the other tests will fail under that circumstance anyway and drop to super method.

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/ui/FigClassifierBox.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/ui/FigClassifierBox.java?view=diff&rev=14747&p1=trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/ui/FigClassifierBox.java&p2=trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/ui/FigClassifierBox.java&r1=14746&r2=14747
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/ui/FigClassifierBox.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/ui/FigClassifierBox.java	2008-05-15 11:55:58-0700
@@ -156,11 +156,6 @@
      * @param event the event
      */
     public void propertyChange(PropertyChangeEvent event) {
-        if (event instanceof DeleteInstanceEvent
-                || event.getSource() != getOwner()) {
-            super.propertyChange(event);
-        }
-        
         if (event.getPropertyName().equals("generalization")
                 && Model.getFacade().isAGeneralization(event.getOldValue())) {
             return;
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.