You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by "Robert Douglas (JIRA)" <ji...@apache.org> on 2014/09/23 18:58:33 UTC

[jira] [Created] (STREAMS-182) AbstractRegexExtensionExtractor needs to fix memory reference issue

Robert Douglas created STREAMS-182:
--------------------------------------

             Summary: AbstractRegexExtensionExtractor needs to fix memory reference issue
                 Key: STREAMS-182
                 URL: https://issues.apache.org/jira/browse/STREAMS-182
             Project: Streams
          Issue Type: Bug
            Reporter: Robert Douglas


The ensureTargetObject function in AbstractRegexExtensionExtractor does not always ensure that the collection it returns is the collection that was originally pointed to by the extensionKey.

once the hashtags set has been created (either via Sets.newHashSet((Iterable<T>) extensions.get(extensionKey)) or Sets.newHashSet() depending on if it was already present) then it needs to be reassigned to the extensionKey. This will make sure that any modifications to the hashtags Set will be reflected in the final Activity Object



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)