SomeFire commented on a change in pull request #74: IGNITE-10275 Refactor of 
visa caching. Jira spam fix.
URL: https://github.com/apache/ignite-teamcity-bot/pull/74#discussion_r234602866
 
 

 ##########
 File path: 
ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/model/ContributionKey.java
 ##########
 @@ -17,23 +17,32 @@
 
 package org.apache.ignite.ci.web.model;
 
+import org.apache.ignite.ci.teamcity.ignited.IStringCompactor;
+
 /**
  *
  */
 public class ContributionKey {
     /** */
     public final String srvId;
 
-    /** */
-    public final String ticket;
-
     /** */
     public final String branchForTc;
 
     /** */
-    public ContributionKey(String srvId, String ticket, String branchForTc) {
+    public ContributionKey(String srvId, String branchForTc) {
         this.branchForTc = branchForTc;
         this.srvId = srvId;
-        this.ticket = ticket;
+    }
+
+    /** */
+    public ContributionKey(CompactContributionKey key, IStringCompactor 
strCompactor) {
+        this.branchForTc = strCompactor.getStringFromId(key.branchForTc);
+        this.srvId = strCompactor.getStringFromId(key.srvId);
+    }
+
+    /** */
 
 Review comment:
   ```suggestion
       /** {@inheritDoc} */
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to