Merge fixes newtest-detection-fix 143/head
authorDmitriy Pavlov <dpavlov@apache.org>
Mon, 5 Aug 2019 14:20:54 +0000 (17:20 +0300)
committerDmitriy Pavlov <dpavlov@apache.org>
Mon, 5 Aug 2019 14:20:54 +0000 (17:20 +0300)
tcbot-teamcity-ignited/src/main/java/org/apache/ignite/ci/teamcity/ignited/runhist/InvocationData.java
tcbot-teamcity-ignited/src/main/java/org/apache/ignite/ci/teamcity/ignited/runhist/RunHistCompacted.java

index 259158861f50b921ac83a8fba65bd3aa3910dbfd..cd4a46658d7cce177fa6c2d28312f8f9fe1b4d1f 100644 (file)
@@ -131,7 +131,7 @@ public class InvocationData {
     }
 
     public void registerMissing(Integer testId, Set<Integer> suiteBuildIds) {
-        Set<Integer> idsPresent = getBuildIds();
+        Set<Integer> idsPresent = buildIds();
         HashSet<Integer> toAdd = new HashSet<>(suiteBuildIds);
         toAdd.removeAll(idsPresent);
 
index ba56d3b81cc7c91fc86a66ee226694af6a28623c..56190807e401bd710fa731022841d47ee5a5700a 100644 (file)
@@ -113,8 +113,8 @@ public class RunHistCompacted implements IRunHistory {
         return data.criticalFailuresCount();
     }
 
-    @Override
-    public Set<Integer> buildIds() {
+    /** {@inheritDoc} */
+    @Override public Set<Integer> buildIds() {
         return data.buildIds();
     }
 
@@ -223,10 +223,6 @@ public class RunHistCompacted implements IRunHistory {
         data.sort();
     }
 
-    public Set<Integer> buildIds() {
-        return data.getBuildIds();
-    }
-
     public void registerMissing(Integer testId, Set<Integer> buildIds) {
         data.registerMissing(testId, buildIds);
     }