commit | 74d84b5a8959c05ef3999650dfe343dfce41b17e | [log] [tgz] |
---|---|---|
author | Mark Hindess <hindessm@apache.org> | Thu Oct 07 22:03:07 2010 +0000 |
committer | Mark Hindess <hindessm@apache.org> | Thu Oct 07 22:03:07 2010 +0000 |
tree | 8ad880c3a685b317496e1cd346ad70081c2bba27 | |
parent | 0fafb31d1198c8e311f5876fcf93daee063ceee2 [diff] |
Remove another explicit NPE. I'm not re-ordering the bounds checking here as it turns out: String s = new String((int[])null, -1, 0); and: String s = new String((int[])null, 0, -1); on the RI throw IndexOutOfBoundsException not NullPointerException. So the behaviour before did not match the RI. git-svn-id: https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk@1005651 13f79535-47bb-0310-9956-ffa450edef68