diff --git a/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationMap.java b/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationMap.java index e27c9a9e129..42e53b8d610 100644 --- a/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationMap.java +++ b/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationMap.java @@ -64,7 +64,7 @@ public AnnotationMap(int capacity) { * If the lock object is not explicitly set by this method, the annotation map uses its internal * lock object for synchronization. *
- * + * ** You should not override an existing lock object unless you own that lock object yourself. * Use the existing lock object instead. @@ -85,7 +85,7 @@ public synchronized void setLockObject(Object lockObject) { /** * Lock object used to synchronize concurrent access to the internal map data. - * + * * @return never returns null */ @Override diff --git a/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java b/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java index 8e90654a28c..bb6fe764265 100644 --- a/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java +++ b/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java @@ -342,7 +342,7 @@ protected IAnnotationMap getAnnotationMap() { /** * Subclasses should never return null. Clients should use the lock * object in order to synchronize concurrent access to the internal map data. - * + * * @return never returns null */ @Override @@ -354,7 +354,7 @@ public Object getLockObject() { * Sets the lock object for this object. Subsequent calls to specified methods of this object * are synchronized on this lock object. Which methods are synchronized is specified by the * implementer. - * + * *
* You should not override an existing lock object unless you own that lock object yourself.
* Use the existing lock object instead.
diff --git a/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/IAnnotationMap.java b/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/IAnnotationMap.java
index debc02ebf49..48b97f29576 100644
--- a/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/IAnnotationMap.java
+++ b/bundles/org.eclipse.text/src/org/eclipse/jface/text/source/IAnnotationMap.java
@@ -79,17 +79,17 @@ public interface IAnnotationMap extends Mapnull
*/
@Override
Object getLockObject();
-
+
/**
* Sets the lock object for this object. Subsequent calls to specified methods of this object
* are synchronized on this lock object. Which methods are synchronized is specified by the