Author: ruschein
Date: 2009-11-24 08:41:06 -0800 (Tue, 24 Nov 2009)
New Revision: 18558
Modified:
cytoscape/trunk/src/cytoscape/CyNode.java
Log:
Cosmetic.
Modified: cytoscape/trunk/src/cytoscape/CyNode.java
===================================================================
--- cytoscape/trunk/src/cytoscape/CyNode.java 2009-11-24 16:36:57 UTC (rev
18557)
+++ cytoscape/trunk/src/cytoscape/CyNode.java 2009-11-24 16:41:06 UTC (rev
18558)
@@ -47,12 +47,10 @@
import java.util.List;
-// Package visible class.
/**
*
*/
public class CyNode implements giny.model.Node {
-
public static final String NESTED_NETWORK_ID_ATTR = "nested_network_id";
public static final String PARENT_NODES_ATTR = "parent_nodes";
@@ -70,7 +68,7 @@
* @param root DOCUMENT ME!
* @param rootGraphIndex DOCUMENT ME!
*/
- public CyNode(RootGraph root, int rootGraphIndex) {
+ public CyNode(final RootGraph root, final int rootGraphIndex) {
this.m_rootGraph = (CytoscapeFingRootGraph) root;
this.m_rootGraphIndex = rootGraphIndex;
this.m_identifier = new Integer(m_rootGraphIndex).toString();
@@ -149,7 +147,7 @@
*
* @return DOCUMENT ME!
*/
- public boolean setIdentifier(String new_id) {
+ public boolean setIdentifier(final String new_id) {
if (new_id == null) {
m_rootGraph.setNodeIdentifier(m_identifier, 0);
} else {
@@ -167,7 +165,7 @@
*
* @param group CyGroup to add this group to
*/
- public void addToGroup(CyGroup group) {
+ public void addToGroup(final CyGroup group) {
// We want to create this lazily to avoid any unnecessary
performance/memory
// hits on CyNodes!
if (groupList == null)
@@ -185,7 +183,7 @@
*
* @param group CyGroup to remove this group from
*/
- public void removeFromGroup(CyGroup group) {
+ public void removeFromGroup(final CyGroup group) {
groupList.remove(group);
groupList.trimToSize();
--
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.