Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-08-11 17:05:15 +0000
committerAlexander Kurtakov2017-08-11 17:05:15 +0000
commit02292474f819fe4960fa748cb86d4a8550d77851 (patch)
treea4383420e29de1ade10beabaf9c8d215e6c4ee4b
parent4b71f7c584d5e4544f3e156f05b6e4c845e4a565 (diff)
downloadeclipse.pde.ui-02292474f819fe4960fa748cb86d4a8550d77851.tar.gz
eclipse.pde.ui-02292474f819fe4960fa748cb86d4a8550d77851.tar.xz
eclipse.pde.ui-02292474f819fe4960fa748cb86d4a8550d77851.zip
Change-Id: Ibd1b7d8d70ffe049e883384652e74def51c868c1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java
index 8fc5fd5140..28e8c7a873 100644
--- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java
+++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/TargetDefinition.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2016 IBM Corporation and others.
+ * Copyright (c) 2008, 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
@@ -551,8 +551,8 @@ public class TargetDefinition implements ITargetDefinition {
if (list.size() > 1) {
// sort the list
Collections.sort(list, (o1, o2) -> {
- BundleInfo b1 = ((TargetBundle) o1).getBundleInfo();
- BundleInfo b2 = ((TargetBundle) o2).getBundleInfo();
+ BundleInfo b1 = o1.getBundleInfo();
+ BundleInfo b2 = o2.getBundleInfo();
try {
Version v1 = Version.create(b1.getVersion());
Version v2 = Version.create(b2.getVersion());

Back to the top