statemachine/src/main/java/com/amazonaws/stepfunctions/cloudformation/statemachine/TaggingHelper.java [85:98]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public static void updateTags(String resourceArn,
                                  Set<Tag> previousTags,
                                  Set<Tag> currentTags,
                                  AmazonWebServicesClientProxy proxy,
                                  AWSStepFunctions client) {
        Set<Tag> tagsToAdd = Sets.difference(currentTags, previousTags);
        Set<Tag> tagsToRemove = Sets.difference(previousTags, currentTags);
        if (!tagsToRemove.isEmpty()) {
            removeTags(resourceArn, tagsToRemove, proxy, client);
        }
        if (!tagsToAdd.isEmpty()) {
            addTags(resourceArn, tagsToAdd, proxy, client);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



activity/src/main/java/com/amazonaws/stepfunctions/cloudformation/activity/TaggingHelper.java [85:98]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public static void updateTags(String resourceArn,
                                  Set<Tag> previousTags,
                                  Set<Tag> currentTags,
                                  AmazonWebServicesClientProxy proxy,
                                  AWSStepFunctions client) {
        Set<Tag> tagsToAdd = Sets.difference(currentTags, previousTags);
        Set<Tag> tagsToRemove = Sets.difference(previousTags, currentTags);
        if (!tagsToRemove.isEmpty()) {
            removeTags(resourceArn, tagsToRemove, proxy, client);
        }
        if (!tagsToAdd.isEmpty()) {
            addTags(resourceArn, tagsToAdd, proxy, client);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



