Revize e4db247a
Přidáno uživatelem stepanekp před asi 3 roky(ů)
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/detecting/detectors/TooLongSprintDetectorImpl.java | ||
---|---|---|
97 | 97 |
totalCountOfIteration++; |
98 | 98 |
if (!iterationLengths.containsKey("iterationLength") || iterationLengths.get("iterationLength") == null) |
99 | 99 |
continue; |
100 |
int iterationLength = ((Long) iterationLengths.get("iterationLength")).intValue();
|
|
100 |
int iterationLength = ((Number) iterationLengths.get("iterationLength")).intValue();
|
|
101 | 101 |
|
102 | 102 |
if (iterationLength > maxIterationLength) { |
103 | 103 |
numberOfLongIterations++; |
Také k dispozici: Unified diff
bug fix