Author: pwang
Date: 2010-10-26 11:23:58 -0700 (Tue, 26 Oct 2010)
New Revision: 22443
Added:
core3/property-api/trunk/src/main/java/org/cytoscape/property/BasicCyProperty.java
Removed:
core3/property-api/trunk/src/main/java/org/cytoscape/property/DefaultCyProperty.java
Log:
Class rename
Copied:
core3/property-api/trunk/src/main/java/org/cytoscape/property/BasicCyProperty.java
(from rev 22442,
core3/property-api/trunk/src/main/java/org/cytoscape/property/DefaultCyProperty.java)
===================================================================
---
core3/property-api/trunk/src/main/java/org/cytoscape/property/BasicCyProperty.java
(rev 0)
+++
core3/property-api/trunk/src/main/java/org/cytoscape/property/BasicCyProperty.java
2010-10-26 18:23:58 UTC (rev 22443)
@@ -0,0 +1,30 @@
+
+package org.cytoscape.property;
+
+import java.util.Properties;
+
+/**
+ * A simple implementation of CyProperty<Properties> suitable for
+ * general purpose use.
+ */
+public final class BasicCyProperty implements CyProperty<Properties> {
+
+ private final Properties properties;
+
+ /**
+ * @param properties The non-null Properties object this CyProperty
object
+ * should encapsulate. Throws NullPointerException if Properties is
null.
+ */
+ public BasicCyProperty(final Properties properties) {
+ if ( properties == null )
+ throw new NullPointerException("properties object is
null");
+ this.properties = properties;
+ }
+
+ /**
+ * {...@inheritdoc}
+ */
+ public Properties getProperties() {
+ return properties;
+ }
+}
Deleted:
core3/property-api/trunk/src/main/java/org/cytoscape/property/DefaultCyProperty.java
===================================================================
---
core3/property-api/trunk/src/main/java/org/cytoscape/property/DefaultCyProperty.java
2010-10-26 18:07:27 UTC (rev 22442)
+++
core3/property-api/trunk/src/main/java/org/cytoscape/property/DefaultCyProperty.java
2010-10-26 18:23:58 UTC (rev 22443)
@@ -1,30 +0,0 @@
-
-package org.cytoscape.property;
-
-import java.util.Properties;
-
-/**
- * A simple implementation of CyProperty<Properties> suitable for
- * general purpose use.
- */
-public final class DefaultCyProperty implements CyProperty<Properties> {
-
- private final Properties properties;
-
- /**
- * @param properties The non-null Properties object this CyProperty
object
- * should encapsulate. Throws NullPointerException if Properties is
null.
- */
- public DefaultCyProperty(final Properties properties) {
- if ( properties == null )
- throw new NullPointerException("properties object is
null");
- this.properties = properties;
- }
-
- /**
- * {...@inheritdoc}
- */
- public Properties getProperties() {
- return properties;
- }
-}
--
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.