Skip to content

Commit b361e26

Browse files
committed
1 parent 9d85e52 commit b361e26

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

org.eclipse.wildwebdeveloper.xml/src/org/eclipse/wildwebdeveloper/xml/internal/autoclose/XMLAutoCloseTagReconciler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2022, 2023 Red Hat Inc. and others.
2+
* Copyright (c) 2022, 2025 Red Hat Inc. and others.
33
* This program and the accompanying materials are made
44
* available under the terms of the Eclipse Public License 2.0
55
* which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -102,7 +102,7 @@ private void autoInsert(DocumentEvent event) {
102102
return;
103103
}
104104
IDocument document = event.getDocument();
105-
if (document == null || event == null || event.getLength() != 0 || event.getText().length() != 1) {
105+
if (document == null || event.getLength() != 0 || event.getText().length() != 1) {
106106
return;
107107
}
108108

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/html/autoinsert/HTMLAutoInsertReconciler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2022, 2024 Red Hat Inc. and others.
2+
* Copyright (c) 2022, 2025 Red Hat Inc. and others.
33
* This program and the accompanying materials are made
44
* available under the terms of the Eclipse Public License 2.0
55
* which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -57,7 +57,7 @@ private void autoInsert(DocumentEvent event) {
5757
return;
5858
}
5959
IDocument document = event.getDocument();
60-
if (document == null || event == null || event.getLength() != 0 || event.getText().length() != 1) {
60+
if (document == null || event.getLength() != 0 || event.getText().length() != 1) {
6161
return;
6262
}
6363

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/markdown/MarkdownLanguageClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public CompletableFuture<Void> fsWatcherCreate(final Map<String, Object> params)
459459
final var uri = params.get("uri");
460460
if (uri == null)
461461
return null;
462-
final var path = uri == null ? null : FileUtils.uriToPath(uri.toString());
462+
final var path = FileUtils.uriToPath(uri.toString());
463463

464464
@SuppressWarnings("unchecked")
465465
final Map<String, Object> options = params.get("options") instanceof Map //

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/vue/autoinsert/VueAutoInsertReconciler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2022, 2024 Red Hat Inc. and others.
2+
* Copyright (c) 2022, 2025 Red Hat Inc. and others.
33
* This program and the accompanying materials are made
44
* available under the terms of the Eclipse Public License 2.0
55
* which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -51,7 +51,7 @@ private void autoInsert(DocumentEvent event) {
5151
return;
5252
}
5353
IDocument document = event.getDocument();
54-
if (document == null || event == null || event.getLength() != 0) {
54+
if (document == null || event.getLength() != 0) {
5555
return;
5656
}
5757

0 commit comments

Comments
 (0)