Author: manik.surtani(a)jboss.com
Date: 2007-10-15 09:55:29 -0400 (Mon, 15 Oct 2007)
New Revision: 4619
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/DataGravitatorInterceptor.java
Log:
Unnecessary null chk
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/DataGravitatorInterceptor.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/interceptors/DataGravitatorInterceptor.java 2007-10-15
13:53:42 UTC (rev 4618)
+++
core/trunk/src/main/java/org/jboss/cache/interceptors/DataGravitatorInterceptor.java 2007-10-15
13:55:29 UTC (rev 4619)
@@ -68,7 +68,7 @@
MethodCall m = ctx.getMethodCall();
if (log.isTraceEnabled()) log.trace("Invoked with method call " + m);
- if (MethodDeclarations.isBlockUnblockMethod(m.getMethodId()) ||
((ctx.getOptionOverrides() != null) &&
ctx.getOptionOverrides().isSkipDataGravitation()))
+ if (MethodDeclarations.isBlockUnblockMethod(m.getMethodId()) ||
ctx.getOptionOverrides().isSkipDataGravitation())
{
return super.invoke(ctx);
}
Show replies by date