From 4d7b4bf13faca89acb9e76cc773f0b6a306264bb Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 17 Aug 2022 14:30:08 +0000 Subject: [PATCH] Bumping versions --- .../cloud/contract/stubrunner/util/ZipCategory.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/util/ZipCategory.java b/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/util/ZipCategory.java index 7340e75f54..40dba8d898 100644 --- a/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/util/ZipCategory.java +++ b/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/util/ZipCategory.java @@ -68,13 +68,13 @@ public final class ZipCategory { if (!entry.isDirectory()) { final File destinationFile = new File(destination, entry.getName()); /* - * If we see the relative traversal string of ".." we need to make sure - * that the outputdir + name doesn't leave the outputdir. + * If we see the relative traversal string of ".." we need to make + * sure that the outputdir + name doesn't leave the outputdir. */ String zipEntryName = entry.getName(); if (!destinationFile.toPath().normalize().startsWith(destination.toPath())) { - throw new ZipException("The file " + zipEntryName + - " is trying to leave the target output directory of " + destination); + throw new ZipException("The file " + zipEntryName + + " is trying to leave the target output directory of " + destination); } if (destinationFile.getParentFile() != null) { destinationFile.getParentFile().mkdirs();