Skip to content

Commit 85aea94

Browse files
authored
Merge pull request #11 from chenkins/feature/uvf-draft
Use same maven-compiler-plugin configuration as in Cyberduck.
2 parents dc674d5 + d0e5905 commit 85aea94

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pom.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828

2929
<properties>
3030
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31-
<maven.compiler.release>8</maven.compiler.release>
31+
<maven.compiler.source>8</maven.compiler.source>
32+
<maven.compiler.target>8</maven.compiler.target>
3233

3334
<!-- dependencies -->
3435
<gson.version>2.11.0</gson.version>
@@ -181,8 +182,9 @@
181182
<artifactId>maven-compiler-plugin</artifactId>
182183
<version>3.13.0</version>
183184
<configuration>
184-
<source>1.8</source>
185-
<target>1.8</target>
185+
<source>${maven.compiler.source}</source>
186+
<target>${maven.compiler.target}</target>
187+
<release>${maven.compiler.target}</release>
186188
<encoding>UTF-8</encoding>
187189
<showWarnings>true</showWarnings>
188190
</configuration>

src/main/java/org/cryptomator/cryptolib/v3/FileContentCryptorImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ void decryptChunk(ByteBuffer ciphertextChunk, ByteBuffer cleartextChunk, long ch
133133

134134
// payload:
135135
final ByteBuffer payloadBuf = ciphertextChunk.duplicate();
136-
payloadBuf.position(GCM_NONCE_SIZE);
137136
assert payloadBuf.remaining() >= GCM_TAG_SIZE;
138137

139138
// payload:

0 commit comments

Comments
 (0)