o Restored Java 1.4 compat

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@680155 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2008-07-27 17:34:24 +00:00
parent 18269faa00
commit 793b39e908
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class MavenITmng3599useHttpProxyForWebDAV
{ {
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3599-useHttpProxyForWebDAV" ); File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3599-useHttpProxyForWebDAV" );
String settings = FileUtils.fileRead( new File( testDir, "settings.xml.template" ) ); String settings = FileUtils.fileRead( new File( testDir, "settings.xml.template" ) );
settings = StringUtils.replace( settings, "@port@", Integer.valueOf( port ).toString() ); settings = StringUtils.replace( settings, "@port@", Integer.toString( port ) );
String newSettings = StringUtils.replace( settings, "@protocol@", "http" ); String newSettings = StringUtils.replace( settings, "@protocol@", "http" );
FileUtils.fileWrite( new File( testDir, "settings.xml" ).getAbsolutePath(), newSettings ); FileUtils.fileWrite( new File( testDir, "settings.xml" ).getAbsolutePath(), newSettings );