Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-07-19 06:40:00 +0000
committerAlexander Kurtakov2017-07-19 06:40:00 +0000
commit177f16ee3b7dd1861c7dc0d8df9c73502af04a31 (patch)
treead88d65364cdd18417ffd2d38d96e73ce1827588
parentcef74cc08677b634269f88b91760b3d5d041a981 (diff)
downloadrt.equinox.bundles-I20170728-2000.tar.gz
rt.equinox.bundles-I20170728-2000.tar.xz
rt.equinox.bundles-I20170728-2000.zip
Suppress 2 warnings. Change-Id: I2e36854d1aa42e805544a3ff86928122bf52157b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java3
-rw-r--r--bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/RegistryObjectManager.java3
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) {

Back to the top