From 3ff50d2d3a6f86e9de6db8365603510d9f04d658 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 30 Dec 2005 04:56:52 +0000 Subject: [PATCH] more reformatting git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359988 13f79535-47bb-0310-9956-ffa450edef68 --- .../discovery/DefaultMetadataDiscoverer.java | 3 +-- .../reporting/LocationArtifactReportProcessor.java | 10 ++++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java b/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java index 14f4d6d1d..14acf5d37 100644 --- a/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java +++ b/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java @@ -69,8 +69,7 @@ public class DefaultMetadataDiscoverer for ( int i = 0; i < metadataPaths.length; i++ ) { - RepositoryMetadata metadata = buildMetadata( repositoryBase - .getPath(), metadataPaths[i] ); + RepositoryMetadata metadata = buildMetadata( repositoryBase.getPath(), metadataPaths[i] ); if ( metadata != null ) { diff --git a/maven-repository-reports-standard/src/main/java/org/apache/maven/repository/reporting/LocationArtifactReportProcessor.java b/maven-repository-reports-standard/src/main/java/org/apache/maven/repository/reporting/LocationArtifactReportProcessor.java index fa5b847f6..e2cfb4c91 100644 --- a/maven-repository-reports-standard/src/main/java/org/apache/maven/repository/reporting/LocationArtifactReportProcessor.java +++ b/maven-repository-reports-standard/src/main/java/org/apache/maven/repository/reporting/LocationArtifactReportProcessor.java @@ -107,16 +107,14 @@ public class LocationArtifactReportProcessor } else if ( fsPomLocation == false && pkgPomLocation == true ) { - reporter - .addFailure( artifact, - "The artifact is out of place. It does not match the specified location in the file system pom." ); + reporter.addFailure( artifact, + "The artifact is out of place. It does not match the specified location in the file system pom." ); } else if ( fsPomLocation == true && pkgPomLocation == false ) { - reporter - .addFailure( artifact, - "The artifact is out of place. It does not match the specified location in the packaged pom." ); + reporter.addFailure( artifact, + "The artifact is out of place. It does not match the specified location in the packaged pom." ); } else if ( fsPomLocation == false && pkgPomLocation == false ) -- 2.39.5