Skip to content

Commit e2f6f4c

Browse files
committed
[MDEP-651] Tweaks in warning message
1 parent 9b09808 commit e2f6f4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/codehaus/plexus/archiver/AbstractUnArchiver.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ protected void extractFile( final File srcF, final File dir, final InputStream c
345345
{
346346
if ( f.exists() && !StringUtils.equalsIgnoreCase( entryName, canonicalDestPath ) )
347347
{
348-
String message = String.format( "Archive entry %s and existing file %s names differ only by case."
349-
+ " This may cause issues on case insensitive file systems.", entryName, canonicalDestPath );
348+
String message = String.format( "Archive entry '%s' and existing file '%s' names differ only by case."
349+
+ " This may cause issues on case-insensitive filesystems.", entryName, canonicalDestPath );
350350
getLogger().warn( message );
351351
if ( !isOverwrite() ) {
352352
return;

0 commit comments

Comments
 (0)