Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Formatting

Ryan Kurtz6b94d4b69bf4
diff --git a/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/datastruct/PrivatelyQueuedListener.java b/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/datastruct/PrivatelyQueuedListener.java
index 7ef23cbe11..843022d9ae 100644
--- a/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/datastruct/PrivatelyQueuedListener.java
+++ b/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/datastruct/PrivatelyQueuedListener.java
@@ -32,16 +32,18 @@ public class PrivatelyQueuedListener<P> {
private ListenerErrorHandler errorHandler =
DataStructureErrorHandlerFactory.createListenerErrorHandler();
-protected class ListenerHandler implements InvocationHandler {
- private static final Method OBJECT_HASHCODE = initObjectHashCode();
+ protected class ListenerHandler implements InvocationHandler {
+ private static final Method OBJECT_HASHCODE = initObjectHashCode();
+
+ private static Method initObjectHashCode() {
+ try {
+ return Object.class.getMethod("hashCode");
+ }
+ catch (NoSuchMethodException | SecurityException e) {
+ throw new AssertionError(e);
+ }
+ }
- private static Method initObjectHashCode() {
- try {
- return Object.class.getMethod("hashCode");
- } catch (NoSuchMethodException | SecurityException e) {
- throw new AssertionError(e);
- }
- }
protected final Class<P> iface;
public ListenerHandler(Class<P> iface) {