dlr 01/10/02 09:45:09
Modified: src/java/org/apache/torque/om NumberKey.java
Log:
Less code, now coding conventions compliant.
Revision Changes Path
1.4 +1 -4
jakarta-turbine-torque/src/java/org/apache/torque/om/NumberKey.java
Index: NumberKey.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/om/NumberKey.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -u -r1.3 -r1.4
--- NumberKey.java 2001/08/20 03:51:55 1.3
+++ NumberKey.java 2001/10/02 16:45:09 1.4
@@ -136,10 +136,7 @@
*/
public void setValue(NumberKey key)
{
- if (key != null)
- this.key = key.getValue();
- else
- this.key = null;
+ this.key = (key == null ? null : key.getValue());
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]