mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 566093 - CDT LSP: null-free functions to retrieve URL from IDocument
make ResolveDocumentUri final Change-Id: I06169d98f6af3b49595e4e8f6308c6aad790eaf7 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
This commit is contained in:
parent
f555015183
commit
786ae3ce2b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ import org.eclipse.jface.text.IDocument;
|
|||
import org.eclipse.lsp4e.LSPEclipseUtils;
|
||||
|
||||
@SuppressWarnings("restriction")
|
||||
public class ResolveDocumentUri implements Function<IDocument, Optional<URI>> {
|
||||
public final class ResolveDocumentUri implements Function<IDocument, Optional<URI>> {
|
||||
|
||||
@Override
|
||||
public Optional<URI> apply(IDocument document) {
|
||||
|
|
Loading…
Add table
Reference in a new issue