View | Details | Raw Unified | Return to bug 51461
Collapse All | Expand All

(-)src/java/org/apache/poi/util/IOUtils.java (-1 / +1 lines)
Lines 106-112 Link Here
106
      int total = 0;
106
      int total = 0;
107
      while (true) {
107
      while (true) {
108
         int got = channel.read(b);
108
         int got = channel.read(b);
109
         if (got < 0) {
109
         if (got <= 0) {
110
            return (total == 0) ? -1 : total;
110
            return (total == 0) ? -1 : total;
111
         }
111
         }
112
         total += got;
112
         total += got;

Return to bug 51461