From d5067cbb3e0c1b4cde2f880402206e54a598437a Mon Sep 17 00:00:00 2001 From: Martin Lippert Date: Wed, 1 Apr 2020 13:19:12 +0200 Subject: [PATCH] added back missing copyright header --- .../xml/XMLRootElementContentDescriber2.java | 30 ++++++++++++++----- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/xml/XMLRootElementContentDescriber2.java b/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/xml/XMLRootElementContentDescriber2.java index 225db9184..fc151857b 100644 --- a/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/xml/XMLRootElementContentDescriber2.java +++ b/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/xml/XMLRootElementContentDescriber2.java @@ -1,3 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2004, 2009 IBM Corporation and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * IBM Corporation - initial API and implementation + * Jesper Steen Moeller - added namespace support + * + * + * ======= + * + * Copied from org.eclipse.core.runtime.content.XMLRootElementContentDescriber2 because: + * 1. Cannot be overridden + * 2. Need to return INVALID status if root element searched for not found. INDETERMINATE status only if there are no root elements + * @author aboyko + * + *******************************************************************************/ package org.springframework.tooling.boot.ls.xml; import java.io.IOException; @@ -72,13 +95,6 @@ import org.xml.sax.SAXException; * @since org.eclipse.core.contenttype 3.3 * @noinstantiate This class is not intended to be instantiated by clients. */ -/** - * Copied from org.eclipse.core.runtime.content.XMLRootElementContentDescriber2 because: - * 1. Cannot be overridden - * 2. Need to return INVALID status if root element searched for not found. INDETERMINATE status only if there are no root elements - * @author aboyko - * - */ public final class XMLRootElementContentDescriber2 extends XMLContentDescriber implements IExecutableExtension { static final String DTD = "org.eclipse.core.runtime.content.XMLRootElementContentDescriber2.dtd"; //$NON-NLS-1$