commit | 4a426d07f390f4c364453ac7a843eabccc57749e | [log] [tgz] |
---|---|---|
author | Sylwester Lachiewicz <slachiewicz@apache.org> | Sun Apr 16 01:08:33 2023 +0200 |
committer | Sylwester Lachiewicz <slachiewicz@apache.org> | Sun Apr 16 01:08:33 2023 +0200 |
tree | 17e347f8140f89bb63c68305f76d7493e161e518 | |
parent | 249e67913ae885484fc597b0fe2bcd7b527b4631 [diff] |
Fix checkstyle
diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/TestUtil.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/TestUtil.java index 07d4445..1fc2076 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/TestUtil.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/TestUtil.java
@@ -92,8 +92,9 @@ { JarEntry je = en.nextElement(); final File zipEntryFile = new File( base, je.getName() ); - if (!zipEntryFile.toPath().normalize().startsWith(base.toPath().normalize())) { - throw new IOException("Bad zip entry"); + if ( !zipEntryFile.toPath().normalize().startsWith( base.toPath().normalize() ) ) + { + throw new IOException( "Bad zip entry" ); } File target = zipEntryFile.getAbsoluteFile(); if ( je.isDirectory() )