diff options
author | Alexander Kurtakov | 2018-01-19 12:44:48 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-01-19 13:00:50 +0000 |
commit | 77554b90d256f072212d58557f4686884a8bed2b (patch) | |
tree | 0735cbcae2bf976fda9901d142a472187ea1e4e1 /bundles | |
parent | 3dc65fbd62daa08bb5700a0dd70c5950caab423d (diff) | |
download | eclipse.platform.team-77554b90d256f072212d58557f4686884a8bed2b.tar.gz eclipse.platform.team-77554b90d256f072212d58557f4686884a8bed2b.tar.xz eclipse.platform.team-77554b90d256f072212d58557f4686884a8bed2b.zip |
Remove useless throws.S4_8_0_M5I20180124-2000I20180124-0800I20180123-2000I20180123-1010I20180123-0800I20180122-2000I20180122-0800I20180121-2000I20180121-0800I20180120-1500I20180120-0800I20180119-2000
Of UnsupportedEncodingException.
Change-Id: I4b319dbe9ec446eda138c72902f29ca1d4471b06
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/XMLWriter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/XMLWriter.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/XMLWriter.java index 506750a70..4d9092db0 100644 --- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/XMLWriter.java +++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/XMLWriter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2017 IBM Corporation and others. + * Copyright (c) 2000, 2018 IBM Corporation 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 @@ -25,7 +25,7 @@ public class XMLWriter extends PrintWriter { /* constants */ protected static final String XML_VERSION = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; //$NON-NLS-1$ -public XMLWriter(OutputStream output) throws UnsupportedEncodingException { +public XMLWriter(OutputStream output) { super(new OutputStreamWriter(output, StandardCharsets.UTF_8)); tab = 0; println(XML_VERSION); |