Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/ByteArrayDataAccess.java @ 673:545b1d4cc11d
Refactor HgBundle.GroupElement (clear experimental mark), resolve few technical debt issues
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 12 Jul 2013 20:14:24 +0200 |
parents | 46b56864b483 |
children |
comparison
equal
deleted
inserted
replaced
672:d2552e6a5af6 | 673:545b1d4cc11d |
---|---|
93 @Override | 93 @Override |
94 public void seek(int offset) { | 94 public void seek(int offset) { |
95 pos = offset; | 95 pos = offset; |
96 } | 96 } |
97 @Override | 97 @Override |
98 public void skip(int bytes) throws IOException { | 98 public void skip(int bytes) { |
99 seek(pos + bytes); | 99 seek(pos + bytes); |
100 } | 100 } |
101 @Override | 101 @Override |
102 public boolean isEmpty() { | 102 public boolean isEmpty() { |
103 return pos >= length; | 103 return pos >= length; |