You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/07/27 19:34:24 UTC
svn commit: r680155 -
/maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenITmng3599useHttpProxyForWebDAV.java
Author: bentmann
Date: Sun Jul 27 10:34:24 2008
New Revision: 680155
URL: http://svn.apache.org/viewvc?rev=680155&view=rev
Log:
o Restored Java 1.4 compat
Modified:
maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenITmng3599useHttpProxyForWebDAV.java
Modified: maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenITmng3599useHttpProxyForWebDAV.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenITmng3599useHttpProxyForWebDAV.java?rev=680155&r1=680154&r2=680155&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenITmng3599useHttpProxyForWebDAV.java (original)
+++ maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenITmng3599useHttpProxyForWebDAV.java Sun Jul 27 10:34:24 2008
@@ -73,7 +73,7 @@
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3599-useHttpProxyForWebDAV" );
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" );
FileUtils.fileWrite( new File( testDir, "settings.xml" ).getAbsolutePath(), newSettings );
Re: svn commit: r680155 - /maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenITmng3599useHttpProxyForWebDAV.java
Posted by Benjamin Bentmann <be...@udo.edu>.
Brett Porter wrote:
> thanks - beat me to it :)
;-)
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: svn commit: r680155 - /maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenITmng3599useHttpProxyForWebDAV.java
Posted by Brett Porter <br...@apache.org>.
thanks - beat me to it :)
On 28/07/2008, at 3:34 AM, bentmann@apache.org wrote:
> Author: bentmann
> Date: Sun Jul 27 10:34:24 2008
> New Revision: 680155
>
> URL: http://svn.apache.org/viewvc?rev=680155&view=rev
> Log:
> o Restored Java 1.4 compat
>
> Modified:
> maven/core-integration-testing/trunk/core-integration-tests/src/
> test/java/org/apache/maven/integrationtests/
> MavenITmng3599useHttpProxyForWebDAV.java
>
> Modified: maven/core-integration-testing/trunk/core-integration-
> tests/src/test/java/org/apache/maven/integrationtests/
> MavenITmng3599useHttpProxyForWebDAV.java
> URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenITmng3599useHttpProxyForWebDAV.java?rev=680155&r1=680154&r2=680155&view=diff
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- maven/core-integration-testing/trunk/core-integration-tests/src/
> test/java/org/apache/maven/integrationtests/
> MavenITmng3599useHttpProxyForWebDAV.java (original)
> +++ maven/core-integration-testing/trunk/core-integration-tests/src/
> test/java/org/apache/maven/integrationtests/
> MavenITmng3599useHttpProxyForWebDAV.java Sun Jul 27 10:34:24 2008
> @@ -73,7 +73,7 @@
> {
> File testDir =
> ResourceExtractor.simpleExtractResources( getClass(), "/mng-3599-
> useHttpProxyForWebDAV" );
> 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" );
> FileUtils.fileWrite( new File( testDir,
> "settings.xml" ).getAbsolutePath(), newSettings );
>
>
>
--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org