You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by sv...@apache.org on 2020/03/16 07:04:10 UTC

[wicket] branch master updated: WICKET-6755 clean up

This is an automated email from the ASF dual-hosted git repository.

svenmeier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
     new 797fd35  WICKET-6755 clean up
797fd35 is described below

commit 797fd3596c5cc825979b8f470c42347980fb5de8
Author: Sven Meier <sv...@apache.org>
AuthorDate: Mon Mar 16 08:03:14 2020 +0100

    WICKET-6755 clean up
---
 .../java/org/apache/wicket/protocol/http/mock/MockServletContext.java    | 1 -
 1 file changed, 1 deletion(-)

diff --git a/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockServletContext.java b/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockServletContext.java
index 8fc4522..ee4786c 100755
--- a/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockServletContext.java
+++ b/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockServletContext.java
@@ -409,7 +409,6 @@ public class MockServletContext implements ServletContext
 		try {
 			URL url = getResource(name);
 			if (url != null) {
-				url.getFile();
 				// WICKET-6755 do not use url.getFile() as it does not properly decode the path
 				return new File(url.toURI()).getAbsolutePath();
 			}