for ( i = 0 ; i < GetNodeOutPortsSize() ; i++ ) {
GraphBase::InPort * anInPort ;
anInPort = CoupledNode()->GetChangeInPort( GetNodeOutPort( i )->PortName() ) ;
-//JR 09.02.2005 Debug : Change except if it is the DefaultPort
- if ( anInPort && !anInPort->IsGate() ) {
+//JR 16.02.2005 Debug : Change InPorts of EndSwitchNode that have the same name as an OutPort of
+// the SwitchNode even if it is the DefaultPort : GraphSwitchCheckDefault1.xml
+// if ( anInPort && !anInPort->IsGate() ) {
+ if ( anInPort && anInPort->GetOutPort() ) {
cdebug << "OutParametersSet " << Name() << " " << anInPort->NodeName() << "( "
<< anInPort->PortName() << " ) linked from " << anInPort->GetOutPort()->NodeName()
<< "( " << anInPort->GetOutPort()->PortName() << " ) CHANGED TO linked from "