Author: ruschein
Date: 2011-07-19 14:11:28 -0700 (Tue, 19 Jul 2011)
New Revision: 26217

Modified:
   
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/zoom/ZoomEdit.java
Log:
Removed redundant call to doubleValue().

Modified: 
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/zoom/ZoomEdit.java
===================================================================
--- 
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/zoom/ZoomEdit.java
     2011-07-19 21:06:23 UTC (rev 26216)
+++ 
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/zoom/ZoomEdit.java
     2011-07-19 21:11:28 UTC (rev 26217)
@@ -22,8 +22,7 @@
        public void redo() {
                super.redo();
 
-               final double currentScaleFactor =
-                       
view.getVisualProperty(NETWORK_SCALE_FACTOR).doubleValue();
+               final double currentScaleFactor = 
view.getVisualProperty(NETWORK_SCALE_FACTOR);
                view.setVisualProperty(NETWORK_SCALE_FACTOR, currentScaleFactor 
* factor);
                view.updateView();
        }
@@ -31,8 +30,7 @@
        public void undo() {
                super.undo();
 
-               final double currentScaleFactor =
-                       
view.getVisualProperty(NETWORK_SCALE_FACTOR).doubleValue();
+               final double currentScaleFactor = 
view.getVisualProperty(NETWORK_SCALE_FACTOR);
                view.setVisualProperty(NETWORK_SCALE_FACTOR, currentScaleFactor 
/ factor);
                view.updateView();
        }

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to