Skip to content

Adds deprecated decorate method to preserve backwards compatibility#313

Merged
asfgit merged 1 commit intoapache:masterfrom
grkvlt:add-deprecated-decorate-method
Aug 31, 2016
Merged

Adds deprecated decorate method to preserve backwards compatibility#313
asfgit merged 1 commit intoapache:masterfrom
grkvlt:add-deprecated-decorate-method

Conversation

@grkvlt
Copy link
Copy Markdown
Member

@grkvlt grkvlt commented Aug 31, 2016

Adds #decorate(EntitySpec<?>, ConfigBag) as an overloaded deprecated method in BrooklynEntityDecorationResolver class, for backwards compatibility.

See cloudsoft/brooklyn-tosca#113


/** @deprected since 0.10.0 - use {@link #decorate(EntitySpec<?>, ConfigBag, Set<String>)} */
@Deprecated
public abstract void decorate(EntitySpec<?> entitySpec, ConfigBag attrs);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this public final not abstract with the implementation passing the empty ImmutableSet ?

@ahgittin
Copy link
Copy Markdown
Contributor

one tweak then good to merge

@grkvlt grkvlt force-pushed the add-deprecated-decorate-method branch from 886538c to 7d50ae1 Compare August 31, 2016 00:33
@asfgit asfgit merged commit 7d50ae1 into apache:master Aug 31, 2016
asfgit pushed a commit that referenced this pull request Aug 31, 2016
@grkvlt grkvlt deleted the add-deprecated-decorate-method branch August 31, 2016 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants