Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-06-21 12:43:34 +0000
committerAlexander Kurtakov2017-06-21 13:01:46 +0000
commit7f22c5b775e1e0ce90bbf3055fd99b974d1e7414 (patch)
treec720b93e0776396735899f32589feed349dea9d1 /bundles/org.eclipse.equinox.p2.metadata.repository
parentc14ec65184393b6cc1ecd976068b8bdd7938eec1 (diff)
downloadrt.equinox.p2-7f22c5b775e1e0ce90bbf3055fd99b974d1e7414.tar.gz
rt.equinox.p2-7f22c5b775e1e0ce90bbf3055fd99b974d1e7414.tar.xz
rt.equinox.p2-7f22c5b775e1e0ce90bbf3055fd99b974d1e7414.zip
Bug 518574 - Use StandardCharsets
Bump BREE to 1.8 for bundles that were too low to have StandardCharsets. Change-Id: Iac9e9615c5179b970df893182f5f1c6e3dd4d574 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.metadata.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/io/MetadataWriter.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/io/MetadataWriter.java b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/io/MetadataWriter.java
index 2d7ae7df8..c4d3d8aa0 100644
--- a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/io/MetadataWriter.java
+++ b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/io/MetadataWriter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2011 IBM Corporation and others.
+ * Copyright (c) 2007, 2017 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
@@ -12,7 +12,6 @@
package org.eclipse.equinox.internal.p2.metadata.repository.io;
import java.io.OutputStream;
-import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.util.*;
import org.eclipse.core.runtime.*;
@@ -25,7 +24,7 @@ import org.eclipse.equinox.p2.metadata.expression.*;
public class MetadataWriter extends XMLWriter implements XMLConstants {
- public MetadataWriter(OutputStream output, ProcessingInstruction[] piElements) throws UnsupportedEncodingException {
+ public MetadataWriter(OutputStream output, ProcessingInstruction[] piElements) {
super(output, piElements);
// TODO: add a processing instruction for the metadata version
}

Back to the top