Repository: maven-resolver Updated Branches: refs/heads/master 839840590 -> c5aaff390
Small exception message alignments Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/cb775bb0 Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/cb775bb0 Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/cb775bb0 Branch: refs/heads/master Commit: cb775bb05b78ecb9710ad8f57e1960b9885ccc5f Parents: 8398405 Author: Michael Osipov <micha...@apache.org> Authored: Mon Nov 7 22:44:01 2016 +0100 Committer: Michael Osipov <micha...@apache.org> Committed: Mon Nov 7 22:44:01 2016 +0100 ---------------------------------------------------------------------- .../java/org/eclipse/aether/transport/file/FileTransporter.java | 2 +- .../aether/internal/transport/wagon/PlexusWagonConfigurator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/cb775bb0/maven-resolver-transport-file/src/main/java/org/eclipse/aether/transport/file/FileTransporter.java ---------------------------------------------------------------------- diff --git a/maven-resolver-transport-file/src/main/java/org/eclipse/aether/transport/file/FileTransporter.java b/maven-resolver-transport-file/src/main/java/org/eclipse/aether/transport/file/FileTransporter.java index 5c5cfa4..02286c8 100644 --- a/maven-resolver-transport-file/src/main/java/org/eclipse/aether/transport/file/FileTransporter.java +++ b/maven-resolver-transport-file/src/main/java/org/eclipse/aether/transport/file/FileTransporter.java @@ -109,7 +109,7 @@ final class FileTransporter String path = task.getLocation().getPath(); if ( path.contains( "../" ) ) { - throw new IllegalArgumentException( "Illegal resource path: " + path ); + throw new IllegalArgumentException( "illegal resource path: " + path ); } File file = new File( basedir, path ); if ( required && !file.exists() ) http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/cb775bb0/maven-resolver-transport-wagon/src/main/java/org/eclipse/aether/internal/transport/wagon/PlexusWagonConfigurator.java ---------------------------------------------------------------------- diff --git a/maven-resolver-transport-wagon/src/main/java/org/eclipse/aether/internal/transport/wagon/PlexusWagonConfigurator.java b/maven-resolver-transport-wagon/src/main/java/org/eclipse/aether/internal/transport/wagon/PlexusWagonConfigurator.java index 119bf94..94647c7 100644 --- a/maven-resolver-transport-wagon/src/main/java/org/eclipse/aether/internal/transport/wagon/PlexusWagonConfigurator.java +++ b/maven-resolver-transport-wagon/src/main/java/org/eclipse/aether/internal/transport/wagon/PlexusWagonConfigurator.java @@ -86,7 +86,7 @@ public class PlexusWagonConfigurator } else { - throw new IllegalArgumentException( "Unexpected configuration type: " + configuration.getClass().getName() ); + throw new IllegalArgumentException( "unexpected configuration type: " + configuration.getClass().getName() ); } WagonComponentConfigurator configurator = new WagonComponentConfigurator();