Changeset 2234 for trunk


Ignore:
Timestamp:
12/08/17 09:42:38 (7 years ago)
Author:
pharms
Message:
 
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-http-test/src/test/java/de/ugoe/cs/autoquest/http/HTTPLogParserTest.java

    r2233 r2234  
    265265                File[] children = file.listFiles(); 
    266266                if (children != null) { 
    267                     for (File child : file.listFiles()) { 
     267                    for (File child : children) { 
    268268                        deleteFiles(child); 
    269269                    } 
  • trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/SOAPUtils.java

    r2212 r2234  
    833833            return true; 
    834834        } 
    835         if ((request != null && response == null) || (request == null && response != null)) { 
     835        else if ((request != null && response == null) || (request == null && response != null)) { 
    836836            return false; 
    837837        } 
    838         return request.getCallType().equals(CallType.REQUEST) && 
    839             response.getCallType().equals(CallType.RESPONSE) && 
    840             HTTPUtils.equals(request.getCalledMethod(), response.getCalledMethod()) && 
    841             HTTPUtils.equals(request.getServiceName(), response.getServiceName()) && 
    842             HTTPUtils.equals(request.getClientName(), response.getClientName()); 
     838        else { 
     839            return request.getCallType().equals(CallType.REQUEST) && 
     840                response.getCallType().equals(CallType.RESPONSE) && 
     841                HTTPUtils.equals(request.getCalledMethod(), response.getCalledMethod()) && 
     842                HTTPUtils.equals(request.getServiceName(), response.getServiceName()) && 
     843                HTTPUtils.equals(request.getClientName(), response.getClientName()); 
     844        } 
    843845    } 
    844846 
  • trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/commands/CMDcorrectDirOldJFC.java

    r2233 r2234  
    7272         
    7373        if (children != null) { 
    74             for (String filename : folder.list()) { 
     74            for (String filename : children) { 
    7575                String source = absolutPath + "/" + filename; 
    7676                String dest = absolutDestPath + "/" + filename; 
  • trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeChecker.java

    r1638 r2234  
    134134                         expected.getClass(), checked.getClass()); 
    135135             
    136             if ((expected != null) && (expected.size() > 0)) { 
     136            if (expected.size() > 0) { 
    137137                assertNotNull(expected.toString() + ": children not there", checked); 
    138138                assertEquals(expected.toString() + ": different number of children", 
Note: See TracChangeset for help on using the changeset viewer.