diff options
author | Alexander Kurtakov | 2018-01-05 19:29:31 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-01-05 20:19:41 +0000 |
commit | 263b7269cf0d9f9b264796215a0ceb493b19d4cb (patch) | |
tree | d0af6a399469f028e2b1aadffd12aaa53708b7de /bundles/org.eclipse.equinox.p2.metadata.repository | |
parent | 27b96a6d0aa8e0433fef6f06a7ff0c2cdb6666dc (diff) | |
download | rt.equinox.p2-263b7269cf0d9f9b264796215a0ceb493b19d4cb.tar.gz rt.equinox.p2-263b7269cf0d9f9b264796215a0ceb493b19d4cb.tar.xz rt.equinox.p2-263b7269cf0d9f9b264796215a0ceb493b19d4cb.zip |
Fix unnecessary else clause warnings.I20180111-0530I20180110-2000I20180110-0100I20180109-2000I20180108-2000I20180107-2000I20180106-1500I20180105-2000
Change-Id: I516845d1732386a34d3078aa111cbd5b306b76c5
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_ant/org/eclipse/equinox/internal/p2/metadata/repository/ant/CreateCompositeMetadataRepositoryTask.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata.repository/src_ant/org/eclipse/equinox/internal/p2/metadata/repository/ant/CreateCompositeMetadataRepositoryTask.java b/bundles/org.eclipse.equinox.p2.metadata.repository/src_ant/org/eclipse/equinox/internal/p2/metadata/repository/ant/CreateCompositeMetadataRepositoryTask.java index 0a16f9dbe..3190aa193 100644 --- a/bundles/org.eclipse.equinox.p2.metadata.repository/src_ant/org/eclipse/equinox/internal/p2/metadata/repository/ant/CreateCompositeMetadataRepositoryTask.java +++ b/bundles/org.eclipse.equinox.p2.metadata.repository/src_ant/org/eclipse/equinox/internal/p2/metadata/repository/ant/CreateCompositeMetadataRepositoryTask.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2017 IBM Corporation and others. + * Copyright (c) 2008, 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 @@ -53,9 +53,8 @@ public class CreateCompositeMetadataRepositoryTask extends AbstractMDRTask { if (failOnExists) throw new BuildException("Composite repository already exists at location: " + location); return; - } else { - // we have a non-composite repo at this location. that is ok because we can co-exist. } + // we have a non-composite repo at this location. that is ok because we can co-exist. } catch (ProvisionException e) { // re-throw the exception if we got anything other than "repo not found" if (e.getStatus().getCode() != ProvisionException.REPOSITORY_NOT_FOUND) |