Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit 28e244e

Browse files
Godinmarchof
authored andcommitted
Fix compilation errors reported in Eclipse Neon (#126)
1 parent f5c3016 commit 28e244e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

com.mountainminds.eclemma.ui/src/com/mountainminds/eclemma/internal/ui/ScopeViewer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ private static class PackageFragmentRootSorter extends ViewerSorter {
8282
public int compare(Viewer viewer, Object e1, Object e2) {
8383
IPackageFragmentRoot root1 = (IPackageFragmentRoot) e1;
8484
IPackageFragmentRoot root2 = (IPackageFragmentRoot) e2;
85-
@SuppressWarnings("unchecked")
86-
final Comparator<Object> comparator = getComparator();
85+
@SuppressWarnings("rawtypes")
86+
final Comparator comparator = getComparator();
8787
int result = comparator.compare(root1.getJavaProject().getElementName(),
8888
root2.getJavaProject().getElementName());
8989
if (result != 0)

com.mountainminds.eclemma.ui/src/com/mountainminds/eclemma/internal/ui/annotation/CoverageAnnotationModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ public void removeAnnotation(Annotation annotation) {
287287
throw new UnsupportedOperationException();
288288
}
289289

290-
public Iterator<?> getAnnotationIterator() {
290+
public Iterator getAnnotationIterator() {
291291
return annotations.iterator();
292292
}
293293

0 commit comments

Comments
 (0)