Just poking around the code trying to get familiar and noticed
this... QUICK! This must be checked in!
:)
Brian
(lemme know if I did the diff wrong, and I'll update the wiki
instructions accordingly)
Index:
incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/Primitives.java
===================================================================
RCS file:
/home/cvspublic/incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/Primitives.java,v
retrieving revision 1.4
diff -u -r1.4 Primitives.java
---
incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/Primitives.java
25 Feb 2004 09:57:02 -0000 1.4
+++
incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/Primitives.java
7 Mar 2004 03:59:10 -0000
@@ -37,7 +37,7 @@
}
/**
- * Test the equality of two doubles by converting their values into
+ * Test the equality of two floats by converting their values into
* IEEE 754 floating-point "single precision" bit layouts.
*
* @param a Float to check equality with.
@@ -119,7 +119,7 @@
{
if (value > Integer.MAX_VALUE || value < Integer.MIN_VALUE) {
throw new DataConversionException
- ("Can not safly convert to int: " + value);
+ ("Can not safely convert to int: " + value);
}
return (int)value;