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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user