Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2017-06-20 03:22:33 -0400
committerTomasz Zarna2017-06-20 16:36:57 -0400
commit048146c2d1a7cd74aa62d0aa22fe237792d20980 (patch)
treecace15c17d2c4fe5f88770fb804585e0a612868f /org.eclipse.mylyn.reviews.ui/src
parent1e8a786ff25a28f060f9188d933df0b80ad0bfba (diff)
downloadorg.eclipse.mylyn.reviews-048146c2d1a7cd74aa62d0aa22fe237792d20980.tar.gz
org.eclipse.mylyn.reviews-048146c2d1a7cd74aa62d0aa22fe237792d20980.tar.xz
org.eclipse.mylyn.reviews-048146c2d1a7cd74aa62d0aa22fe237792d20980.zip
remove unnecessary code from various o.e.mylyn.reviews project
Diffstat (limited to 'org.eclipse.mylyn.reviews.ui/src')
-rw-r--r--org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/annotations/CommentAnnotationHover.java1
-rw-r--r--org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/compare/ReviewCompareAnnotationSupport.java1
-rw-r--r--org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/parts/TaskEditorReviewsPart.java1
-rw-r--r--org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/ruler/CommentAnnotationRulerHover.java1
4 files changed, 0 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/annotations/CommentAnnotationHover.java b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/annotations/CommentAnnotationHover.java
index 799f39c4..80b3613e 100644
--- a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/annotations/CommentAnnotationHover.java
+++ b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/annotations/CommentAnnotationHover.java
@@ -227,7 +227,6 @@ public class CommentAnnotationHover implements IAnnotationHover, IAnnotationHove
return (annotation != null && !annotations.contains(annotation));
}
- @SuppressWarnings("unchecked")
private List<CommentAnnotation> getAnnotationsForLine(ISourceViewer viewer, int line) {
IAnnotationModel model = getAnnotationModel(viewer);
if (model == null) {
diff --git a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/compare/ReviewCompareAnnotationSupport.java b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/compare/ReviewCompareAnnotationSupport.java
index 5d2eb276..ed87f467 100644
--- a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/compare/ReviewCompareAnnotationSupport.java
+++ b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/compare/ReviewCompareAnnotationSupport.java
@@ -382,7 +382,6 @@ public class ReviewCompareAnnotationSupport {
widget.setRedraw(true);
}
- @SuppressWarnings("unchecked")
private List<CommentAnnotation> getAnnotationsForLine(SourceViewer viewer, int offset) {
IAnnotationModel model = viewer.getAnnotationModel();
if (model == null) {
diff --git a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/parts/TaskEditorReviewsPart.java b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/parts/TaskEditorReviewsPart.java
index ff1847e4..d30567be 100644
--- a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/parts/TaskEditorReviewsPart.java
+++ b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/parts/TaskEditorReviewsPart.java
@@ -59,7 +59,6 @@ public class TaskEditorReviewsPart extends AbstractTaskEditorPart {
this.labelProvider = labelProvider;
}
- @SuppressWarnings("unchecked")
@Override
public int compare(TableViewer viewer, Object e1, Object e2, int columnIndex) {
int cat1 = category(e1);
diff --git a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/ruler/CommentAnnotationRulerHover.java b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/ruler/CommentAnnotationRulerHover.java
index 1b006d3a..9ede3265 100644
--- a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/ruler/CommentAnnotationRulerHover.java
+++ b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/internal/reviews/ui/editors/ruler/CommentAnnotationRulerHover.java
@@ -201,7 +201,6 @@ public class CommentAnnotationRulerHover
return (annotation != null && !annotations.contains(annotation));
}
- @SuppressWarnings("unchecked")
private List<CommentAnnotation> getCommentAnnotationsForLine(ISourceViewer viewer, int line) {
IAnnotationModel model = getAnnotationModel(viewer);
if (model == null) {

Back to the top