Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-06-21 03:36:02 -0400
committerLars Vogel2017-06-21 15:52:17 -0400
commit2d0ff3eec34063e43600e35080106473bc8df244 (patch)
tree2f147ef38b8b9f9e34a46eef8988eaf728ac5366
parentb828b588f41721b7e42b9d7f0d2b61a580298c13 (diff)
downloadeclipse.platform.text-2d0ff3eec34063e43600e35080106473bc8df244.tar.gz
eclipse.platform.text-2d0ff3eec34063e43600e35080106473bc8df244.tar.xz
eclipse.platform.text-2d0ff3eec34063e43600e35080106473bc8df244.zip
Removes training white space in org.eclipse.text
Change-Id: I4c83b262c6c6a1834d35652e06961addffd03461 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/Document.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java6
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/IDocument.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/ILineTracker.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java4
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/ISlaveDocumentManager.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/Position.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java4
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java2
13 files changed, 17 insertions, 17 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java b/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java
index 8145fb437..41b179b6b 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java
@@ -1699,7 +1699,7 @@ public abstract class AbstractDocument implements IDocument, IDocumentExtension,
/**
* Logs the given exception by reusing the code in {@link SafeRunner}.
- *
+ *
* @param ex the exception
* @since 3.6
*/
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java b/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java
index 12d1bbf56..76628de94 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java
@@ -41,7 +41,7 @@ public class CopyOnWriteTextStore implements ITextStore {
/** Represents the content of this text store. */
private final String fText;
-
+
/** Minimum length limit below which {@link #get(int, int)} will return a String copy */
private final int fCopyLimit;
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/Document.java b/org.eclipse.text/src/org/eclipse/jface/text/Document.java
index 1f9ba5a4e..a05ead38a 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/Document.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/Document.java
@@ -36,7 +36,7 @@ package org.eclipse.jface.text;
* See {@link GapTextStore} and <code>TreeLineTracker</code> for algorithmic behavior of the used
* document structures.
* </p>
- *
+ *
* @see org.eclipse.jface.text.GapTextStore
* @see org.eclipse.jface.text.CopyOnWriteTextStore
*/
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java b/org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java
index 09dca71f0..d80a2f9cc 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapter.java
@@ -644,7 +644,7 @@ public class FindReplaceDocumentAdapter implements CharSequence {
*/
public static String escapeForRegExPattern(String string) {
//implements https://bugs.eclipse.org/bugs/show_bug.cgi?id=44422
-
+
StringBuilder pattern= new StringBuilder(string.length() + 16);
int length= string.length();
for (int i= 0; i < length; i++) {
@@ -666,7 +666,7 @@ public class FindReplaceDocumentAdapter implements CharSequence {
case '$':
pattern.append('\\').append(ch);
break;
-
+
case '\r':
if (i + 1 < length && string.charAt(i + 1) == '\n')
i++;
@@ -686,7 +686,7 @@ public class FindReplaceDocumentAdapter implements CharSequence {
case 0x1B:
pattern.append("\\e"); //$NON-NLS-1$
break;
-
+
default:
if (0 <= ch && ch < 0x20) {
pattern.append("\\x"); //$NON-NLS-1$
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/IDocument.java b/org.eclipse.text/src/org/eclipse/jface/text/IDocument.java
index 4351ace33..98b402d98 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/IDocument.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/IDocument.java
@@ -588,7 +588,7 @@ public interface IDocument {
* <p>
* Note that a document always has at least one line.
* </p>
- *
+ *
* @return the number of lines in this document.
*/
int getNumberOfLines();
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/ILineTracker.java b/org.eclipse.text/src/org/eclipse/jface/text/ILineTracker.java
index d2903c9d3..7dcd48d24 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/ILineTracker.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/ILineTracker.java
@@ -65,7 +65,7 @@ public interface ILineTracker {
* <p>
* Note that a document always has at least one line.
* </p>
- *
+ *
* @return the number of lines in this tracker's line structure
*/
int getNumberOfLines();
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java b/org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java
index 7a2839e8e..a70010ba3 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java
@@ -16,7 +16,7 @@ package org.eclipse.jface.text;
* <p>
* Adds the ability to query whether the repairable document would have to be repaired after
* replacing some text.
- *
+ *
* @see org.eclipse.jface.text.IRepairableDocument
* @since 3.4
*/
@@ -25,7 +25,7 @@ public interface IRepairableDocumentExtension {
/**
* Tells whether the line information of the document implementing this interface needs to be
* repaired after replacing the given text.
- *
+ *
* @param offset the document offset
* @param length the length of the specified range
* @param text the substitution text to check
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/ISlaveDocumentManager.java b/org.eclipse.text/src/org/eclipse/jface/text/ISlaveDocumentManager.java
index ca319a4a0..9859d1fa0 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/ISlaveDocumentManager.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/ISlaveDocumentManager.java
@@ -96,7 +96,7 @@ public interface ISlaveDocumentManager {
* contain the lines 8-20.
* <p>
* This call is without effect if the given document is unknown to this slave document manager.
- *
+ *
* @param slave the slave whose auto expand mode should be set
* @param autoExpand <code>true</code> for auto expand, <code>false</code> otherwise
*/
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/Position.java b/org.eclipse.text/src/org/eclipse/jface/text/Position.java
index 12f36e458..e58eb73eb 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/Position.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/Position.java
@@ -191,7 +191,7 @@ public class Position {
Assert.isTrue(offset >= 0);
this.offset= offset;
}
-
+
@Override
public String toString() {
String position= "offset: " + offset + ", length: " + length; //$NON-NLS-1$//$NON-NLS-2$
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java
index 0d3f47f9b..8b7685b02 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java
@@ -81,7 +81,7 @@ public class LinkedPositionGroup {
* change.
*/
private IRegion fLastRegion;
-
+
/**
* <code>true</code> iff not all positions contain the same content.
* In that case, the contents of the last edited position will replace the
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java b/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java
index 6ede6aec6..efe358799 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java
@@ -184,7 +184,7 @@ public class AnnotationModel implements IAnnotationModel, IAnnotationModelExtens
/**
* A single iterator builds its behavior based on a sequence of iterators.
- *
+ *
* @param <E> the type of elements returned by this iterator
* @since 3.1
*/
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java
index 11bdaddde..4069bac6b 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java
@@ -52,14 +52,14 @@ public class GlobalTemplateVariables {
/**
* The selection variable determines templates that work on a selection.
- *
+ *
* @since 3.6
*/
public static class Selection extends SimpleTemplateVariableResolver {
/**
* Creates a word selection variable.
- *
+ *
* @param name the name of the variable
* @param description the description of the variable
*/
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java
index 1a65ac7ec..ac1920453 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java
@@ -44,7 +44,7 @@ import java.util.regex.Pattern;
public class TemplateTranslator {
/**
* Regex pattern for identifier.
- * Note: For historic reasons, this pattern <em>allows</em> numbers at the beginning of an identifier.
+ * Note: For historic reasons, this pattern <em>allows</em> numbers at the beginning of an identifier.
* @since 3.7
*/
private static final String IDENTIFIER= "(?:[\\p{javaJavaIdentifierPart}&&[^\\$]]++)"; //$NON-NLS-1$

Back to the top