Skip to content

GEODE-6274: Removes CreateRegionCommand build warning#3078

Merged
jinmeiliao merged 1 commit intoapache:developfrom
Petahhh:GEODE-6274
Jan 16, 2019
Merged

GEODE-6274: Removes CreateRegionCommand build warning#3078
jinmeiliao merged 1 commit intoapache:developfrom
Petahhh:GEODE-6274

Conversation

@Petahhh
Copy link
Copy Markdown
Contributor

@Petahhh Petahhh commented Jan 15, 2019

Signed-off-by: Peter Tran ptran@pivotal.io

Thank you for submitting a contribution to Apache Geode.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • Is your initial contribution a single, squashed commit?

  • Does gradlew build run cleanly?

  • Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:

Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to dev@geode.apache.org.

@Petahhh
Copy link
Copy Markdown
Contributor Author

Petahhh commented Jan 15, 2019

Please comment @jdeppe-pivotal @pdxrunner @jinmeiliao when you can. Thank you!

return ResultModel.createError(String.format(
CliStrings.CREATE_REGION__MSG__COLOCATEDWITH_REGION_0_IS_NOT_PARTITIONEDREGION,
new String[] {prColocatedWith}));
(Object) prColocatedWith));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks like you have a failing test with this. It's much simpler to use String.format in this case.

Signed-off-by: Peter Tran <ptran@pivotal.io>
@jinmeiliao jinmeiliao merged commit 8cd574c into apache:develop Jan 16, 2019
@jinmeiliao jinmeiliao deleted the GEODE-6274 branch January 16, 2019 15:36
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.

4 participants