1
0
Fork 0
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:
Alexander Fedorov 2020-08-18 14:46:44 +03:00
parent f555015183
commit 786ae3ce2b

View file

@ -21,7 +21,7 @@ import org.eclipse.jface.text.IDocument;
import org.eclipse.lsp4e.LSPEclipseUtils; import org.eclipse.lsp4e.LSPEclipseUtils;
@SuppressWarnings("restriction") @SuppressWarnings("restriction")
public class ResolveDocumentUri implements Function<IDocument, Optional<URI>> { public final class ResolveDocumentUri implements Function<IDocument, Optional<URI>> {
@Override @Override
public Optional<URI> apply(IDocument document) { public Optional<URI> apply(IDocument document) {