geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [27/50] [abbrv] incubator-geode git commit: GEODE-17: format changes after a review
Date Fri, 20 May 2016 17:10:52 GMT
GEODE-17: format changes after a review


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/fcd5491a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/fcd5491a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/fcd5491a

Branch: refs/heads/feature/GEODE-835
Commit: fcd5491a70e54d27f1fa6d57a95c91d2a5e51319
Parents: ec1415f
Author: Jinmei Liao <jiliao@pivotal.io>
Authored: Wed May 18 07:43:06 2016 -0700
Committer: Jinmei Liao <jiliao@pivotal.io>
Committed: Wed May 18 07:43:06 2016 -0700

----------------------------------------------------------------------
 .../gemstone/gemfire/distributed/internal/DistributionConfig.java | 3 +--
 .../gemfire/internal/security/shiro/GeodePermissionResolver.java  | 3 ++-
 .../internal/security/CacheServerMBeanShiroJUnitTest.java         | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/fcd5491a/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/DistributionConfig.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/DistributionConfig.java
b/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/DistributionConfig.java
index 36ef671..2dbb5c9 100644
--- a/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/DistributionConfig.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/DistributionConfig.java
@@ -52,8 +52,7 @@ import com.gemstone.gemfire.memcached.GemFireMemcachedServer;
  *
  * @since 2.1
  */
-public interface
-DistributionConfig extends Config, LogConfig {
+public interface DistributionConfig extends Config, LogConfig {
 
   ////////////////////  Instance Methods  ////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/fcd5491a/geode-core/src/main/java/com/gemstone/gemfire/internal/security/shiro/GeodePermissionResolver.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/internal/security/shiro/GeodePermissionResolver.java
b/geode-core/src/main/java/com/gemstone/gemfire/internal/security/shiro/GeodePermissionResolver.java
index d170756..44f6685 100644
--- a/geode-core/src/main/java/com/gemstone/gemfire/internal/security/shiro/GeodePermissionResolver.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/internal/security/shiro/GeodePermissionResolver.java
@@ -22,7 +22,8 @@ import org.apache.shiro.authz.permission.PermissionResolver;
 import org.apache.shiro.authz.permission.WildcardPermission;
 
 public class GeodePermissionResolver implements PermissionResolver {
-  @Override public Permission resolvePermission(final String permissionString) {
+  @Override
+  public Permission resolvePermission(final String permissionString) {
     return new WildcardPermission(permissionString, true);
   }
 }

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/fcd5491a/geode-core/src/test/java/com/gemstone/gemfire/management/internal/security/CacheServerMBeanShiroJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/com/gemstone/gemfire/management/internal/security/CacheServerMBeanShiroJUnitTest.java
b/geode-core/src/test/java/com/gemstone/gemfire/management/internal/security/CacheServerMBeanShiroJUnitTest.java
index 1c8586f..85a55a7 100644
--- a/geode-core/src/test/java/com/gemstone/gemfire/management/internal/security/CacheServerMBeanShiroJUnitTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/management/internal/security/CacheServerMBeanShiroJUnitTest.java
@@ -83,7 +83,7 @@ public class CacheServerMBeanShiroJUnitTest {
 
   @Test
   @JMXConnectionConfiguration(user = "dataReader", password = "12345")
-  public void ztestDataRead() throws Exception{
+  public void testDataRead() throws Exception{
     assertThatThrownBy(() -> bean.removeIndex("foo")).hasMessageContaining(TestCommand.dataManage.toString());
     assertThatThrownBy(() -> bean.fetchLoadProbe()).hasMessageContaining(TestCommand.clusterRead.toString());
     assertThatThrownBy(() -> bean.getActiveCQCount()).hasMessageContaining(TestCommand.clusterRead.toString());


Mime
View raw message