private void next() throws FHIRException, IOException { if (state == 2) throw new FHIRException("read past end of source"); state = 1; int i = read(); if (i == -1) state = 2; else pc = (char) i; }
private void next() throws FHIRException, IOException { if (state == 2) throw new FHIRException("read past end of source"); state = 1; int i = read(); if (i == -1) state = 2; else pc = (char) i; }