Remove java6ism in FSTBytesAtomicFieldData.

This commit is contained in:
Adrien Grand 2014-04-24 22:41:12 +02:00
parent ba73877580
commit f109802960
1 changed files with 1 additions and 4 deletions

View File

@ -96,10 +96,7 @@ public class FSTBytesAtomicFieldData implements AtomicFieldData.WithOrdinals<Scr
}
assert fstEnum.next() == null;
} catch (IOException e) {
// Don't use new "AssertionError("Cannot happen", e)" directly as this is a Java 1.7-only API
final AssertionError error = new AssertionError("Cannot happen");
error.initCause(e);
throw error;
throw new AssertionError("Cannot happen", e);
}
this.hashes = hashes;
}