We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21b2385 commit 0a65ecbCopy full SHA for 0a65ecb
1 file changed
src/main/java/me/martinez/pe/io/CadesStreamReader.java
@@ -10,14 +10,6 @@
10
public abstract class CadesStreamReader {
11
private long pos;
12
13
- public void setPos(long pos) {
14
- this.pos = pos;
15
- }
16
-
17
- public long incrementPos(long offset) {
18
- return (pos += offset) - offset;
19
20
21
public long getPos() {
22
return pos;
23
}
@@ -29,4 +21,12 @@ public long getPos() {
29
public abstract void seekEnd() throws IOException;
30
31
public abstract void seekStart() throws IOException;
24
+
25
+ protected void setPos(long pos) {
26
+ this.pos = pos;
27
+ }
28
+ protected long incrementPos(long offset) {
+ return (pos += offset) - offset;
32
0 commit comments