You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/10/02 18:45:09 UTC
cvs commit: jakarta-turbine-torque/src/java/org/apache/torque/om NumberKey.java
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: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org