diff -r e1089d423881 -r 40cabcdcd2be samples/cloneproblem/src/org/apidesign/cloneproblem/Interval.java
--- a/samples/cloneproblem/src/org/apidesign/cloneproblem/Interval.java Tue Mar 01 21:28:39 2011 +0100
+++ b/samples/cloneproblem/src/org/apidesign/cloneproblem/Interval.java Thu Oct 30 21:30:10 2014 +0100
@@ -16,7 +16,8 @@
*
* @param from the 'sooner' date
* @param to the 'later' date
- * @throws IllegalArgumentException if from
is not less then to
+ * @throws IllegalArgumentException
+ * if from
is not less then to
*/
public Interval(Date from, Date to) {
if (from == null) {
@@ -29,7 +30,9 @@
this.from = (Date) from.clone();
this.to = (Date)to.clone();
if (from.compareTo(to) >= 0) {
- throw new IllegalArgumentException("'from' must be lower than 'to'!");
+ throw new IllegalArgumentException(
+ "'from' must be lower than 'to'!"
+ );
}
}