From 54783affda53cae9b1b831afe9e111bf1472ddda Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Wed, 11 Jun 2014 22:31:55 +0400 Subject: [PATCH] EA-52085 (diagnostic) --- .../src/com/intellij/util/messages/impl/MessageBusImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/util/src/com/intellij/util/messages/impl/MessageBusImpl.java b/platform/util/src/com/intellij/util/messages/impl/MessageBusImpl.java index ba7b35024eb9..3875dcd96ef2 100644 --- a/platform/util/src/com/intellij/util/messages/impl/MessageBusImpl.java +++ b/platform/util/src/com/intellij/util/messages/impl/MessageBusImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2012 JetBrains s.r.o. + * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,7 +76,6 @@ public class MessageBusImpl implements MessageBus { private MessageBusImpl myParentBus; //is used for debugging purposes - @SuppressWarnings({"UnusedDeclaration", "FieldCanBeLocal"}) private final Object myOwner; private boolean myDisposed; @@ -222,7 +221,7 @@ public class MessageBusImpl implements MessageBus { } private void checkNotDisposed() { - LOG.assertTrue(!myDisposed, "Already disposed"); + LOG.assertTrue(!myDisposed, "Already disposed: " + myOwner); } private void calcSubscribers(Topic topic, List result) {