Title: TRQS81
Okay, I finally got my act together and saved the file before running cvs diff....

If someone could update the issue and replace the current attachment with this, it would be greatly appreciated.



Index: NumberKey.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-turbine-torque/src/java/org/apache/torque/om/NumberKey.java,v
retrieving revision 1.12
diff -r1.12 NumberKey.java
100c100,107
<         this.key = key.getValue();
---
>         if( key != null )
>         {
>             this.key = key.getValue();
>         }
>         else
>         {
>             this.key = null;
>         }
126c133,140
<         this.key = new BigDecimal(key.toString());
---
>         if( key != null )
>         {
>             this.key = new BigDecimal(key.toString());
>         }
>         else
>         {
>             this.key = null;
>         }
219a234,235
>      * @throws NullPointerException when the value of the NumberKey or the
>      * comparison value is null
227c243,244
<      * Invokes the toString() method on the object.
---
>      * Invokes the toString() method on the object.  An empty string
>      * is returned is the value is null.
239c256
<      * Returns the value of this NumberKey as a long. This value is subject
---
>      * Returns the value of this NumberKey as a byte. This value is subject
241c258
<      * {@link java.math.BigDecimal.intValue()}
---
>      * {@link java.math.BigDecimal.byteValue()}
243c260,261
<      * @return the NumberKey converted to a long
---
>      * @return the NumberKey converted to a byte
>      * @throws NullPointerException when the value of the NumberKey is null
259a278
>      * @throws NullPointerException when the value of the NumberKey is null
275a295
>      * @throws NullPointerException when the value of the NumberKey is null
288a309
>      * @throws NullPointerException when the value of the NumberKey is null
303a325
>      * @throws NullPointerException when the value of the NumberKey is null
318a341
>      * @throws NullPointerException when the value of the NumberKey is null

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
  • TRQS81 Quinton McCombs
    • Quinton McCombs

Reply via email to