typo
authorEgor.Ushakov <egor.ushakov@jetbrains.com>
Thu, 10 Mar 2016 08:17:43 +0000 (11:17 +0300)
committerEgor.Ushakov <egor.ushakov@jetbrains.com>
Thu, 10 Mar 2016 08:17:43 +0000 (11:17 +0300)
java/debugger/impl/src/com/intellij/debugger/engine/evaluation/CodeFragmentFactoryContextWrapper.java

index 1012a7f2a793ea36b7b6101e44a940f96c5366aa..6183d59f03c4e29dd8d27af5ffbf5c96779066a6 100644 (file)
@@ -88,7 +88,7 @@ public class CodeFragmentFactoryContextWrapper extends CodeFragmentFactory {
       XValueMarkers<?, ?> markers = ((XDebugSessionImpl)session).getValueMarkers();
       Map<?, ValueMarkup> markupMap = markers != null ? markers.getAllMarkers() : null;
       //final Map<ObjectReference, ValueMarkup> markupMap = ValueDescriptorImpl.getMarkupMap(process);
-      if (ContainerUtil.isEmpty(markupMap)) {
+      if (!ContainerUtil.isEmpty(markupMap)) {
         final Pair<String, Map<String, ObjectReference>> markupVariables = createMarkupVariablesText(markupMap);
         int offset = markupVariables.getFirst().length() - 1;
         final TextWithImportsImpl textWithImports = new TextWithImportsImpl(CodeFragmentKind.CODE_BLOCK, markupVariables.getFirst(), "", myDelegate.getFileType());