You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2019/01/16 15:36:58 UTC

[geode] branch develop updated: GEODE-6274: Removes CreateRegionCommand build warning

This is an automated email from the ASF dual-hosted git repository.

jinmeiliao pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 8cd574c  GEODE-6274: Removes CreateRegionCommand build warning
8cd574c is described below

commit 8cd574cd6b886b59200a68c2e109b1333523a124
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Tue Jan 15 13:57:12 2019 -0500

    GEODE-6274: Removes CreateRegionCommand build warning
    
    Signed-off-by: Peter Tran <pt...@pivotal.io>
---
 .../geode/management/internal/cli/commands/CreateRegionCommand.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CreateRegionCommand.java b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CreateRegionCommand.java
index b305d3d..e752d8a 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CreateRegionCommand.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CreateRegionCommand.java
@@ -245,7 +245,7 @@ public class CreateRegionCommand extends SingleGfshCommand {
           !colocatedRegionBean.getRegionType().equals("PERSISTENT_PARTITION")) {
         return ResultModel.createError(CliStrings.format(
             CliStrings.CREATE_REGION__MSG__COLOCATEDWITH_REGION_0_IS_NOT_PARTITIONEDREGION,
-            new String[] {prColocatedWith}));
+            (Object) prColocatedWith));
       }
     }