# HG changeset patch # User Jaroslav Tulach # Date 1299011529 -3600 # Node ID 5171d544edebe655f95e39914c9e52fd2c8dfeec # Parent e1089d4238814f7310a5bbb0792fde0fd93820dd Shortening the lines to fit into 80 chars code snippets diff -r e1089d423881 -r 5171d544edeb 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 Tue Mar 01 21:32:09 2011 +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'!" + ); } }