Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
removed dead code
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1336927 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
hboutemy committed May 10, 2012
1 parent 709994c commit cd74367
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -620,11 +620,6 @@ private void addAlias( XStream xstreamObject, File jarFile, String packageFilter
JarEntry jarEntry = jarStream.getNextJarEntry(); JarEntry jarEntry = jarStream.getNextJarEntry();
while ( jarEntry != null ) while ( jarEntry != null )
{ {
if ( jarEntry == null )
{
break;
}

if ( jarEntry.getName().toLowerCase( Locale.ENGLISH ).endsWith( ".class" ) ) if ( jarEntry.getName().toLowerCase( Locale.ENGLISH ).endsWith( ".class" ) )
{ {
String name = jarEntry.getName().substring( 0, jarEntry.getName().indexOf( "." ) ); String name = jarEntry.getName().substring( 0, jarEntry.getName().indexOf( "." ) );
Expand Down

0 comments on commit cd74367

Please sign in to comment.