Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2019-12-28 11:21:33 +0000
committerMichael Keppler2019-12-28 11:21:33 +0000
commit74735166e9886f51705e7ca13abfb96eccc039b5 (patch)
tree73b2fce37b263725d61a3c48a194462f1ab02caf /org.eclipse.egit.mylyn.ui/src/org
parent32d478d9c89f7ad230dd64ad4c2e594140ca176a (diff)
downloadegit-74735166e9886f51705e7ca13abfb96eccc039b5.tar.gz
egit-74735166e9886f51705e7ca13abfb96eccc039b5.tar.xz
egit-74735166e9886f51705e7ca13abfb96eccc039b5.zip
Remove redundant type information
Execute only the cleanup "Remove redundant type information" on the egit projects. The number of Java error/warning markers is the same before and after this change. The cleanup preference was already enabled on all projects, but probably we did not execute the cleanup when enabling it. Change-Id: I638e47b1cb4826adb3843dc143e84a3a110eb4c7 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.egit.mylyn.ui/src/org')
-rw-r--r--org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/CommitHyperlinkDetector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/CommitHyperlinkDetector.java b/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/CommitHyperlinkDetector.java
index 5e86144458..694aa4362b 100644
--- a/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/CommitHyperlinkDetector.java
+++ b/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/CommitHyperlinkDetector.java
@@ -233,7 +233,7 @@ public class CommitHyperlinkDetector extends AbstractHyperlinkDetector {
continue;
}
if (links == null) {
- links = new ArrayList<IHyperlink>();
+ links = new ArrayList<>();
}
int start = matcher.start(1);
Region region = new Region(contentOffset + start, matcher.end(1)

Back to the top