Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

[Softlayer] Implements setting and retrieving the notes property #756

Closed
wants to merge 1 commit into from

Conversation

neykov
Copy link
Member

@neykov neykov commented May 28, 2015

No description provided.

@neykov neykov force-pushed the sl-notes branch 5 times, most recently from 6c9b19b to 8a9ae16 Compare June 1, 2015 12:41
private final Json json;

@Inject
public NotesToJson(Json json) {
Copy link
Member

Choose a reason for hiding this comment

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

Remove the modifier to make the constructor package private, and remove the null check.

@neykov
Copy link
Member Author

neykov commented Jun 3, 2015

Addressed part of the comments, waiting for input on the rest.

@nacx
Copy link
Member

nacx commented Jun 5, 2015

I've just commented on the remaining bits. Also take #763 into account when rebasing, just in case Andrea merges that PR first, as it seems to overlap with some of your changes.

@neykov
Copy link
Member Author

neykov commented Jun 9, 2015

Addressed comments. To set notes in SL the user should use notes property in user metadata.


@Inject
NotesToJson(Json json) {
this.json = checkNotNull(json, "json");
Copy link
Member

Choose a reason for hiding this comment

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

Once the constructor is only visible to the injector, the null check is redundant (the injector already checks nulls). Remove it.

@nacx
Copy link
Member

nacx commented Jun 9, 2015

Just a couple minors and one comment left. Apart from that lgtm. Thanks @neykov! Mind squashing the commits into a single one when addressing the changes so I can cleanly merge it?

@neykov
Copy link
Member Author

neykov commented Jun 10, 2015

Addressed comments and squashed into a single commit.

@nacx
Copy link
Member

nacx commented Jun 10, 2015

Almost there! :) It looks that there is a test failing now. Mind fixing it?

@neykov
Copy link
Member Author

neykov commented Jun 10, 2015

Looking good now :)

@nacx
Copy link
Member

nacx commented Jun 11, 2015

Pushed to master and 1.9.x. Thanks @neykov!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants