[INFO]
[INFO] --< org.eclipse.sphinx.plugins:org.eclipse.sphinx.emf.validation.ui >---
[INFO] Building org.eclipse.sphinx.emf.validation.ui 0.11.2-SNAPSHOT [38/147]
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:build-qualifier (default-build-qualifier) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO] The project's OSGi version is 0.11.2.202109021531
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:validate-id (default-validate-id) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:validate-version (default-validate-version) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/main/resources
[INFO]
[INFO] --- tycho-compiler-plugin:1.0.0:compile (default-compile) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO] Compiling 87 source files to /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/target/classes
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableView.java:[62]
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableView.java:[489]
IDEWorkbenchPlugin.getDefault().getLog().log(Util.errorStatus(e1));
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableView.java:[489]
IDEWorkbenchPlugin.getDefault().getLog().log(Util.errorStatus(e1));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[56]
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[86]
private Map initialAttributes = null;
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[252]
protected void setInitialAttributes(Map initialAttributes) {
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[266]
protected Map getInitialAttributes() {
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[268]
initialAttributes = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[355]
List styles = new java.util.ArrayList(32); // lots of style info
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[355]
List styles = new java.util.ArrayList(32); // lots of style info
^^^^^^^^^^^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[359]
ruleInfoText.setStyleRanges((StyleRange[]) styles.toArray(new StyleRange[styles.size()]));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[562]
Map attrs = getMarkerAttributes();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[582]
IDEWorkbenchPlugin.log(e.getMessage(), e);
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[582]
IDEWorkbenchPlugin.log(e.getMessage(), e);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.log(String, Throwable)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[591]
protected Map getMarkerAttributes() {
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[592]
Map attrs = getInitialAttributes();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[593]
attrs.put(IMarker.MESSAGE, descriptionText.getText());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[635]
IDialogSettings settings = IDEWorkbenchPlugin.getDefault().getDialogSettings();
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerProperties.java:[635]
IDialogSettings settings = IDEWorkbenchPlugin.getDefault().getDialogSettings();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldSeverityAndMessage.java:[22]
import org.eclipse.ui.internal.ide.IDEInternalWorkbenchImages;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldSeverityAndMessage.java:[73]
IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_ETOOL_PROBLEM_CATEGORY));
^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldSeverityAndMessage.java:[73]
IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_ETOOL_PROBLEM_CATEGORY));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEInternalWorkbenchImages.getImageDescriptor(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldSeverityAndMessage.java:[73]
IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_ETOOL_PROBLEM_CATEGORY));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldSeverityAndMessage.java:[73]
IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_ETOOL_PROBLEM_CATEGORY));
^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalWorkbenchImages.IMG_ETOOL_PROBLEM_CATEGORY' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[59]
private final Comparator columnComparator = new Comparator() {
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[59]
private final Comparator columnComparator = new Comparator() {
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[176]
ArrayList oldSelectionList = new ArrayList(Arrays.asList(priorityCombos[index].getItems()));
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[176]
ArrayList oldSelectionList = new ArrayList(Arrays.asList(priorityCombos[index].getItems()));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[176]
ArrayList oldSelectionList = new ArrayList(Arrays.asList(priorityCombos[index].getItems()));
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[177]
oldSelectionList.removeAll(Arrays.asList(priorityCombos[index + 1].getItems()));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method removeAll(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[191]
int insertionPoint = -1 - Arrays.binarySearch(priorityCombos[j].getItems(), oldSelection, columnComparator);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: Unchecked invocation binarySearch(String[], String, Comparator) of the generic method binarySearch(T[], T, Comparator<? super T>) of type Arrays
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[191]
int insertionPoint = -1 - Arrays.binarySearch(priorityCombos[j].getItems(), oldSelection, columnComparator);
^^^^^^^^^^^^^^^^
Type safety: The expression of type Comparator needs unchecked conversion to conform to Comparator<? super String>
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[206]
int insertionPoint = -1 - Arrays.binarySearch(priorityCombos[j].getItems(), oldSelection, columnComparator);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: Unchecked invocation binarySearch(String[], String, Comparator) of the generic method binarySearch(T[], T, Comparator<? super T>) of type Arrays
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[206]
int insertionPoint = -1 - Arrays.binarySearch(priorityCombos[j].getItems(), oldSelection, columnComparator);
^^^^^^^^^^^^^^^^
Type safety: The expression of type Comparator needs unchecked conversion to conform to Comparator<? super String>
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[303]
ArrayList availablePriorities = new ArrayList(Arrays.asList(propertyText));
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[303]
ArrayList availablePriorities = new ArrayList(Arrays.asList(propertyText));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableSortDialog.java:[303]
ArrayList availablePriorities = new ArrayList(Arrays.asList(propertyText));
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/util/ExtendedDiagnosticDialog.java:[193]
this.message = message == null ? "At least one constraint have not been respected" : message;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/util/ExtendedDiagnosticDialog.java:[333]
if (1 == 1) {
^^^^^^
Comparing identical expressions
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/util/ExtendedDiagnosticDialog.java:[336]
if (shouldDisplay(diagnostics, severityMask)) {
return super.open();
}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dead code
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionRemoveMarker.java:[73]
for (Iterator iterator = selection.iterator(); iterator.hasNext();) {
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[51]
import org.eclipse.ui.internal.ide.IDEInternalPreferences;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalPreferences' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[285]
handlerService = (IHandlerService) getViewSite().getService(IHandlerService.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IHandlerService to IHandlerService
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[353]
Collection selectionList;
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[355]
selectionList = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[356]
Iterator selectionIterator = selection.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[360]
selectionList.add(next);
^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[418]
return IDEInternalPreferences.LIMIT_PROBLEMS;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalPreferences' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[418]
return IDEInternalPreferences.LIMIT_PROBLEMS;
^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalPreferences.LIMIT_PROBLEMS' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[427]
return IDEInternalPreferences.PROBLEMS_LIMIT;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalPreferences' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[427]
return IDEInternalPreferences.PROBLEMS_LIMIT;
^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalPreferences.PROBLEMS_LIMIT' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[436]
return IDEInternalPreferences.PROBLEMS_FILTERS;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalPreferences' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[436]
return IDEInternalPreferences.PROBLEMS_FILTERS;
^^^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalPreferences.PROBLEMS_FILTERS' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[446]
Collection declaredFilters = MarkerSupportRegistry.getInstance().getRegisteredFilters();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[447]
Iterator iterator = declaredFilters.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[475]
Iterator definedGroups = MarkerSupportRegistry.getInstance().getMarkerGroups().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[480]
if (group.getId().equals("org.eclipse.ui.ide.severity")) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[634]
Iterator definedGroups = MarkerSupportRegistry.getInstance().getMarkerGroups().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[672]
Iterator filters = MarkerSupportRegistry.getInstance().getRegisteredFilters().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[697]
Collection registered = MarkerSupportRegistry.getInstance().getRegisteredFilters();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ValidationView.java:[699]
registered.toArray(filters);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSelectionProviderAdapter.java:[34]
List listeners = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSelectionProviderAdapter.java:[34]
List listeners = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSelectionProviderAdapter.java:[40]
listeners.add(listener);
^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[296]
public MarkerCategory getCategory() {
^^^^^^^^^^^^^
The method getCategory() from the type DialogMarkerFilter.MarkerTypeNode is never used locally
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[518]
typesViewer.setAllChecked(true);
^^^^^^^^^^^^^^^^^^^
The method setAllChecked(boolean) from the type CheckboxTreeViewer is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[521]
typesViewer.setAllChecked(false);
^^^^^^^^^^^^^^^^^^^^
The method setAllChecked(boolean) from the type CheckboxTreeViewer is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[809]
Collection list = ((IStructuredSelection) selection).toList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[811]
list.toArray(selected);
^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[828]
List toRemove = ((IStructuredSelection) selection).toList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1105]
protected List getSelectedTypes() {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1107]
List selected = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1107]
List selected = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1111]
selected.add(((MarkerTypeNode) node).getMarkerType());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1161]
typesViewer.setAllChecked(true);
^^^^^^^^^^^^^^^^^^^
The method setAllChecked(boolean) from the type CheckboxTreeViewer is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1176]
void setSelectedTypes(List markerTypes) {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1327]
List roots = selected.getRootTypes();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1328]
List markerNodes = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1328]
List markerNodes = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1329]
HashMap categories = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1329]
HashMap categories = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1344]
private void buildTypeTree(List elements, Object obj, HashMap categories) {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1344]
private void buildTypeTree(List elements, Object obj, HashMap categories) {
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1352]
elements.add(new MarkerTypeNode(markerType));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1359]
categories.put(categoryName, category);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogMarkerFilter.java:[1360]
elements.add(category);
^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionResolveMarker.java:[38]
import org.eclipse.ui.internal.ide.IDEInternalWorkbenchImages;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionResolveMarker.java:[59]
setImageDescriptor(IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_ELCL_QUICK_FIX_ENABLED));
^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionResolveMarker.java:[59]
setImageDescriptor(IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_ELCL_QUICK_FIX_ENABLED));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEInternalWorkbenchImages.getImageDescriptor(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionResolveMarker.java:[59]
setImageDescriptor(IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_ELCL_QUICK_FIX_ENABLED));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionResolveMarker.java:[59]
setImageDescriptor(IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_ELCL_QUICK_FIX_ENABLED));
^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalWorkbenchImages.IMG_ELCL_QUICK_FIX_ENABLED' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionResolveMarker.java:[60]
setDisabledImageDescriptor(IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_DLCL_QUICK_FIX_DISABLED));
^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionResolveMarker.java:[60]
setDisabledImageDescriptor(IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_DLCL_QUICK_FIX_DISABLED));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEInternalWorkbenchImages.getImageDescriptor(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionResolveMarker.java:[60]
setDisabledImageDescriptor(IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_DLCL_QUICK_FIX_DISABLED));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionResolveMarker.java:[60]
setDisabledImageDescriptor(IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_DLCL_QUICK_FIX_DISABLED));
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalWorkbenchImages.IMG_DLCL_QUICK_FIX_DISABLED' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/IMarkerChangedListener.java:[34]
public void markerChanged(List additions, List removals, List changes);
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/IMarkerChangedListener.java:[34]
public void markerChanged(List additions, List removals, List changes);
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/IMarkerChangedListener.java:[34]
public void markerChanged(List additions, List removals, List changes);
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DefaultMarkerResourceAdapter.java:[54]
IResource resource = (IResource) adaptable.getAdapter(IResource.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IResource to IResource
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DefaultMarkerResourceAdapter.java:[57]
return (IFile) adaptable.getAdapter(IFile.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IFile to IFile
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[31]
import org.eclipse.ui.internal.ide.IDEInternalWorkbenchImages;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[32]
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[157]
IDEWorkbenchPlugin.log(exception.getLocalizedMessage(), exception);
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[157]
IDEWorkbenchPlugin.log(exception.getLocalizedMessage(), exception);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.log(String, Throwable)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[214]
return new Status(IStatus.ERROR, IDEWorkbenchPlugin.IDE_WORKBENCH, IStatus.ERROR, message, exception);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[214]
return new Status(IStatus.ERROR, IDEWorkbenchPlugin.IDE_WORKBENCH, IStatus.ERROR, message, exception);
^^^^^^^^^^^^^
Discouraged access: The field 'IDEWorkbenchPlugin.IDE_WORKBENCH' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[236]
return getIDEImage(IDEInternalWorkbenchImages.IMG_OBJS_ERROR_PATH);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[236]
return getIDEImage(IDEInternalWorkbenchImages.IMG_OBJS_ERROR_PATH);
^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalWorkbenchImages.IMG_OBJS_ERROR_PATH' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[239]
return getIDEImage(IDEInternalWorkbenchImages.IMG_OBJS_WARNING_PATH);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[239]
return getIDEImage(IDEInternalWorkbenchImages.IMG_OBJS_WARNING_PATH);
^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalWorkbenchImages.IMG_OBJS_WARNING_PATH' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[242]
return getIDEImage(IDEInternalWorkbenchImages.IMG_OBJS_INFO_PATH);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[242]
return getIDEImage(IDEInternalWorkbenchImages.IMG_OBJS_INFO_PATH);
^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalWorkbenchImages.IMG_OBJS_INFO_PATH' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[256]
return JFaceResources.getResources().createImageWithDefault(IDEInternalWorkbenchImages.getImageDescriptor(constantName));
^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[256]
return JFaceResources.getResources().createImageWithDefault(IDEInternalWorkbenchImages.getImageDescriptor(constantName));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEInternalWorkbenchImages.getImageDescriptor(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/Util.java:[326]
Iterator nodes = selection.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/IItemsChangedListener.java:[31]
public void itemsChanged(List additions, List removals, List changes);
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/IItemsChangedListener.java:[31]
public void itemsChanged(List additions, List removals, List changes);
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/IItemsChangedListener.java:[31]
public void itemsChanged(List additions, List removals, List changes);
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[48]
ArrayList result = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[48]
ArrayList result = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[50]
return (MarkerType[]) result.toArray(new MarkerType[result.size()]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[56]
private void getAllSupertypes(ArrayList result) {
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[61]
result.add(sup);
^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[88]
ArrayList result = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[88]
ArrayList result = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[93]
result.add(type);
^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[97]
return (MarkerType[]) result.toArray(new MarkerType[result.size()]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[101]
List subTypes = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[101]
List subTypes = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[104]
subTypes.toArray(subs);
^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[108]
private void addSubTypes(List list, MarkerType superType) {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[113]
list.add(subType);
^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[130]
ArrayList result = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[130]
ArrayList result = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[134]
result.add(sup);
^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerType.java:[137]
return (MarkerType[]) result.toArray(new MarkerType[result.size()]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[51]
private HashMap types;
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[72]
types.values().toArray(result);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[95]
private HashMap readTypes() {
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[96]
HashMap types = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[96]
HashMap types = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[108]
ArrayList supersList = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[108]
ArrayList supersList = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[114]
supersList.add(sup);
^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[119]
supersList.toArray(superTypes);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerTypesModel.java:[121]
types.put(id, type);
^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[23]
Collection removedMarkers;
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[24]
Collection addedMarkers;
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[25]
Collection changedMarkers;
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[34]
MarkerNodeRefreshRecord(Collection removed, Collection added, Collection changed) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[34]
MarkerNodeRefreshRecord(Collection removed, Collection added, Collection changed) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[34]
MarkerNodeRefreshRecord(Collection removed, Collection added, Collection changed) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[35]
removedMarkers = new ArrayList(removed);
^^^^^^^^^^^^^^^^^^^^^^
Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[35]
removedMarkers = new ArrayList(removed);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[36]
addedMarkers = new ArrayList(added);
^^^^^^^^^^^^^^^^^^^^
Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[36]
addedMarkers = new ArrayList(added);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[37]
changedMarkers = new ArrayList(changed);
^^^^^^^^^^^^^^^^^^^^^^
Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[37]
changedMarkers = new ArrayList(changed);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[46]
removedMarkers.add(node);
^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerNodeRefreshRecord.java:[56]
addedMarkers.add(node);
^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerResolutionDialog.java:[28]
import org.eclipse.core.runtime.SubProgressMonitor;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type SubProgressMonitor is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerResolutionDialog.java:[71]
import org.eclipse.ui.internal.ide.IDEInternalWorkbenchImages;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerResolutionDialog.java:[142]
IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_DLGBAN_QUICKFIX_DLG)));
^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerResolutionDialog.java:[142]
IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_DLGBAN_QUICKFIX_DLG)));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEInternalWorkbenchImages.getImageDescriptor(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerResolutionDialog.java:[142]
IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_DLGBAN_QUICKFIX_DLG)));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEInternalWorkbenchImages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerResolutionDialog.java:[142]
IDEInternalWorkbenchImages.getImageDescriptor(IDEInternalWorkbenchImages.IMG_DLGBAN_QUICKFIX_DLG)));
^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'IDEInternalWorkbenchImages.IMG_DLGBAN_QUICKFIX_DLG' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerResolutionDialog.java:[728]
((WorkbenchMarkerResolution) resolution).run(markers, new SubProgressMonitor(progressPart, checked.length));
^^^^^^^^^^^^^^^^^^
The type SubProgressMonitor is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerResolutionDialog.java:[728]
((WorkbenchMarkerResolution) resolution).run(markers, new SubProgressMonitor(progressPart, checked.length));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The constructor SubProgressMonitor(IProgressMonitor, int) is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[19]
import org.eclipse.core.runtime.Platform;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.core.runtime.Platform is never used
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[29]
import org.eclipse.ui.internal.IWorkbenchHelpContextIds;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IWorkbenchHelpContextIds' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[30]
import org.eclipse.ui.internal.WorkbenchPage;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchPage' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[31]
import org.eclipse.ui.internal.WorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[32]
import org.eclipse.ui.internal.util.Util;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'Util' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[32]
import org.eclipse.ui.internal.util.Util;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.ui.internal.util.Util is never used
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[52]
window.getWorkbench().getHelpSystem().setHelp(this, IWorkbenchHelpContextIds.SHOW_IN_ACTION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IWorkbenchHelpContextIds' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[52]
window.getWorkbench().getHelpSystem().setHelp(this, IWorkbenchHelpContextIds.SHOW_IN_ACTION);
^^^^^^^^^^^^^^
Discouraged access: The field 'IWorkbenchHelpContextIds.SHOW_IN_ACTION' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[88]
((WorkbenchPage) page).performedShowIn(desc.getId()); // TODO: move back up
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'WorkbenchPage.performedShowIn(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[88]
((WorkbenchPage) page).performedShowIn(desc.getId()); // TODO: move back up
^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchPage' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[90]
WorkbenchPlugin.log("Error showing view in ShowInAction.run", e.getStatus()); //$NON-NLS-1$
^^^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[90]
WorkbenchPlugin.log("Error showing view in ShowInAction.run", e.getStatus()); //$NON-NLS-1$
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'WorkbenchPlugin.log(String, IStatus)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[103]
return (IShowInSource) sourcePart.getAdapter(IShowInSource.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IShowInSource to IShowInSource
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInAction.java:[114]
return (IShowInTarget) targetPart.getAdapter(IShowInTarget.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IShowInTarget to IShowInTarget
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionSelectAll.java:[29]
import org.eclipse.ui.internal.ide.StatusUtil;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'StatusUtil' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionSelectAll.java:[106]
List selection = view.getMarkerAdapter().getCurrentMarkers().asList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionSelectAll.java:[122]
StatusManager.getManager().handle(StatusUtil.newStatus(IStatus.ERROR, e.getLocalizedMessage(), e), StatusManager.LOG);
^^^^^^^^^^
Discouraged access: The type 'StatusUtil' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionSelectAll.java:[122]
StatusManager.getManager().handle(StatusUtil.newStatus(IStatus.ERROR, e.getLocalizedMessage(), e), StatusManager.LOG);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'StatusUtil.newStatus(int, String, Throwable)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionSelectAll.java:[124]
StatusManager.getManager().handle(StatusUtil.newStatus(IStatus.ERROR, e.getLocalizedMessage(), e), StatusManager.LOG);
^^^^^^^^^^
Discouraged access: The type 'StatusUtil' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionSelectAll.java:[124]
StatusManager.getManager().handle(StatusUtil.newStatus(IStatus.ERROR, e.getLocalizedMessage(), e), StatusManager.LOG);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'StatusUtil.newStatus(int, String, Throwable)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[26]
import org.eclipse.emf.validation.ui.internal.l10n.ValidationUIMessages;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'ValidationUIMessages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.emf.validation.ui/1.7.0.201706061352/org.eclipse.emf.validation.ui-1.7.0.201706061352.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[48]
static final String ALSO_IN_CATEGORIES = PLATFORM_NEWLINE + PLATFORM_NEWLINE + ValidationUIMessages.prefs_constraints_also;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'ValidationUIMessages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.emf.validation.ui/1.7.0.201706061352/org.eclipse.emf.validation.ui-1.7.0.201706061352.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[48]
static final String ALSO_IN_CATEGORIES = PLATFORM_NEWLINE + PLATFORM_NEWLINE + ValidationUIMessages.prefs_constraints_also;
^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'ValidationUIMessages.prefs_constraints_also' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.emf.validation.ui/1.7.0.201706061352/org.eclipse.emf.validation.ui-1.7.0.201706061352.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[50]
static final String CONSTRAINT_DESCRIPTION_PATTERN = ValidationUIMessages.prefs_description_constraint;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'ValidationUIMessages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.emf.validation.ui/1.7.0.201706061352/org.eclipse.emf.validation.ui-1.7.0.201706061352.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[50]
static final String CONSTRAINT_DESCRIPTION_PATTERN = ValidationUIMessages.prefs_description_constraint;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'ValidationUIMessages.prefs_description_constraint' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.emf.validation.ui/1.7.0.201706061352/org.eclipse.emf.validation.ui-1.7.0.201706061352.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[51]
static final String ERROR_CONSTRAINT_DESCRIPTION_PATTERN = ValidationUIMessages.prefs_description_constraint_error;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'ValidationUIMessages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.emf.validation.ui/1.7.0.201706061352/org.eclipse.emf.validation.ui-1.7.0.201706061352.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[51]
static final String ERROR_CONSTRAINT_DESCRIPTION_PATTERN = ValidationUIMessages.prefs_description_constraint_error;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'ValidationUIMessages.prefs_description_constraint_error' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.emf.validation.ui/1.7.0.201706061352/org.eclipse.emf.validation.ui-1.7.0.201706061352.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[53]
static final String NO_CONSTRAINT_DESCRIPTION = ValidationUIMessages.prefs_no_description_constraint;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'ValidationUIMessages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.emf.validation.ui/1.7.0.201706061352/org.eclipse.emf.validation.ui-1.7.0.201706061352.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[53]
static final String NO_CONSTRAINT_DESCRIPTION = ValidationUIMessages.prefs_no_description_constraint;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'ValidationUIMessages.prefs_no_description_constraint' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.emf.validation.ui/1.7.0.201706061352/org.eclipse.emf.validation.ui-1.7.0.201706061352.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[69]
public static String formatConstraintDescription(String constraintId, List styles) {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[106]
private static String getOtherCategories(Category selected, Collection categories) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method getOtherCategories(Category, Collection) from the type MarkerConstraintDetailsHelper is never used locally
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[106]
private static String getOtherCategories(Category selected, Collection categories) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[111]
for (Iterator iter = categories.iterator(); iter.hasNext();) {
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[134]
private static String parseStyles(String text, List styles) {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerConstraintDetailsHelper.java:[157]
styles.add(new StyleRange(result.length(), pos - lastPos, null, null, SWT.BOLD));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/actions/BasicValidateAction.java:[35]
import org.eclipse.core.runtime.SubProgressMonitor;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type SubProgressMonitor is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/actions/BasicValidateAction.java:[98]
ValidationPerformanceStats.INSTANCE.openContext("Validation of " + selectedModelObjects.get(0));
^^^^^^^^^^^^^^^^
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/actions/BasicValidateAction.java:[199]
subMonitor = new SubProgressMonitor(progressMonitor, subCount[cptObject++]);
^^^^^^^^^^^^^^^^^^
The type SubProgressMonitor is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/actions/BasicValidateAction.java:[199]
subMonitor = new SubProgressMonitor(progressMonitor, subCount[cptObject++]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The constructor SubProgressMonitor(IProgressMonitor, int) is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/actions/BasicValidateAction.java:[244]
ValidationPerformanceStats.INSTANCE.startNewEvent(ValidationPerformanceStats.ValidationEvent.EVENT_UPDATE_PROBLEM_MARKERS, "UpdateMarkers");
^^^^^^^^^^^^^^^
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/actions/BasicValidateAction.java:[275]
ValidationPerformanceStats.INSTANCE.endEvent(ValidationPerformanceStats.ValidationEvent.EVENT_UPDATE_PROBLEM_MARKERS, "UpdateMarkers");
^^^^^^^^^^^^^^^
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[25]
import org.eclipse.core.runtime.SubProgressMonitor;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type SubProgressMonitor is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[222]
SubProgressMonitor subMonitor = new SubProgressMonitor(monitor, 10);
^^^^^^^^^^^^^^^^^^
The type SubProgressMonitor is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[222]
SubProgressMonitor subMonitor = new SubProgressMonitor(monitor, 10);
^^^^^^^^^^^^^^^^^^
The type SubProgressMonitor is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[222]
SubProgressMonitor subMonitor = new SubProgressMonitor(monitor, 10);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The constructor SubProgressMonitor(IProgressMonitor, int) is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[254]
SubProgressMonitor mon = new SubProgressMonitor(monitor, 40);
^^^^^^^^^^^^^^^^^^
The type SubProgressMonitor is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[254]
SubProgressMonitor mon = new SubProgressMonitor(monitor, 40);
^^^^^^^^^^^^^^^^^^
The type SubProgressMonitor is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[254]
SubProgressMonitor mon = new SubProgressMonitor(monitor, 40);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The constructor SubProgressMonitor(IProgressMonitor, int) is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[256]
newMarkers = SortUtil.getFirst(newMarkers, (Comparator) sorter, markerLimit, mon);
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[327]
Collection categories = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[327]
Collection categories = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[339]
categories.add(new MarkerCategory(this, categoryStart, i - 1, getNameForIndex(markers, categoryStart)));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[348]
categories.add(new MarkerCategory(this, categoryStart, end, getNameForIndex(markers, categoryStart)));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerAdapter.java:[356]
categories.toArray(nodes);
^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[47]
public static MarkerList getFirst(MarkerList elements, Comparator c, int k, IProgressMonitor mon) {
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[48]
Collection start = elements.asList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[49]
Collection result = new ArrayList(start.size());
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[49]
Collection result = new ArrayList(start.size());
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[60]
private static void getFirst(Collection result, Collection elements, Comparator c, int k, IProgressMonitor mon, int totalWork) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[60]
private static void getFirst(Collection result, Collection elements, Comparator c, int k, IProgressMonitor mon, int totalWork) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[60]
private static void getFirst(Collection result, Collection elements, Comparator c, int k, IProgressMonitor mon, int totalWork) {
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[67]
result.addAll(elements);
^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method addAll(Collection) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[75]
pivot = ((ArrayList) elements).get(elements.size() / 2);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[79]
Collection more = new ArrayList(elements.size());
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[79]
Collection more = new ArrayList(elements.size());
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[80]
Collection less = new ArrayList(elements.size());
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[80]
Collection less = new ArrayList(elements.size());
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[81]
Collection equal = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[81]
Collection equal = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[91]
result.addAll(less);
^^^^^^^^^^^^^^^^^^^
Type safety: The method addAll(Collection) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[93]
Iterator iter = equal.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[97]
result.add(next);
^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[102]
result.addAll(less);
^^^^^^^^^^^^^^^^^^^
Type safety: The method addAll(Collection) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[103]
result.addAll(equal);
^^^^^^^^^^^^^^^^^^^^
Type safety: The method addAll(Collection) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[109]
private static void partitionHelper(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[109]
private static void partitionHelper(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[109]
private static void partitionHelper(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[109]
private static void partitionHelper(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[109]
private static void partitionHelper(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[115]
Iterator iter = input.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[120]
int compareResult = c.compare(next, toTest);
^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method compare(Object, Object) belongs to the raw type Comparator. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[123]
less.add(next);
^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[125]
more.add(next);
^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[127]
equal.add(next);
^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[159]
public static void partition(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[159]
public static void partition(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[159]
public static void partition(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[159]
public static void partition(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[159]
public static void partition(Collection less, Collection more, Collection equal, Collection input, Comparator c, Object toTest,
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[165]
Iterator iter = input.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[178]
more.add(next);
^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[195]
public static List removeFirst(Collection collection, int numToRemove) {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[195]
public static List removeFirst(Collection collection, int numToRemove) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[198]
List removed = new ArrayList(toRemove);
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[198]
List removed = new ArrayList(toRemove);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[200]
Iterator iter = collection.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[203]
removed.add(iter.next());
^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[220]
public static Object findGreatest(Collection toSearch, Comparator c) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[220]
public static Object findGreatest(Collection toSearch, Comparator c) {
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[222]
if (toSearch instanceof SortedSet && ((SortedSet) toSearch).comparator().equals(c)) {
^^^^^^^^^
SortedSet is a raw type. References to generic type SortedSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[223]
return ((SortedSet) toSearch).last();
^^^^^^^^^
SortedSet is a raw type. References to generic type SortedSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[228]
Iterator iter = toSearch.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/SortUtil.java:[233]
if (result == null || c.compare(result, next) > 0) {
^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method compare(Object, Object) belongs to the raw type Comparator. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogProblemFilter.java:[602]
Iterator definedFilters = MarkerSupportRegistry.getInstance().getRegisteredFilters().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogProblemFilter.java:[653]
List types = filter.getSelectedTypes();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogProblemFilter.java:[658]
Iterator typesIterator = types.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/DialogProblemFilter.java:[831]
Iterator registered = MarkerSupportRegistry.getInstance().getRegisteredFilters().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[106]
protected List rootTypes = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[106]
protected List rootTypes = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[108]
protected List selectedTypes = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[108]
protected List selectedTypes = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[118]
private Set cachedWorkingSet;
^^^
Set is a raw type. References to generic type Set<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[139]
this.rootTypes.add(type);
^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[151]
public void addAllSubTypes(List types) {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[158]
private void addAllSubTypes(List types, MarkerType type) {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[164]
types.add(type);
^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[183]
private List findMarkers(Object[] objects, int depth, int limit, IProgressMonitor mon, boolean ignoreExceptions) throws CoreException {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[188]
List resultList = new ArrayList(objects.length * 2);
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[188]
List resultList = new ArrayList(objects.length * 2);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[195]
HashSet typesToSearch = new HashSet(selectedTypes.size());
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[195]
HashSet typesToSearch = new HashSet(selectedTypes.size());
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[199]
HashSet includeAllSubtypes = new HashSet(selectedTypes.size());
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[199]
HashSet includeAllSubtypes = new HashSet(selectedTypes.size());
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[201]
typesToSearch.addAll(selectedTypes);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method addAll(Collection) belongs to the raw type AbstractCollection. References to generic type AbstractCollection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[203]
Iterator iter = selectedTypes.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[208]
Collection subtypes = Arrays.asList(type.getAllSubTypes());
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[210]
if (selectedTypes.containsAll(subtypes)) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method containsAll(Collection) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[211]
typesToSearch.removeAll(subtypes);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method removeAll(Collection) belongs to the raw type AbstractSet. References to generic type AbstractSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[213]
includeAllSubtypes.add(type);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[221]
HashSet resourcesToSearch = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[221]
HashSet resourcesToSearch = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[239]
resourcesToSearch.add(next);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[327]
resultList.add(marker);
^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[353]
Collection findMarkers(IProgressMonitor mon, boolean ignoreExceptions) throws CoreException {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[355]
List unfiltered = Collections.EMPTY_LIST;
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[410]
List result = new ArrayList(elements.length);
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[410]
List result = new ArrayList(elements.length);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[413]
IResource next = (IResource) element.getAdapter(IResource.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IResource to IResource
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[416]
result.add(next);
^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[420]
return (IResource[]) result.toArray(new IResource[result.size()]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[429]
private Set getWorkingSetAsSetOfPaths() {
^^^
Set is a raw type. References to generic type Set<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[431]
HashSet result = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[431]
HashSet result = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[444]
private void addResourcesAndChildren(HashSet result, IResource[] resources) {
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[447]
result.add(currentResource.getFullPath().toString());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[473]
Collection projects = getProjectsAsCollection(resources);
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[475]
return (IProject[]) projects.toArray(new IProject[projects.size()]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[489]
Collection projects = getProjectsAsCollection(objects);
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[491]
return (IProject[]) projects.toArray(new IProject[projects.size()]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[501]
static Collection getProjectsAsCollection(Object[] elements) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[502]
HashSet projects = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[502]
HashSet projects = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[506]
projects.add(((IResource) element).getProject());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[510]
projects.add(resource.getProject());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[515]
projects.add(element2);
^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[642]
Set workingSetPaths = getWorkingSetAsSetOfPaths();
^^^
Set is a raw type. References to generic type Set<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[715]
public List getRootTypes() {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[724]
public List getSelectedTypes() {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[816]
List newTypes = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[816]
List newTypes = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[834]
selectedTypes.add(markerType);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[843]
selectedTypes.add(newTypes.get(i));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[877]
selectedTypes.add(markerType);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[918]
List newTypes = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[918]
List newTypes = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[936]
selectedTypes.add(markerType);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[945]
selectedTypes.add(newTypes.get(i));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[978]
List includedTypes = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[978]
List includedTypes = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerFilter.java:[1022]
public void setSelectedTypes(List selectedTypes) {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ITableListener.java:[25]
public void contentsFound(Collection contents);
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSorter.java:[23]
abstract class MarkerSorter implements Comparator {
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[29]
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[88]
boolean checked = IDEWorkbenchPlugin.getDefault().getPreferenceStore().getBoolean(enablementKey);
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[88]
boolean checked = IDEWorkbenchPlugin.getDefault().getPreferenceStore().getBoolean(enablementKey);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[100]
limitEditor.setPreferenceStore(IDEWorkbenchPlugin.getDefault().getPreferenceStore());
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[100]
limitEditor.setPreferenceStore(IDEWorkbenchPlugin.getDefault().getPreferenceStore());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[138]
IDEWorkbenchPlugin.getDefault().getPreferenceStore().setValue(enablementKey, enablementButton.getSelection());
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[138]
IDEWorkbenchPlugin.getDefault().getPreferenceStore().setValue(enablementKey, enablementButton.getSelection());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[139]
IDEWorkbenchPlugin.getDefault().savePluginPreferences();
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[139]
IDEWorkbenchPlugin.getDefault().savePluginPreferences();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[139]
IDEWorkbenchPlugin.getDefault().savePluginPreferences();
^^^^^^^^^^^^^^^^^^^^^^^
The method savePluginPreferences() from the type Plugin is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[151]
boolean checked = IDEWorkbenchPlugin.getDefault().getPreferenceStore().getDefaultBoolean(enablementKey);
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerViewPreferenceDialog.java:[151]
boolean checked = IDEWorkbenchPlugin.getDefault().getPreferenceStore().getDefaultBoolean(enablementKey);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[43]
import org.eclipse.ui.internal.WorkbenchMessages;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchMessages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[44]
import org.eclipse.ui.internal.WorkbenchPage;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchPage' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[45]
import org.eclipse.ui.internal.WorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[46]
import org.eclipse.ui.internal.util.Util;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'Util' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[46]
import org.eclipse.ui.internal.util.Util;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.ui.internal.util.Util is never used
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[62]
private static final String NO_TARGETS_MSG = WorkbenchMessages.Workbench_showInNoTargets;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchMessages' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[62]
private static final String NO_TARGETS_MSG = WorkbenchMessages.Workbench_showInNoTargets;
^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The field 'WorkbenchMessages.Workbench_showInNoTargets' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[66]
private Map actions = new HashMap(21);
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[66]
private Map actions = new HashMap(21);
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[176]
actions.put(desc.getId(), action);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[186]
private ArrayList getShowInPartIds(IWorkbenchPart sourcePart) {
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[187]
ArrayList targetIds = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[187]
ArrayList targetIds = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[188]
WorkbenchPage page = (WorkbenchPage) getWindow().getActivePage();
^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchPage' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[188]
WorkbenchPage page = (WorkbenchPage) getWindow().getActivePage();
^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchPage' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[190]
targetIds.addAll(page.getShowInPartIds());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method addAll(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[190]
targetIds.addAll(page.getShowInPartIds());
^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'WorkbenchPage.getShowInPartIds()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[198]
targetIds.add(partIds[i]);
^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[203]
page.sortShowInPartIds(targetIds);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'WorkbenchPage.sortShowInPartIds(ArrayList<?>)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[231]
return (IShowInSource) sourcePart.getAdapter(IShowInSource.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IShowInSource to IShowInSource
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[243]
return (IShowInTargetList) sourcePart.getAdapter(IShowInTargetList.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IShowInTargetList to IShowInTargetList
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[278]
ArrayList ids = getShowInPartIds(sourcePart);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[279]
ArrayList descs = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[279]
ArrayList descs = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[280]
IViewRegistry reg = WorkbenchPlugin.getDefault().getViewRegistry();
^^^^^^^^^^^^^^^
Discouraged access: The type 'WorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[280]
IViewRegistry reg = WorkbenchPlugin.getDefault().getViewRegistry();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'WorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[280]
IViewRegistry reg = WorkbenchPlugin.getDefault().getViewRegistry();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'WorkbenchPlugin.getViewRegistry()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.110.1.v20170704-1208/org.eclipse.ui.workbench-3.110.1.v20170704-1208.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[281]
for (Iterator i = ids.iterator(); i.hasNext();) {
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[303]
descs.add(desc);
^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[307]
descs.add(desc);
^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[311]
descs.add(desc);
^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ShowInMenu.java:[316]
return (IViewDescriptor[]) descs.toArray(new IViewDescriptor[descs.size()]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionMarkCompleted.java:[51]
Map attrs = new HashMap();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionMarkCompleted.java:[51]
Map attrs = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionMarkCompleted.java:[52]
attrs.put(IMarker.DONE, Boolean.TRUE);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionMarkCompleted.java:[69]
for (Iterator iterator = selection.iterator(); iterator.hasNext();) {
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FiltersAction.java:[20]
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FiltersAction.java:[35]
setImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor("elcl16/filter_ps.gif")); //$NON-NLS-1$
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FiltersAction.java:[35]
setImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor("elcl16/filter_ps.gif")); //$NON-NLS-1$
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getIDEImageDescriptor(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[128]
private Map typesToMappings = new HashMap();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[128]
private Map typesToMappings = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[218]
Iterator mappings = ((Collection) typesToMappings.get(marker.getType())).iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[218]
Iterator mappings = ((Collection) typesToMappings.get(marker.getType())).iterator();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[322]
Collection entries = new HashSet();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[322]
Collection entries = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[324]
entries = (Collection) typesToMappings.get(markerType);
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[326]
entries = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[329]
entries.add(entry);
^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[330]
typesToMappings.put(type.getId(), entries);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[343]
Collection types = new HashSet();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[343]
Collection types = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[347]
types.add(type);
^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[350]
types.add(sub);
^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[359]
types.toArray(typesArray);
^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[391]
Iterator entries = typesToMappings.values().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[392]
Collection removeCollection = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[392]
Collection removeCollection = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[394]
Collection mappings = (Collection) entries.next();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[394]
Collection mappings = (Collection) entries.next();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[395]
Iterator mappingsIterator = mappings.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[399]
removeCollection.add(next);
^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/FieldMarkerGroup.java:[403]
mappings.removeAll(removeCollection);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method removeAll(Collection) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/util/ExtendedDiagnosticComposite.java:[294]
List<Diagnostic> childList = new ArrayList<Diagnostic>(((List<Diagnostic>) parentElement).size());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: Unchecked cast from Object to List<Diagnostic>
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/util/ExtendedDiagnosticComposite.java:[295]
for (Diagnostic child : (List<Diagnostic>) parentElement) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: Unchecked cast from Object to List<Diagnostic>
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[46]
private Map markerTable;
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[55]
public MarkerList(Collection markers) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[56]
this((ConcreteMarker[]) markers.toArray(new ConcreteMarker[markers.size()]));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[85]
private Map getMarkerMap() {
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[87]
markerTable = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[90]
markerTable.put(marker.getMarker(), marker);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[135]
public List asList() {
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[139]
public MarkerList findMarkers(Collection ofIMarker) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[140]
List result = new ArrayList(ofIMarker.size());
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[140]
List result = new ArrayList(ofIMarker.size());
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[142]
Iterator iter = ofIMarker.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[148]
result.add(marker);
^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[179]
Collection returnMarkers = new HashSet();// avoid duplicates
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[179]
Collection returnMarkers = new HashSet();// avoid duplicates
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[182]
returnMarkers.addAll(element.findMarkers(mon, ignoreExceptions));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method addAll(Collection) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[196]
ArrayList result = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[196]
ArrayList result = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[201]
result.addAll(Arrays.asList(newMarkers));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method addAll(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[204]
return (IMarker[]) result.toArray(new IMarker[result.size()]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[319]
public void updateMarkers(Collection addedMarkers, Collection removedMarkers) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[319]
public void updateMarkers(Collection addedMarkers, Collection removedMarkers) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[320]
List list = new ArrayList(asList());
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[320]
List list = new ArrayList(asList());
^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[320]
List list = new ArrayList(asList());
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[321]
list.addAll(addedMarkers);
^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method addAll(Collection) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[322]
list.removeAll(removedMarkers);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method removeAll(Collection) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerList.java:[324]
list.toArray(markers);
^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionPasteMarker.java:[91]
final ArrayList<Map> newMarkerAttributes = new ArrayList<Map>();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionPasteMarker.java:[91]
final ArrayList<Map> newMarkerAttributes = new ArrayList<Map>();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionPasteMarker.java:[113]
final Map[] attrs = newMarkerAttributes.toArray(new Map[newMarkerAttributes.size()]);
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSelectionProviderAction.java:[71]
ArrayList markers = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSelectionProviderAction.java:[71]
ArrayList markers = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSelectionProviderAction.java:[79]
markers.add(((ConcreteMarker) object).getMarker());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSelectionProviderAction.java:[83]
return (IMarker[]) markers.toArray(new IMarker[markers.size()]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ProblemFilter.java:[327]
final String namespace = element.getNamespace();
^^^^^^^^^^^^^^
The method getNamespace() from the type IConfigurationElement is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionOpenMarker.java:[41]
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionOpenMarker.java:[68]
setImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor(IMAGE_PATH));
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionOpenMarker.java:[68]
setImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor(IMAGE_PATH));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getIDEImageDescriptor(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionOpenMarker.java:[69]
setDisabledImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor(DISABLED_IMAGE_PATH));
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionOpenMarker.java:[69]
setDisabledImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor(DISABLED_IMAGE_PATH));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getIDEImageDescriptor(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionOpenMarker.java:[147]
IStatus status = new Status(IStatus.ERROR, IDEWorkbenchPlugin.IDE_WORKBENCH, message);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionOpenMarker.java:[147]
IStatus status = new Status(IStatus.ERROR, IDEWorkbenchPlugin.IDE_WORKBENCH, message);
^^^^^^^^^^^^^
Discouraged access: The field 'IDEWorkbenchPlugin.IDE_WORKBENCH' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/ActionOpenMarker.java:[158]
adapter.setProperty(StatusAdapter.TITLE_PROPERTY, MarkerMessages.OpenMarker_errorTitle);
^^^^^^^^^^^^^^
The field StatusAdapter.TITLE_PROPERTY is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[41]
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[136]
private Collection registeredFilters = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[136]
private Collection registeredFilters = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[138]
private Map markerGroups = new HashMap();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[138]
private Map markerGroups = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[140]
private Map markerGroupingEntries = new HashMap();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[140]
private Map markerGroupingEntries = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[142]
private HashMap categories = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[142]
private HashMap categories = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[144]
private HashMap hierarchyOrders = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[144]
private HashMap hierarchyOrders = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[153]
IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(IDEWorkbenchPlugin.IDE_WORKBENCH, MARKER_SUPPORT);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[153]
IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(IDEWorkbenchPlugin.IDE_WORKBENCH, MARKER_SUPPORT);
^^^^^^^^^^^^^
Discouraged access: The field 'IDEWorkbenchPlugin.IDE_WORKBENCH' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[159]
Map groupingEntries = new HashMap();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[159]
Map groupingEntries = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[160]
Set attributeMappings = new HashSet();
^^^
Set is a raw type. References to generic type Set<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[160]
Set attributeMappings = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[181]
private void processExtension(IExtensionTracker tracker, IExtension extension, Map groupingEntries, Collection attributeMappings) {
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[181]
private void processExtension(IExtensionTracker tracker, IExtension extension, Map groupingEntries, Collection attributeMappings) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[187]
registeredFilters.add(filter);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[195]
markerGroups.put(group.getId(), group);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[206]
Collection entries;
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[208]
entries = (Collection) groupingEntries.get(groupName);
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[210]
entries = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[213]
entries.add(entry);
^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[214]
groupingEntries.put(groupName, entries);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[224]
attributeMappings.add(grouping);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[235]
categories.put(element2, categoryName);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[254]
private void postProcessExtensions(Map groupingEntries, Collection attributeMappings) {
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[254]
private void postProcessExtensions(Map groupingEntries, Collection attributeMappings) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[264]
private void processGroupingEntries(Map groupingEntries) {
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[265]
Iterator entriesIterator = groupingEntries.keySet().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[268]
Iterator nextEntriesIterator = ((Collection) groupingEntries.get(nextGroupId)).iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[268]
Iterator nextEntriesIterator = ((Collection) groupingEntries.get(nextGroupId)).iterator();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[272]
markerGroupingEntries.put(next.getId(), next);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[279]
IDEWorkbenchPlugin.log(NLS.bind("markerGroupingEntry {0} defines invalid group {1}",//$NON-NLS-1$
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[279]
IDEWorkbenchPlugin.log(NLS.bind("markerGroupingEntry {0} defines invalid group {1}",//$NON-NLS-1$
new String[] { next.getId(), nextGroupId }));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.log(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[291]
private void processAttributeMappings(Collection attributeMappings) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[292]
Iterator mappingsIterator = attributeMappings.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[301]
IDEWorkbenchPlugin.log(NLS.bind("Reference to invalid markerGroupingEntry {0}",//$NON-NLS-1$
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[301]
IDEWorkbenchPlugin.log(NLS.bind("Reference to invalid markerGroupingEntry {0}",//$NON-NLS-1$
defaultEntryId));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.log(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[314]
IDEWorkbenchPlugin.log(NLS.bind("Reference to invaild markerGroupingEntry {0}", //$NON-NLS-1$
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[314]
IDEWorkbenchPlugin.log(NLS.bind("Reference to invaild markerGroupingEntry {0}", //$NON-NLS-1$
defaultEntryId));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.log(String)' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[346]
Map groupingEntries = new HashMap();
^^^
Map is a raw type. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[346]
Map groupingEntries = new HashMap();
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[347]
Set attributeMappings = new HashSet();
^^^
Set is a raw type. References to generic type Set<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[347]
Set attributeMappings = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[357]
public Collection getRegisteredFilters() {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[358]
Collection filteredFilters = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[358]
Collection filteredFilters = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[359]
Iterator registeredIterator = registeredFilters.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[365]
filteredFilters.add(next);
^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[463]
List selectedTypes = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[463]
List selectedTypes = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[470]
IStatus status = new Status(IStatus.WARNING, IDEWorkbenchPlugin.IDE_WORKBENCH, IStatus.WARNING,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[470]
IStatus status = new Status(IStatus.WARNING, IDEWorkbenchPlugin.IDE_WORKBENCH, IStatus.WARNING,
^^^^^^^^^^^^^
Discouraged access: The field 'IDEWorkbenchPlugin.IDE_WORKBENCH' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[472]
IDEWorkbenchPlugin.getDefault().getLog().log(status);
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[472]
IDEWorkbenchPlugin.getDefault().getLog().log(status);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[474]
selectedTypes.add(type);
^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[497]
Collection removedGroups = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[497]
Collection removedGroups = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[506]
removedGroups.add(element);
^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[521]
Iterator entriesIterator = markerGroupingEntries.keySet().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[522]
Collection removedKeys = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[522]
Collection removedKeys = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[527]
removedKeys.add(entryId);
^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[531]
Iterator removedIterator = removedKeys.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[544]
private void removeValues(Object value, HashMap cache) {
^^^^^^^
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[545]
Collection keysToRemove = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[545]
Collection keysToRemove = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[546]
Iterator keys = cache.keySet().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[551]
Collection collection = (Collection) next;
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[551]
Collection collection = (Collection) next;
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[555]
keysToRemove.add(key);
^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[561]
keysToRemove.add(key);
^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[565]
Iterator keysToRemoveIterator = keysToRemove.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[662]
public Collection getMarkerGroups() {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerSupportRegistry.java:[677]
markerGroups.put(group.getDescription(), group);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableComparator.java:[27]
public class TableComparator extends ViewerComparator implements Comparator {
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableComparator.java:[352]
Arrays.sort(elements, start, end, new Comparator() {
@Override
public int compare(Object a, Object b) {
return TableComparator.this.compare(viewer, a, b);
}
});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: Unchecked invocation sort(Object[], int, int, new Comparator(){}) of the generic method sort(T[], int, int, Comparator<? super T>) of type Arrays
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableComparator.java:[352]
Arrays.sort(elements, start, end, new Comparator() {
@Override
public int compare(Object a, Object b) {
return TableComparator.this.compare(viewer, a, b);
}
});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The expression of type new Comparator(){} needs unchecked conversion to conform to Comparator<? super Object>
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/TableComparator.java:[352]
Arrays.sort(elements, start, end, new Comparator() {
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[113]
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[221]
private Collection categoriesToExpand = new HashSet();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[221]
private Collection categoriesToExpand = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[223]
private Collection preservedSelection = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[223]
private Collection preservedSelection = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[268]
categoriesToExpand.add(categories[0].getName());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[270]
Collection newCategories = new HashSet();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[270]
Collection newCategories = new HashSet();
^^^^^^^
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[277]
newCategories.add(category.getName());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[290]
Collection newSelection = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[290]
Collection newSelection = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[294]
Iterator preserved = preservedSelection.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[298]
newSelection.add(element);
^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[320]
categoriesToExpand.add(category.getName());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[352]
Iterator iterator = structured.iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[356]
preservedSelection.add(new MarkerDescriptor(next.getConcreteRepresentative()));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[633]
Activator.getDefault().savePluginPreferences();
^^^^^^^^^^^^^^^^^^^^^^^
The method savePluginPreferences() from the type Plugin is deprecated
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[760]
public Object getAdapter(Class adaptable) {
^^^^^^
Type safety: The return type Object for getAdapter(Class) from the type MarkerView needs unchecked conversion to conform to T from the type WorkbenchPart
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[760]
public Object getAdapter(Class adaptable) {
^^^^^
Class is a raw type. References to generic type Class<T> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[775]
return super.getAdapter(adaptable);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: Unchecked invocation getAdapter(Class) of the generic method getAdapter(Class<T>) of type WorkbenchPart
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[775]
return super.getAdapter(adaptable);
^^^^^^^^^
Type safety: The expression of type Class needs unchecked conversion to conform to Class<Object>
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[821]
List markers = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[821]
List markers = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[826]
markers.add(((ConcreteMarker) element).getMarker());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[993]
List selection = ((IStructuredSelection) getViewer().getSelection()).toList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[996]
selection.toArray(markers);
^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1099]
for (Iterator iterator = selection.iterator(); iterator.hasNext();) {
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1123]
List selectedElements = new ArrayList();
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1123]
List selectedElements = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1132]
selectedElements.add(mapping);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1136]
selectedElements.add(file);
^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1140]
for (Iterator iterator = ((IStructuredSelection) selection).iterator(); iterator.hasNext();) {
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1155]
selectedElements.add(mapping);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1158]
selectedElements.add(resource);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1161]
selectedElements.add(object);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1165]
selectedElements.add(obj);
^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1182]
Collection selectionCollection = new ArrayList();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1182]
Collection selectionCollection = new ArrayList();
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1186]
selectionCollection.add(element);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1190]
selectionCollection.add(element);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1192]
selectionCollection.add(element);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1197]
selectionCollection.toArray(selections);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1203]
Iterator systemFilters = MarkerSupportRegistry.getInstance().getRegisteredFilters().iterator();
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1218]
private void addResources(Collection resources, ResourceMapping mapping) {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1224]
resources.add(element);
^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1275]
Collection oldProjects = MarkerFilter.getProjectsAsCollection(oldElements);
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1276]
Collection newProjects = MarkerFilter.getProjectsAsCollection(newElements);
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1279]
if (newProjects.containsAll(oldProjects)) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method containsAll(Collection) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1454]
List newSelection = new ArrayList(structuredSelection.size());
^^^^
List is a raw type. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1454]
List newSelection = new ArrayList(structuredSelection.size());
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1456]
for (Iterator i = structuredSelection.iterator(); i.hasNext();) {
^^^^^^^^
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1461]
newSelection.add(marker);
^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1518]
Collection filters = findEnabledFilters();
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1521]
filters.toArray(enabledFilters);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1532]
protected Collection findEnabledFilters() {
^^^^^^^^^^
Collection is a raw type. References to generic type Collection<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1534]
ArrayList filters = new ArrayList(0);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1534]
ArrayList filters = new ArrayList(0);
^^^^^^^^^
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1537]
filters.add(element);
^^^^^^^^^^^^^^^^^^^^
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1610]
IBindingService bindingService = (IBindingService) PlatformUI.getWorkbench().getAdapter(IBindingService.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IBindingService to IBindingService
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1627]
if (targetObjectURI == null || targetObjectURI.equals("")) {
^^
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1664]
if (IDEWorkbenchPlugin.getDefault().getPreferenceStore().getBoolean(getMarkerEnablementPreferenceName())) {
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1664]
if (IDEWorkbenchPlugin.getDefault().getPreferenceStore().getBoolean(getMarkerEnablementPreferenceName())) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1665]
return IDEWorkbenchPlugin.getDefault().getPreferenceStore().getInt(getMarkerLimitPreferenceName());
^^^^^^^^^^^^^^^^^^
Discouraged access: The type 'IDEWorkbenchPlugin' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1665]
return IDEWorkbenchPlugin.getDefault().getPreferenceStore().getInt(getMarkerLimitPreferenceName());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Discouraged access: The method 'IDEWorkbenchPlugin.getDefault()' is not API (restriction on classpath entry '/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.13.1.v20170822-1526/org.eclipse.ui.ide-3.13.1.v20170822-1526.jar')
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/MarkerView.java:[1807]
return (IUndoContext) ResourcesPlugin.getWorkspace().getAdapter(IUndoContext.class);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unnecessary cast from IUndoContext to IUndoContext
[WARNING] /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/org/eclipse/sphinx/emf/validation/ui/views/CategoryComparator.java:[28]
public class CategoryComparator extends ViewerComparator implements Comparator {
^^^^^^^^^^
Comparator is a raw type. References to generic type Comparator<T> should be parameterized
607 problems (607 warnings)
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/src/test/resources
[INFO]
[INFO] --- tycho-source-plugin:1.0.0:plugin-source (plugin-source) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO] Building jar: /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/target/org.eclipse.sphinx.emf.validation.ui-0.11.2-SNAPSHOT-sources.jar
[INFO]
[INFO] --- target-platform-configuration:1.0.0:target-platform (default-target-platform) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:package-plugin (default-package-plugin) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO] Building jar: /home/jenkins/agent/workspace/gerrit/plugins/org.eclipse.sphinx.emf.validation.ui/target/org.eclipse.sphinx.emf.validation.ui-0.11.2-SNAPSHOT.jar
[INFO]
[INFO] --- tycho-p2-plugin:1.0.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO]
[INFO] --- tycho-source-feature-plugin:1.0.0:source-feature (source-feature) @ org.eclipse.sphinx.emf.validation.ui ---
[INFO]
[INFO] --- tycho-p2-plugin:1.0.0:p2-metadata (attach-p2-metadata) @ org.eclipse.sphinx.emf.validation.ui ---