ICU-12634 Remove type check left over from previous enumeration mechanism.

X-SVN-Rev: 39156
This commit is contained in:
Felipe Balbontín 2016-09-08 01:06:49 +00:00
parent eae3a7e3e6
commit 5595faed12

View File

@ -385,11 +385,6 @@ public class ICUResourceBundle extends UResourceBundle {
path, getKey());
}
}
if (sink == null) {
if (rb.getType() != TABLE) {
throw new UResourceTypeMismatchException("");
}
}
UResource.Key key = new UResource.Key();
ReaderValue readerValue = new ReaderValue();
rb.getAllItemsWithFallback(key, readerValue, sink);