diff options
author | Alexander Kurtakov | 2017-07-19 06:40:00 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2017-07-19 06:40:00 +0000 |
commit | 177f16ee3b7dd1861c7dc0d8df9c73502af04a31 (patch) | |
tree | ad88d65364cdd18417ffd2d38d96e73ce1827588 | |
parent | cef74cc08677b634269f88b91760b3d5d041a981 (diff) | |
download | rt.equinox.bundles-177f16ee3b7dd1861c7dc0d8df9c73502af04a31.tar.gz rt.equinox.bundles-177f16ee3b7dd1861c7dc0d8df9c73502af04a31.tar.xz rt.equinox.bundles-177f16ee3b7dd1861c7dc0d8df9c73502af04a31.zip |
Bug 519547 - Cleanup org.eclipse.equinox.registryS4_8_0_M1I20170802-2000I20170802-0800I20170801-2000I20170801-0800I20170731-2000I20170731-0800I20170730-2000I20170729-2000I20170728-2000I20170727-2000I20170727-0610I20170726-2000I20170725-2000I20170724-2000I20170723-2000I20170722-2000I20170722-0045I20170721-2000I20170720-2000I20170719-2000I20170719-0600
Suppress 2 warnings.
Change-Id: I2e36854d1aa42e805544a3ff86928122bf52157b
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java index 76e3beadb..54027d78f 100644 --- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 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 @@ -132,6 +132,7 @@ public class ExtensionsParser extends DefaultHandler { private static final int EXTENSION_INDEX = 1; private static final int LAST_INDEX = 1; + @SuppressWarnings("unchecked") private final ArrayList<RegistryObject> scratchVectors[] = new ArrayList[LAST_INDEX + 1]; private Locator locator = null; diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/RegistryObjectManager.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/RegistryObjectManager.java index a973cd6e2..46d61e671 100644 --- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/RegistryObjectManager.java +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/RegistryObjectManager.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2012 IBM Corporation and others. + * Copyright (c) 2004, 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 @@ -475,6 +475,7 @@ public class RegistryObjectManager implements IObjectManager { } + @SuppressWarnings("unchecked") private Map<String, int[]> getOrphans() { Object result; if (orphanExtensions == null && !fromCache) { |