gilmore606 / ure

the unRogueEngine
MIT License
121 stars 12 forks source link

readAllBytes #115

Open azeroth2b opened 5 years ago

azeroth2b commented 5 years ago

https://github.com/gilmore606/ure/blob/cac23dc3f1a7f86b933716574d2336950cf2666a/src/main/java/ure/ui/RexFile.java#L45

ReadAllBytes is introduced in Java9, Since you're already inluding Apache Commons IO, I think you can replace it with the following and avoid the Java9 Dependency. byte[] decompressed = IOUtils.toByteArray(gunzipStream);