[MOBY-guts] biomoby commit
Andreas Groscurth
groscurt at dev.open-bio.org
Mon Jan 5 08:43:41 UTC 2009
groscurt
Mon Jan 5 03:43:40 EST 2009
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/datatypes
In directory dev.open-bio.org:/tmp/cvs-serv23794/src/main/org/biomoby/shared/datatypes
Modified Files:
MobyBoolean.java
Log Message:
changed new Boolean (getValue()).booleanValue(); to Boolean.parseBoolean(getValue()) as this is the recommended way.
moby-live/Java/src/main/org/biomoby/shared/datatypes MobyBoolean.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/datatypes/MobyBoolean.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/datatypes/MobyBoolean.java 2005/08/26 06:27:05 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/datatypes/MobyBoolean.java 2009/01/05 08:43:40 1.2
@@ -87,7 +87,7 @@
* @see #getValue
*************************************************************************/
public boolean getBooleanValue() {
- return new Boolean (getValue()).booleanValue();
+ return Boolean.parseBoolean( getValue());
}
}
More information about the MOBY-guts
mailing list