From a41662c1136b2bb4a4198df89e0e87d2be3ef099 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 16 Jul 2015 14:57:56 +0000
Subject: [PATCH] AutoRefactor'ed simplify expressions
---
opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileStackFrame.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileStackFrame.java b/opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileStackFrame.java
index d8f0f8f..d6b9c9a 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileStackFrame.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileStackFrame.java
@@ -231,7 +231,7 @@
*/
public boolean hasSubFrames()
{
- return (! subordinateFrames.isEmpty());
+ return !subordinateFrames.isEmpty();
}
@@ -280,7 +280,7 @@
}
stackMap.put(stack, count);
- subFrame.recurseSubFrames(stack, (depth-1), count, stacksByMethod);
+ subFrame.recurseSubFrames(stack, depth-1, count, stacksByMethod);
}
@@ -294,7 +294,7 @@
@Override
public int hashCode()
{
- return (className.hashCode() + methodName.hashCode());
+ return className.hashCode() + methodName.hashCode();
}
@@ -324,7 +324,7 @@
try
{
ProfileStackFrame f = (ProfileStackFrame) o;
- return (className.equals(f.className) && methodName.equals(f.methodName));
+ return className.equals(f.className) && methodName.equals(f.methodName);
}
catch (Exception e)
{
@@ -342,7 +342,7 @@
* occurrences, with an equivalent number of occurrences falling back on
* alphabetical by class and method names.
*
- * @param o The objectfor which to make the comparison.
+ * @param o The object for which to make the comparison.
*
* @return A negative integer if this stack frame should come before the
* provided object in a sorted list, a positive integer if it should
--
Gitblit v1.10.0