Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-11-14 08:33:32 +0000
committerLars Vogel2019-12-03 14:50:52 +0000
commit6b2a33e6a69a6661649601cc07e72e2ceb494ca7 (patch)
treebf90d36269ce57900d30b1eb4d1e28839639be0c
parent251dfd0050b6d96af2b016a6151d1e5f58045fa4 (diff)
downloadeclipse.platform.text-6b2a33e6a69a6661649601cc07e72e2ceb494ca7.tar.gz
eclipse.platform.text-6b2a33e6a69a6661649601cc07e72e2ceb494ca7.tar.xz
eclipse.platform.text-6b2a33e6a69a6661649601cc07e72e2ceb494ca7.zip
Whitespace removal for example plug-ins platform.text
Done via running the cleanup action on the code base Change-Id: I841f0bd276eabd728c37ad41e59203de71639c3a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorExamplePlugin.java12
-rw-r--r--org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java2
-rw-r--r--org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/javadoc/JavaDocScanner.java2
-rw-r--r--org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.ui.genericeditor.examples/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.ui.genericeditor.examples/src/org/eclipse/ui/genericeditor/examples/dotproject/SpellCheckDocumentListener.java10
6 files changed, 15 insertions, 15 deletions
diff --git a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorExamplePlugin.java b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorExamplePlugin.java
index da21bfec3..cf7a05b49 100644
--- a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorExamplePlugin.java
+++ b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorExamplePlugin.java
@@ -26,7 +26,7 @@ import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
* The example java editor plug-in class.
- *
+ *
* @since 3.0
*/
public class JavaEditorExamplePlugin extends AbstractUIPlugin {
@@ -54,7 +54,7 @@ public class JavaEditorExamplePlugin extends AbstractUIPlugin {
/**
* Returns the default plug-in instance.
- *
+ *
* @return the default plug-in instance
*/
public static JavaEditorExamplePlugin getDefault() {
@@ -63,7 +63,7 @@ public class JavaEditorExamplePlugin extends AbstractUIPlugin {
/**
* Return a scanner for creating Java partitions.
- *
+ *
* @return a scanner for creating Java partitions
*/
public JavaPartitionScanner getJavaPartitionScanner() {
@@ -74,7 +74,7 @@ public class JavaEditorExamplePlugin extends AbstractUIPlugin {
/**
* Returns the singleton Java code scanner.
- *
+ *
* @return the singleton Java code scanner
*/
public RuleBasedScanner getJavaCodeScanner() {
@@ -85,7 +85,7 @@ public class JavaEditorExamplePlugin extends AbstractUIPlugin {
/**
* Returns the singleton Java color provider.
- *
+ *
* @return the singleton Java color provider
*/
public JavaColorProvider getJavaColorProvider() {
@@ -96,7 +96,7 @@ public class JavaEditorExamplePlugin extends AbstractUIPlugin {
/**
* Returns the singleton Javadoc scanner.
- *
+ *
* @return the singleton Javadoc scanner
*/
public RuleBasedScanner getJavaDocScanner() {
diff --git a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java
index b228c4a78..d4ba0f405 100644
--- a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java
+++ b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java
@@ -30,7 +30,7 @@ public class JavaTextHover implements ITextHover {
/**
* {@inheritDoc}
- *
+ *
* @deprecated As of 3.4, replaced by
* {@link ITextHoverExtension2#getHoverInfo2(ITextViewer, IRegion)}
*/
diff --git a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/javadoc/JavaDocScanner.java b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/javadoc/JavaDocScanner.java
index 94122266b..537e1aca7 100644
--- a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/javadoc/JavaDocScanner.java
+++ b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/javadoc/JavaDocScanner.java
@@ -60,7 +60,7 @@ public class JavaDocScanner extends RuleBasedScanner {
*/
public JavaDocScanner(JavaColorProvider provider) {
super();
-
+
setDefaultReturnToken(new Token(new TextAttribute(provider.getColor(JavaColorProvider.JAVADOC_DEFAULT))));
IToken keyword= new Token(new TextAttribute(provider.getColor(JavaColorProvider.JAVADOC_KEYWORD)));
diff --git a/org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF b/org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF
index 54fd6e31c..986026c67 100644
--- a/org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF
+++ b/org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.ui.examples.javaeditor; singleton:=true
-Bundle-Version: 3.2.400.qualifier
+Bundle-Version: 3.2.500.qualifier
Bundle-Activator: org.eclipse.ui.examples.javaeditor.JavaEditorExamplePlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
diff --git a/org.eclipse.ui.genericeditor.examples/META-INF/MANIFEST.MF b/org.eclipse.ui.genericeditor.examples/META-INF/MANIFEST.MF
index eea121e6f..8f315ac05 100644
--- a/org.eclipse.ui.genericeditor.examples/META-INF/MANIFEST.MF
+++ b/org.eclipse.ui.genericeditor.examples/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Examples for Generic Editor
Bundle-SymbolicName: org.eclipse.ui.genericeditor.examples;singleton:=true
-Bundle-Version: 1.1.400.qualifier
+Bundle-Version: 1.1.500.qualifier
Bundle-Vendor: Eclipse.org
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.eclipse.ui.genericeditor;bundle-version="1.0.0",
diff --git a/org.eclipse.ui.genericeditor.examples/src/org/eclipse/ui/genericeditor/examples/dotproject/SpellCheckDocumentListener.java b/org.eclipse.ui.genericeditor.examples/src/org/eclipse/ui/genericeditor/examples/dotproject/SpellCheckDocumentListener.java
index 68790b697..cb6628c4d 100644
--- a/org.eclipse.ui.genericeditor.examples/src/org/eclipse/ui/genericeditor/examples/dotproject/SpellCheckDocumentListener.java
+++ b/org.eclipse.ui.genericeditor.examples/src/org/eclipse/ui/genericeditor/examples/dotproject/SpellCheckDocumentListener.java
@@ -39,7 +39,7 @@ import org.eclipse.ui.texteditor.spelling.SpellingProblem;
import org.eclipse.ui.texteditor.spelling.SpellingService;
public class SpellCheckDocumentListener implements IDocumentListener {
-
+
Job lastJob = null;
SpellingService service = EditorsUI.getSpellingService();
@@ -73,7 +73,7 @@ public class SpellCheckDocumentListener implements IDocumentListener {
Region region = new Region(commentStart, commentEnd - commentStart);
service.check(event.getDocument(), new Region[] { region }, new SpellingContext(), new ISpellingProblemCollector() {
private Map<SpellingAnnotation, Position> annotations = new HashMap<>();
-
+
@Override
public void endCollecting() {
Set<SpellingAnnotation> previous = new HashSet<>();
@@ -86,17 +86,17 @@ public class SpellCheckDocumentListener implements IDocumentListener {
((IAnnotationModelExtension)model).replaceAnnotations(
previous.toArray(new SpellingAnnotation[previous.size()]),
annotations);
-
+
} else {
previous.forEach(model::removeAnnotation);
annotations.forEach(model::addAnnotation);
}
}
-
+
@Override
public void beginCollecting() {
}
-
+
@Override
public void accept(SpellingProblem problem) {
this.annotations.put(new SpellingAnnotation(problem), new Position(problem.getOffset(), problem.getLength()));

Back to the top