Skip to content

Commit

Permalink
Remove extra logging (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking authored Jan 19, 2024
1 parent d498515 commit d2319e9
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2020, 2022 IBM Corporation and others.
* Copyright (c) 2020, 2024 IBM Corporation and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
Expand All @@ -13,12 +13,7 @@
package io.openliberty.tools.langserver.ls;

import java.util.List;
import java.util.logging.Logger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.eclipse.lsp4j.Position;
import org.eclipse.lsp4j.Range;
import org.eclipse.lsp4j.TextDocumentContentChangeEvent;
import org.eclipse.lsp4j.TextDocumentItem;

Expand All @@ -29,8 +24,6 @@
*/
public class LibertyTextDocument extends TextDocumentItem {

private static final Logger LOGGER = Logger.getLogger(LibertyTextDocument.class.getName());

public LibertyTextDocument(TextDocumentItem document) {
this(document.getText(), document.getUri());
super.setVersion(document.getVersion());
Expand Down Expand Up @@ -59,7 +52,6 @@ public void update(List<TextDocumentContentChangeEvent> changes) {
TextDocumentContentChangeEvent last = changes.size() > 0 ? changes.get(changes.size() - 1) : null;
if (last != null) {
setText(last.getText());
LOGGER.info(last.getText());
}
}

Expand Down

0 comments on commit d2319e9

Please sign in to comment.