diff --git a/java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java b/java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java index 91df66e8..8f4be255 100644 --- a/java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java +++ b/java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java @@ -246,7 +246,7 @@ public void setParser(EventParser parser) { public EvioEvent getFirstEvent() { try { byte[] rawBytes = reader.getFirstEvent(); - return EvioReader.getEvent(rawBytes, 0, reader.getByteOrder()); + return EvioReader.parseEvent(rawBytes, 0, reader.getByteOrder()); } catch (EvioException e) {}