PT 162742296 - Remove per-section separators for RM and Conditionals

For now, remove separation to make all live hovers consistent (for
example, live beans do not have separation, and there is no separation
between our live hovers and JDT)
This commit is contained in:
nsingh@pivotal.io
2019-01-04 05:01:16 -08:00
parent 108e83e138
commit a77433d15c
2 changed files with 2 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2017, 2018 Pivotal, Inc.
* Copyright (c) 2017, 2019 Pivotal, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -119,10 +119,6 @@ public class ConditionalsLiveHoverProvider implements HoverProvider {
LiveConditional conditional = conditionals.get(i);
hoverContent.add(Either.forLeft(conditional.getMessage()));
hoverContent.add(Either.forLeft(LiveHoverUtils.niceAppName(conditional.getProcessId(), conditional.getProcessName())));
if (i < conditionals.size() - 1) {
hoverContent.add(Either.forLeft("---"));
}
}
}

View File

@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2017, 2018 Pivotal, Inc.
* Copyright (c) 2017, 2019 Pivotal, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -284,11 +284,6 @@ public class RequestMappingHoverProvider implements HoverProvider {
Renderables.lineBreak(),
Renderables.mdBlob(LiveHoverUtils.niceAppName(app))
).toMarkdown()));
if (i < mappingMethods.size() - 1) {
// Three dashes == line separator in Markdown
hoverContent.add(Either.forLeft("---"));
}
}
}