Removing a Audit violation git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270883 13f79535-47bb-0310-9956-ffa450edef68master
@@ -26,7 +26,6 @@ final class ValidatorErrorHandler | |||||
implements ErrorHandler | implements ErrorHandler | ||||
{ | { | ||||
private File m_file; | private File m_file; | ||||
private String m_lastErrorMessage; | |||||
private boolean m_failed; | private boolean m_failed; | ||||
private final boolean m_warn; | private final boolean m_warn; | ||||
@@ -37,7 +37,6 @@ public class ATIProjectBuilder | |||||
ResourceManager.getPackageResources( ATIProjectBuilder.class ); | ResourceManager.getPackageResources( ATIProjectBuilder.class ); | ||||
private Parameters m_parameters; | private Parameters m_parameters; | ||||
private URL m_systemID; | |||||
public void parameterize( final Parameters parameters ) | public void parameterize( final Parameters parameters ) | ||||
{ | { | ||||
@@ -56,17 +56,19 @@ public class AspectAwareExecutor | |||||
} | } | ||||
catch( final TaskException te ) | catch( final TaskException te ) | ||||
{ | { | ||||
if( false == getAspectManager().error( te ) ) | |||||
final boolean isError = getAspectManager().error( te ); | |||||
if( !isError ) | |||||
{ | { | ||||
throw te; | throw te; | ||||
} | } | ||||
} | } | ||||
} | } | ||||
private void executeTask( Configuration taskModel, final ExecutionFrame frame ) | |||||
private void executeTask( final Configuration model, | |||||
final ExecutionFrame frame ) | |||||
throws TaskException | throws TaskException | ||||
{ | { | ||||
taskModel = getAspectManager().preCreate( taskModel ); | |||||
Configuration taskModel = getAspectManager().preCreate( model ); | |||||
taskModel = prepareAspects( taskModel ); | taskModel = prepareAspects( taskModel ); | ||||
debug( "creating.notice" ); | debug( "creating.notice" ); | ||||
@@ -245,7 +247,6 @@ public class AspectAwareExecutor | |||||
else | else | ||||
{ | { | ||||
final String namespace = name.substring( 0, index ); | final String namespace = name.substring( 0, index ); | ||||
final String localName = name.substring( index + 1 ); | |||||
final ArrayList elementSet = getElements( namespace, map ); | final ArrayList elementSet = getElements( namespace, map ); | ||||
elementSet.add( elements[ i ] ); | elementSet.add( elements[ i ] ); | ||||
} | } | ||||
@@ -17,8 +17,6 @@ import org.apache.avalon.framework.ExceptionUtil; | |||||
public final class ClassicProjectListener | public final class ClassicProjectListener | ||||
extends AbstractProjectListener | extends AbstractProjectListener | ||||
{ | { | ||||
private String m_prefix; | |||||
/** | /** | ||||
* Notify listener of targetStarted event. | * Notify listener of targetStarted event. | ||||
* | * | ||||