Skip to content

Commit d632c48

Browse files
committed
format output
Signed-off-by: olivier lamy <olamy@apache.org>
1 parent 8793769 commit d632c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexus-java/src/main/java/org/codehaus/plexus/languages/java/jpms/LocationManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ private ResolvePathResult resolvePath( Path path, ModuleNameExtractor fileModule
331331
// either jar or outputDirectory
332332
if ( Files.isRegularFile( path ) && !path.getFileName().toString().endsWith( ".jar" ) )
333333
{
334-
throw new IllegalArgumentException( path.toString() + " not allowed on the path, only outputDirectories and jars are accepted" );
334+
throw new IllegalArgumentException( "'" + path.toString() + "' not allowed on the path, only outputDirectories and jars are accepted" );
335335
}
336336

337337
if ( Files.isRegularFile( path ) || Files.exists( path.resolve( "module-info.class" ) ) )

0 commit comments

Comments
 (0)