Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java')
-rw-r--r--containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java b/containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java
index e57b391179..2ed4bef9f6 100644
--- a/containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java
+++ b/containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java
@@ -1,9 +1,11 @@
/*******************************************************************************
- * Copyright (c) 2015-2016 Open Analytics NV and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * Copyright (c) 2015, 2018 Open Analytics NV 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/
+ *
+ * SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.linuxtools.internal.docker.editor;
@@ -145,10 +147,8 @@ public class DockerDocumentProvider extends FileDocumentProvider {
stream = new ByteArrayInputStream(bytes, 0, byteBuffer.limit());
} catch (CharacterCodingException ex) {
Assert.isTrue(ex instanceof UnmappableCharacterException);
- String message = NLS.bind(
- Messages.DockerDocumentProvider_cannot_be_mapped
- + Messages.DockerDocumentProvider_chars_not_supported,
- encoding);
+ String message = NLS.bind(Messages.DockerDocumentProvider_cannot_be_mapped
+ + Messages.DockerDocumentProvider_chars_not_supported, encoding);
IStatus s = new Status(IStatus.ERROR, EditorsUI.PLUGIN_ID, EditorsUI.CHARSET_MAPPING_FAILED, message,
null);
throw new CoreException(s);

Back to the top