summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdwin L. Punzalan <epunzalan@apache.org>2006-03-16 03:17:52 +0000
committerEdwin L. Punzalan <epunzalan@apache.org>2006-03-16 03:17:52 +0000
commiteab4cc78192559a0bc6bfcdb0a79f0ce23fafe7e (patch)
treeba445fdf3e61d0191a00e7b615d533b076bd2e6c
parent859145b3df7bf6820b5bafa290b71c990936dfe7 (diff)
downloadarchiva-eab4cc78192559a0bc6bfcdb0a79f0ce23fafe7e.tar.gz
archiva-eab4cc78192559a0bc6bfcdb0a79f0ce23fafe7e.zip
Applied code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@386246 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java9
-rw-r--r--maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoader.java3
-rw-r--r--maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java3
-rw-r--r--maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoaderTest.java3
4 files changed, 9 insertions, 9 deletions
diff --git a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java
index a533b79ef..bb9c4d76f 100644
--- a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java
+++ b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java
@@ -43,11 +43,11 @@ import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.security.NoSuchAlgorithmException;
+import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
-import java.util.ArrayList;
/**
* @author Edwin Punzalan
@@ -200,8 +200,8 @@ public class DefaultProxyManager
{
if ( checkIfFailureCached( repository.pathOf( artifact ), repository ) )
{
- getLogger().debug( "Skipping repository " + repository.getKey() +
- " for a cached path failure." );
+ getLogger().debug(
+ "Skipping repository " + repository.getKey() + " for a cached path failure." );
}
else
{
@@ -360,8 +360,7 @@ public class DefaultProxyManager
if ( checkIfFailureCached( path, repository ) )
{
- getLogger().debug( "Skipping repository " + repository.getKey() +
- " for a cached path failure." );
+ getLogger().debug( "Skipping repository " + repository.getKey() + " for a cached path failure." );
}
else
{
diff --git a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoader.java b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoader.java
index 5de33d295..71c76db85 100644
--- a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoader.java
+++ b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoader.java
@@ -96,7 +96,8 @@ public class MavenProxyPropertyLoader
String url = getMandatoryProperty( props, "repo." + key + ".url" );
String proxyKey = repoProps.getProperty( "proxy" );
- boolean cacheFailures = Boolean.valueOf( repoProps.getProperty( "cache.failures", "false" ) ).booleanValue();
+ boolean cacheFailures =
+ Boolean.valueOf( repoProps.getProperty( "cache.failures", "false" ) ).booleanValue();
boolean hardFail = Boolean.valueOf( repoProps.getProperty( "hardfail", "true" ) ).booleanValue();
long cachePeriod = Long.parseLong( repoProps.getProperty( "cache.period", "0" ) );
diff --git a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java
index 3ec4e1c2c..c7aae0c8b 100644
--- a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java
+++ b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java
@@ -83,7 +83,8 @@ public class ProxyConfiguration
httpProxy.setPassword( password );
}
- public void setHttpProxy( String host, int port, String username, String password, String ntlmHost, String ntlmDomain )
+ public void setHttpProxy( String host, int port, String username, String password, String ntlmHost,
+ String ntlmDomain )
{
setHttpProxy( host, port );
httpProxy.setUserName( username );
diff --git a/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoaderTest.java b/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoaderTest.java
index b64ba8eea..404aed04a 100644
--- a/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoaderTest.java
+++ b/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/configuration/MavenProxyPropertyLoaderTest.java
@@ -62,8 +62,7 @@ public class MavenProxyPropertyLoaderTest
{
case 1:
assertEquals( "Repository name not as expected", "local-repo", repo.getKey() );
- assertEquals( "Repository url does not match its name", "file://target",
- repo.getUrl() );
+ assertEquals( "Repository url does not match its name", "file://target", repo.getUrl() );
assertEquals( "Repository cache period check failed", 0, repo.getCachePeriod() );
assertFalse( "Repository failure caching check failed", repo.isCacheFailures() );
break;