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

Commit

Permalink
Fix compilation errors reported in Eclipse Neon (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin authored and marchof committed Aug 2, 2016
1 parent f5c3016 commit 28e244e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ private static class PackageFragmentRootSorter extends ViewerSorter {
public int compare(Viewer viewer, Object e1, Object e2) {
IPackageFragmentRoot root1 = (IPackageFragmentRoot) e1;
IPackageFragmentRoot root2 = (IPackageFragmentRoot) e2;
@SuppressWarnings("unchecked")
final Comparator<Object> comparator = getComparator();
@SuppressWarnings("rawtypes")
final Comparator comparator = getComparator();
int result = comparator.compare(root1.getJavaProject().getElementName(),
root2.getJavaProject().getElementName());
if (result != 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public void removeAnnotation(Annotation annotation) {
throw new UnsupportedOperationException();
}

public Iterator<?> getAnnotationIterator() {
public Iterator getAnnotationIterator() {
return annotations.iterator();
}

Expand Down

0 comments on commit 28e244e

Please sign in to comment.