Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2021-02-24 09:58:49 +0000
committerLars Vogel2021-03-10 15:31:41 +0000
commit1071dc2d284a9f588a3c242728d1e52a0ead4023 (patch)
tree6ad02deb3a9d9f932356e576ea355d876fe5aa7a
parentb45c3006f3b8fd1bdc8dbd281c5e9cd42a974055 (diff)
downloadeclipse.platform.text-1071dc2d284a9f588a3c242728d1e52a0ead4023.tar.gz
eclipse.platform.text-1071dc2d284a9f588a3c242728d1e52a0ead4023.tar.xz
eclipse.platform.text-1071dc2d284a9f588a3c242728d1e52a0ead4023.zip
This avoids the pointer to the outer class and save a tiny bit of memory. Done via JDT cleanup actions Change-Id: I01d7df072641d77f1ea4613128ca13214f4dd061 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/core/QuickTextQuery.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/core/QuickTextQuery.java b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/core/QuickTextQuery.java
index 2b6589b1356..608143eef40 100644
--- a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/core/QuickTextQuery.java
+++ b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/core/QuickTextQuery.java
@@ -29,7 +29,7 @@ import org.eclipse.jface.text.IRegion;
public class QuickTextQuery {
//TODO: delete and use jface Region class instead.
- public class TextRange implements IRegion {
+ public static class TextRange implements IRegion {
public final int start;
public final int len;
public TextRange(int start, int len) {

Back to the top