Author: ruschein
Date: 2010-12-09 14:03:37 -0800 (Thu, 09 Dec 2010)
New Revision: 23151
Modified:
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
Log:
Fixed isSet() implementation.
Modified:
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
===================================================================
---
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
2010-12-09 21:12:23 UTC (rev 23150)
+++
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
2010-12-09 22:03:37 UTC (rev 23151)
@@ -576,8 +576,8 @@
if (types.get(columnName).isAssignableFrom(type))
return true;
else
-
- return false;
+ throw new IllegalArgumentException("isSet(): expected
\"" + types.get(columnName).getName()
+ + "\" got \"" +
type.getName() + "\"!");
}
private Class<?> getClass(Class<?> c) {
--
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.