Fixed catch clause in TimeDuration equals method.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911125 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2010-02-17 18:00:56 +00:00
parent 875b5a32b4
commit 276a0b2f6d
@@ -173,7 +173,7 @@ public class TimeDuration implements Serializable, Comparable<TimeDuration> {
return this.years == that.years && this.months == that.months && this.days == that.days
&& this.hours == that.hours && this.minutes == that.minutes && this.seconds == that.seconds
&& this.milliseconds == that.milliseconds;
} catch (Exception e) {}
} catch (ClassCastException e) {}
return false;
}