geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/common/src/java/org/apache/geronimo/common Primitives.java
Date Wed, 10 Mar 2004 00:03:36 GMT
adc         2004/03/09 16:03:36

  Modified:    modules/common/src/java/org/apache/geronimo/common
                        Primitives.java
  Log:
  [GERONIMO-159] [patch] Typo fixes in o.a.g.common.Primitives
  
  Thanks to Brian Deacon.
  
  Revision  Changes    Path
  1.5       +3 -3      incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/Primitives.java
  
  Index: Primitives.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/Primitives.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Primitives.java	25 Feb 2004 09:57:02 -0000	1.4
  +++ Primitives.java	10 Mar 2004 00:03:36 -0000	1.5
  @@ -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;
  
  
  

Mime
View raw message