geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinmeil...@apache.org
Subject [geode] branch develop updated: GEODE-6274: Removes CreateRegionCommand build warning
Date Wed, 16 Jan 2019 15:36:58 GMT
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 <jdeppe@pivotal.io>
AuthorDate: Tue Jan 15 13:57:12 2019 -0500

    GEODE-6274: Removes CreateRegionCommand build warning
    
    Signed-off-by: Peter Tran <ptran@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));
       }
     }
 


Mime
View raw message