1.1 --- a/samples/cloneproblem/src/org/apidesign/cloneproblem/Interval.java Tue Mar 01 21:28:39 2011 +0100
1.2 +++ b/samples/cloneproblem/src/org/apidesign/cloneproblem/Interval.java Thu Oct 30 21:30:10 2014 +0100
1.3 @@ -16,7 +16,8 @@
1.4 *
1.5 * @param from the 'sooner' date
1.6 * @param to the 'later' date
1.7 - * @throws IllegalArgumentException if <code>from</code> is not less then <code>to</code>
1.8 + * @throws IllegalArgumentException
1.9 + * if <code>from</code> is not less then <code>to</code>
1.10 */
1.11 public Interval(Date from, Date to) {
1.12 if (from == null) {
1.13 @@ -29,7 +30,9 @@
1.14 this.from = (Date) from.clone();
1.15 this.to = (Date)to.clone();
1.16 if (from.compareTo(to) >= 0) {
1.17 - throw new IllegalArgumentException("'from' must be lower than 'to'!");
1.18 + throw new IllegalArgumentException(
1.19 + "'from' must be lower than 'to'!"
1.20 + );
1.21 }
1.22 }
1.23