Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-01-30 08:28:42 +0000
committerAlexander Kurtakov2018-01-30 08:28:42 +0000
commit8d990a7a055c3b929818fb4cb3b8cc5525b75b52 (patch)
tree6ba5b137d6db79214308b20f287e6dafbaa46640 /bundles/org.eclipse.equinox.p2.metadata.repository
parentd8c703314ff500c8933466044d4e90a91001217b (diff)
downloadrt.equinox.p2-8d990a7a055c3b929818fb4cb3b8cc5525b75b52.tar.gz
rt.equinox.p2-8d990a7a055c3b929818fb4cb3b8cc5525b75b52.tar.xz
rt.equinox.p2-8d990a7a055c3b929818fb4cb3b8cc5525b75b52.zip
Bug 530486 - Remove useless thrown exceptions.I20180130-2000
Change-Id: Ieb5178a2eecbeaab88afd5e00bc3806bc615c7ae 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/MetadataRepositoryIO.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryIO.java b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryIO.java
index 4243ad59d..41d676990 100644
--- a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryIO.java
+++ b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryIO.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2017 IBM Corporation and others.
+ * Copyright (c) 2007, 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
@@ -123,7 +123,7 @@ public class MetadataRepositoryIO {
// XML writer for a IMetadataRepository
protected class Writer extends MetadataWriter implements XMLConstants {
- public Writer(OutputStream output, Class<? extends IMetadataRepository> repositoryClass) throws IOException {
+ public Writer(OutputStream output, Class<? extends IMetadataRepository> repositoryClass) {
super(output, createPI(repositoryClass));
}

Back to the top