You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/repository-encrypted/src/main/java/org/elasticsearch/repositories/encrypted/BufferOnMarkInputStream.java
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -188,12 +188,12 @@ public long skip(long n) throws IOException {
188
188
returnsource.skip(n);
189
189
}
190
190
longremaining = n;
191
-
intsize = (int)Math.min(2048, remaining);
191
+
intsize = (int)Math.min(2048, remaining);
192
192
byte[] skipBuffer = newbyte[size];
193
193
while (remaining > 0) {
194
194
// skipping translates to a read so that the skipped bytes are stored in the buffer,
Copy file name to clipboardExpand all lines: x-pack/plugin/repository-encrypted/src/main/java/org/elasticsearch/repositories/encrypted/ChainingInputStream.java
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,6 @@ public int read() throws IOException {
125
125
return -1;
126
126
}
127
127
128
-
129
128
/**
130
129
* Reads up to {@code len} bytes of data into an array of bytes from this
131
130
* chaining input stream. If {@code len} is zero, then no bytes are read
Copy file name to clipboardExpand all lines: x-pack/plugin/repository-encrypted/src/main/java/org/elasticsearch/repositories/encrypted/DecryptionPacketsInputStream.java
Copy file name to clipboardExpand all lines: x-pack/plugin/repository-encrypted/src/main/java/org/elasticsearch/repositories/encrypted/EncryptedRepositoryPlugin.java
Copy file name to clipboardExpand all lines: x-pack/plugin/repository-encrypted/src/main/java/org/elasticsearch/repositories/encrypted/EncryptionPacketsInputStream.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ public final class EncryptionPacketsInputStream extends ChainingInputStream {
Copy file name to clipboardExpand all lines: x-pack/plugin/repository-encrypted/src/test/java/org/elasticsearch/repositories/encrypted/BufferOnMarkInputStreamTests.java
+47-56Lines changed: 47 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,7 @@ public void testResetWithoutMarkFails() throws Exception {
0 commit comments