svn commit: r13646 - trunk/src_new/org/argouml/kernel/DefaultUndoManager.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: linus
Date: 2007-10-07 20:24:20-0700
New Revision: 13646

Modified:
   trunk/src_new/org/argouml/kernel/DefaultUndoManager.java

Log:
Fixed a few warnings.

Modified: trunk/src_new/org/argouml/kernel/DefaultUndoManager.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/kernel/DefaultUndoManager.java?view=diff&rev=13646&p1=trunk/src_new/org/argouml/kernel/DefaultUndoManager.java&p2=trunk/src_new/org/argouml/kernel/DefaultUndoManager.java&r1=13645&r2=13646
==============================================================================
--- trunk/src_new/org/argouml/kernel/DefaultUndoManager.java	(original)
+++ trunk/src_new/org/argouml/kernel/DefaultUndoManager.java	2007-10-07 20:24:20-0700
@@ -27,15 +27,11 @@
 import java.beans.PropertyChangeEvent;
 import java.beans.PropertyChangeListener;
 import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
 import java.util.ListIterator;
 import java.util.Stack;
 
-import javax.swing.SwingUtilities;
-
 import org.apache.log4j.Logger;
 import org.argouml.i18n.Translator;
 
@@ -176,8 +172,8 @@
         
         private String label;
         
-        Interaction(String label) {
-            this.label = label;
+        Interaction(String lbl) {
+            label = lbl;
         }
         
         public void undo() {
@@ -253,14 +249,14 @@
         private String sizeProperty;
         
         public InteractionStack(
-                String labelProperty,
-                String addedProperty,
-                String removedProperty,
-                String sizeProperty) {
-            this.labelProperty = labelProperty;
-            this.addedProperty = addedProperty;
-            this.removedProperty = removedProperty;
-            this.sizeProperty = sizeProperty;
+                String labelProp,
+                String addedProp,
+                String removedProp,
+                String sizeProp) {
+            labelProperty = labelProp;
+            addedProperty = addedProp;
+            removedProperty = removedProp;
+            sizeProperty = sizeProp;
         }
         
         public Interaction push(Interaction item) {
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.