Ignore:
Timestamp:
03/23/15 13:36:46 (10 years ago)
Author:
sherbold
Message:
  • removed deprecated debugging outputs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtils.java

    r1929 r1930  
    6666import org.eclipse.uml2.uml.Property; 
    6767import org.eclipse.uml2.uml.Region; 
    68 import org.eclipse.uml2.uml.Relationship; 
    6968import org.eclipse.uml2.uml.Slot; 
    7069import org.eclipse.uml2.uml.StateMachine; 
     
    251250                                                          StateMachine stateMachine) 
    252251    { 
    253         System.out.println("foo"); 
    254252        List<List<Transition>> matchingSequences = 
    255253            determineMatchingTransitionSequences(sequence, stateMachine); 
    256         System.out.println(matchingSequences.size()); 
    257254 
    258255        if (matchingSequences.size() != 1) { 
     
    375372        for (Iterator<Event> eventIterator = sequence.iterator(); eventIterator.hasNext();) { 
    376373            Event event = eventIterator.next(); 
    377             System.out.println(event); 
    378             System.out.println(matchingSequences); 
    379374            if (matchingSequences == null) { 
    380375                matchingSequences = new LinkedList<>(); 
     
    783778                    CallEvent callEvent = (CallEvent) triggers.get(0).getEvent(); 
    784779                    String transitionMethod = callEvent.getOperation().getName(); 
    785  
    786                     Interface intface = callEvent.getOperation().getInterface(); 
    787                     for (Relationship relationship : intface.getRelationships()) { 
    788                         for (Element element : relationship.getRelatedElements()) { 
    789                             if (element instanceof Component) { 
    790  
    791                             } 
    792                         } 
    793                     } 
    794  
    795780                    String transitionService = 
    796781                        interfaceServiceMap.get(callEvent.getOperation().getInterface()); 
     782                     
    797783                    if (eventMethod.equals(transitionMethod) && 
    798784                        eventService.equals(transitionService)) 
     
    801787                    } 
    802788                } 
     789            } else { 
     790                throw new RuntimeException("only one trigger of type CallEvent per transition allowed: " + transition.getName()); 
    803791            } 
    804792 
Note: See TracChangeset for help on using the changeset viewer.