~tritone-team/tritone/eucalyptus

« back to all changes in this revision

Viewing changes to clc/modules/wsstack/src/main/java/com/eucalyptus/ws/util/PipelineRegistry.java

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2009-12-01 21:09:28 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: james.westby@ubuntu.com-20091201210928-o2dvg0ubljhb0ft6
Tags: upstream-1.6.1~bzr1083
ImportĀ upstreamĀ versionĀ 1.6.1~bzr1083

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
import org.apache.log4j.Logger;
70
70
import org.jboss.netty.handler.codec.http.HttpRequest;
71
71
 
 
72
import com.eucalyptus.util.DebugUtil;
72
73
import com.eucalyptus.ws.server.DuplicatePipelineException;
73
74
import com.eucalyptus.ws.server.FilteredPipeline;
74
75
import com.eucalyptus.ws.server.NoAcceptingPipelineException;
101
102
    FilteredPipeline candidate = null;
102
103
    for ( FilteredPipeline f : this.pipelines) {
103
104
      if ( f.accepts( request ) ) {
104
 
        if ( candidate != null ) {
 
105
        if( !DebugUtil.DEBUG ) {
 
106
          return f;
 
107
        } else if ( candidate != null ) {
105
108
          LOG.debug( EventRecord.here( this.getClass(), EventType.PIPELINE_DUPLICATE, f.getPipelineName( ), f.getClass( ).getSimpleName( ) ) );
106
109
        } else {
107
110
          candidate = f;