Ignore:
Timestamp:
02/15/13 16:03:56 (11 years ago)
Author:
pharms
Message:
  • prevented findbugs warnings
File:
1 edited

Legend:

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

    r1009 r1079  
    198198                else{ 
    199199                        Map<String, String> idProperties = extractIDProperties(spec); 
    200                         for (String property: idProperties.keySet()){ 
    201                                 String value = idProperties.get(property); 
     200                        for (Map.Entry<String, String> property : idProperties.entrySet()) { 
     201                                String value = property.getValue(); 
    202202                                if (!value.equals("null")){ 
    203                                         hashcode = prime * hashcode + property.hashCode(); 
     203                                        hashcode = prime * hashcode + property.getKey().hashCode(); 
    204204                                        hashcode = prime * hashcode + value.hashCode(); 
    205205                                } 
Note: See TracChangeset for help on using the changeset viewer.