Skip to content

Commit

Permalink
Correct deps warns from dependabot and snyk
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and hdsdi3g committed Dec 31, 2023
1 parent 2c038ea commit e5fb4e4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
4 changes: 4 additions & 0 deletions authkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
<exclusion>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down
13 changes: 7 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.1</version>
<relativePath />
<relativePath/>
</parent>

<modules>
Expand Down Expand Up @@ -49,10 +49,10 @@
<commons.text.version>1.10.0</commons.text.version>
<commons.net.version>3.9.0</commons.net.version>
<commons.io.version>2.11.0</commons.io.version>
<commons.compress.version>1.22</commons.compress.version>
<commons.compress.version>1.24.0</commons.compress.version>
<commons.collections4.version>4.4</commons.collections4.version>
<httpclient.version>4.5.14</httpclient.version>
<sshj.version>0.33.0</sshj.version>
<sshj.version>0.36.0</sshj.version>
<bouncycastle.version>1.70</bouncycastle.version>
<xz.version>1.8</xz.version>
<ftpserver.version>1.1.2</ftpserver.version>
Expand All @@ -62,10 +62,11 @@
<argon2.version>2.7</argon2.version>
<zxing.version>3.5.0</zxing.version>
<opencsv.version>5.6</opencsv.version>
<spoon.version>10.1.1</spoon.version>
<spoon.version>10.4.2</spoon.version>
<j2html.version>1.6.0</j2html.version>
<esapi.version>2.5.2.0</esapi.version>
<spring-hateoas.version>2.1.1</spring-hateoas.version>
<esapi.version>2.5.3.0</esapi.version>
<spring-hateoas.version>2.1.3</spring-hateoas.version>
<mysql.version>8.2.0</mysql.version>
<graalvm.version>22.3.1</graalvm.version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ public long getLastModifiedTime() throws IOException {

private class LocalDestFileImpl extends TransferListenerImpl implements LocalDestFile {

private static final String NOT_AVALIABLE = "Not avaliable";
private final OutputStream outputStream;

LocalDestFileImpl(final OutputStream outputStream,
Expand All @@ -504,9 +505,22 @@ public OutputStream getOutputStream() throws IOException {
return outputStream;
}

@Override
public long getLength() {
throw new UnsupportedOperationException(NOT_AVALIABLE);
}

@Override
public OutputStream getOutputStream(final boolean append) throws IOException {
if (append) {
throw new UnsupportedOperationException("Append not avaliable");
}
return outputStream;
}

@Override
public LocalDestFile getChild(final String name) {
throw new UnsupportedOperationException("Not avaliable");
throw new UnsupportedOperationException(NOT_AVALIABLE);
}

@Override
Expand All @@ -516,7 +530,7 @@ public LocalDestFile getTargetFile(final String filename) throws IOException {

@Override
public LocalDestFile getTargetDirectory(final String dirname) throws IOException {
throw new UnsupportedOperationException("Not avaliable");
throw new UnsupportedOperationException(NOT_AVALIABLE);
}

@Override
Expand Down

0 comments on commit e5fb4e4

Please sign in to comment.