Skip to content

Commit

Permalink
remove no-op lines and update header
Browse files Browse the repository at this point in the history
  • Loading branch information
ghentschke committed Feb 7, 2025
1 parent 2a7e573 commit 828330e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2023 Contributors to the Eclipse Foundation.
* Copyright (c) 2023, 2025 Contributors to the Eclipse Foundation.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ public void partClosed(IWorkbenchPart part) {
if (data != null) {
if (--data.counter <= 0) {
cache.remove(uri);
} else {
cache.put(uri, data);
}
}
});
Expand All @@ -168,7 +166,6 @@ public void partOpened(IWorkbenchPart part) {
if (data != null) {
data.enable = true;
++data.counter;
cache.put(uri, data);
} else {
cache.put(uri, new Data(true, 1));
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2023, 2024 Bachmann electronic GmbH and others.
* Copyright (c) 2023, 2024, 2025 Bachmann electronic GmbH and others.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2023 Bachmann electronic GmbH and others.
* Copyright (c) 2023, 2024, 2025 Bachmann electronic GmbH and others.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
Expand All @@ -16,8 +16,8 @@
import java.util.logging.Level;
import java.util.logging.Logger;

import org.eclipse.cdt.lsp.internal.server.CLanguageServerRegistry;
import org.eclipse.cdt.lsp.internal.server.CLanguageServerEnableCache;
import org.eclipse.cdt.lsp.internal.server.CLanguageServerRegistry;
import org.eclipse.cdt.lsp.server.ICLanguageServerProvider;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2023 Contributors to the Eclipse Foundation.
* Copyright (c) 2023, 2024, 2025 Contributors to the Eclipse Foundation.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
Expand Down

0 comments on commit 828330e

Please sign in to comment.