Author: rwhitcomb
Date: Sat Feb 10 01:15:32 2018
New Revision: 1823726

URL: http://svn.apache.org/viewvc?rev=1823726&view=rev
Log:
Code cleanup:  Make one of the exception messages in Utils read better.

Modified:
    pivot/trunk/core/src/org/apache/pivot/util/Utils.java

Modified: pivot/trunk/core/src/org/apache/pivot/util/Utils.java
URL: 
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/Utils.java?rev=1823726&r1=1823725&r2=1823726&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/Utils.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/Utils.java Sat Feb 10 01:15:32 
2018
@@ -265,8 +265,8 @@ public class Utils {
                 + end + "].");
         }
         if (index + count > end) {
-            throw new IndexOutOfBoundsException("Index + count " + index + "," 
+ count
-                + " out of bounds [" + start + "," + end + "].");
+            throw new IndexOutOfBoundsException("Index + count (" + index + " 
+ " + count
+                + ") out of bounds [" + start + "," + end + "].");
         }
     }
 


Reply via email to