From b58fc846d236c3732e8976f5e203c57e0863e2be Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Sat, 7 Oct 2017 12:40:14 +0300 Subject: Bug 521147 - Move p2 ui.importexport to Java 8 Add missing Override annotation. Change-Id: I8a7155e5355679d52a8caf9b3036fe9f9613dbcf Signed-off-by: Alexander Kurtakov --- .../src/org/eclipse/equinox/internal/p2/importexport/IUDetail.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/IUDetail.java b/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/IUDetail.java index 8c1a17377..ffe2f06b5 100644 --- a/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/IUDetail.java +++ b/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/IUDetail.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011 WindRiver Corporation and others. + * Copyright (c) 2011, 2017 WindRiver 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 @@ -33,6 +33,7 @@ public class IUDetail implements IAdaptable { return referredRepo; } + @Override @SuppressWarnings("unchecked") public T getAdapter(Class adapter) { if (IInstallableUnit.class.equals(adapter)) -- cgit v1.2.3