Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/dnd/PrimitiveIdTransferable.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/dnd/PrimitiveIdTransferable.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/dnd/PrimitiveIdTransferable.java	(revision 36091)
@@ -30,5 +30,5 @@
      * See also {@link #getPrimitiveIds()} and {@link #getAsString()}
      */
-    public static final DataFlavor[] SUPPORTED_FLAVORS = new DataFlavor[] {
+    private static final DataFlavor[] SUPPORTED_FLAVORS = new DataFlavor[] {
         PRIMITIVE_ID_LIST_FLAVOR,
         DataFlavor.stringFlavor
@@ -49,5 +49,5 @@
 
     /**
-     * <p>If flavor is {@link #PRIMITIVE_ID_SET_FLAVOR}, replies a the list of
+     * <p>If flavor is {@link #PRIMITIVE_ID_LIST_FLAVOR}, replies a the list of
      * transferred {@link PrimitiveId}s</p>
      *
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/ExceptValueModel.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/ExceptValueModel.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/ExceptValueModel.java	(revision 36091)
@@ -130,5 +130,5 @@
      * model.
      *
-     * @param vehicleType one of the standard vehicle types from {@see #STANDARD_VEHICLE_EXCEPTION_VALUES}
+     * @param vehicleType one of the standard vehicle types from {@link #STANDARD_VEHICLE_EXCEPTION_VALUES}
      * @return true if {@code vehicleType} is currently set as exception in this
      * model.
@@ -147,5 +147,5 @@
      * Sets the {@code vehicleType} as exception in this turn restriction.
      *
-     * @param vehicleType one of the standard vehicle types from {@see #STANDARD_VEHICLE_EXCEPTION_VALUES}
+     * @param vehicleType one of the standard vehicle types from {@link #STANDARD_VEHICLE_EXCEPTION_VALUES}
      * @exception IllegalArgumentException thrown if {@code vehicleType} isn't a standard vehicle type
      */
@@ -162,5 +162,5 @@
      * on whether {@code setOrRemove} is true or false, respectively.
      *
-     * @param vehicleType one of the standard vehicle types from {@see #STANDARD_VEHICLE_EXCEPTION_VALUES}
+     * @param vehicleType one of the standard vehicle types from {@link #STANDARD_VEHICLE_EXCEPTION_VALUES}
      * @param setOrRemove if true, the exception is set; otherwise, it is removed
      * @exception IllegalArgumentException thrown if {@code vehicleType} isn't a standard vehicle type
@@ -177,5 +177,5 @@
      * Removes the {@code vehicleType} as exception in this turn restriction
      *
-     * @param vehicleType one of the standard vehicle types from {@see #STANDARD_VEHICLE_EXCEPTION_VALUES}
+     * @param vehicleType one of the standard vehicle types from {@link #STANDARD_VEHICLE_EXCEPTION_VALUES}
      * @exception IllegalArgumentException thrown if {@code vehicleType} isn't a standard vehicle type
      */
@@ -199,7 +199,5 @@
         if (this == obj)
             return true;
-        if (obj == null)
-            return false;
-        if (getClass() != obj.getClass())
+        if (!(obj instanceof ExceptValueModel))
             return false;
         ExceptValueModel other = (ExceptValueModel) obj;
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/JosmSelectionListModel.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/JosmSelectionListModel.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/JosmSelectionListModel.java	(revision 36091)
@@ -46,5 +46,4 @@
      * Constructor
      *
-     * @param selectionModel the selection model used in the list. Must not be null.
      * @param layer the layer this model is displaying the selection from. Must not be null.
      * @throws IllegalArgumentException thrown if {@code layer} is null
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/RelationMemberModel.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/RelationMemberModel.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/RelationMemberModel.java	(revision 36091)
@@ -96,7 +96,5 @@
         if (this == obj)
             return true;
-        if (obj == null)
-            return false;
-        if (getClass() != obj.getClass())
+        if (!(obj instanceof RelationMemberModel))
             return false;
         RelationMemberModel other = (RelationMemberModel) obj;
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditor.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditor.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditor.java	(revision 36091)
@@ -61,14 +61,12 @@
 public class TurnRestrictionEditor extends JDialog implements NavigationControler {
 
-    /** the property name for the current turn restriction
-     * @link #setRelation(Relation)
-     * @link #getRelation()
-     */
-    public static final String TURN_RESTRICION_PROP = RelationEditor.class.getName() + ".turnRestriction";
-
-    /** the property name for the current relation snapshot
-     * @link #getRelationSnapshot()
-     */
-    public static final String TURN_RESTRICION_SNAPSHOT_PROP = RelationEditor.class.getName() + ".turnRestrictionSnapshot";
+    /** The property name for the current turn restriction, see {@link #setTurnRestriction(Relation)} and
+     * {@link #getTurnRestriction()}
+     */
+    public static final String TURN_RESTRICTION_PROP = RelationEditor.class.getName() + ".turnRestriction";
+
+    /** the property name for the current relation snapshot, see {@link #getTurnRestrictionSnapshot()}
+     */
+    public static final String TURN_RESTRICTION_SNAPSHOT_PROP = RelationEditor.class.getName() + ".turnRestrictionSnapshot";
 
     /**
@@ -192,5 +190,5 @@
 
     /**
-     * builds the UI
+     * Builds the UI
      */
     protected void build() {
@@ -265,5 +263,5 @@
         setTurnRestrictionSnapshot(turnRestriction == null ? null : new Relation(turnRestriction));
         this.turnRestriction = turnRestriction;
-        support.firePropertyChange(TURN_RESTRICION_PROP, null, this.turnRestriction);
+        support.firePropertyChange(TURN_RESTRICTION_PROP, null, this.turnRestriction);
         updateTitle();
     }
@@ -309,5 +307,5 @@
     protected void setTurnRestrictionSnapshot(Relation snapshot) {
         turnRestrictionSnapshot = snapshot;
-        support.firePropertyChange(TURN_RESTRICION_SNAPSHOT_PROP, null, turnRestrictionSnapshot);
+        support.firePropertyChange(TURN_RESTRICTION_SNAPSHOT_PROP, null, turnRestrictionSnapshot);
     }
 
@@ -779,5 +777,5 @@
         @Override
         public void propertyChange(PropertyChangeEvent evt) {
-            if (evt.getPropertyName().equals(TURN_RESTRICION_PROP)) {
+            if (evt.getPropertyName().equals(TURN_RESTRICTION_PROP)) {
                 updateEnabledState();
             }
@@ -807,5 +805,5 @@
         @Override
         public void propertyChange(PropertyChangeEvent evt) {
-            if (evt.getPropertyName().equals(TURN_RESTRICION_PROP)) {
+            if (evt.getPropertyName().equals(TURN_RESTRICTION_PROP)) {
                 updateEnabledState();
             }
@@ -839,5 +837,5 @@
         @Override
         public void propertyChange(PropertyChangeEvent evt) {
-            if (evt.getPropertyName().equals(TURN_RESTRICION_PROP)) {
+            if (evt.getPropertyName().equals(TURN_RESTRICTION_PROP)) {
                 updateEnabledState();
             }
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorManager.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorManager.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorManager.java	(revision 36091)
@@ -71,7 +71,5 @@
             if (this == obj)
                 return true;
-            if (obj == null)
-                return false;
-            if (getClass() != obj.getClass())
+            if (!(obj instanceof DialogContext))
                 return false;
             DialogContext other = (DialogContext) obj;
@@ -175,10 +173,10 @@
      * is currently open. Returns null, if relation is null.
      *
+     * See also {@link #isOpenInEditor(OsmDataLayer, Relation)}
+     *
      * @param layer the layer
      * @param relation the relation
      * @return the editor for the turn restriction managed by layer. Null, if no such editor
      * is currently open.
-     *
-     * @link #isOpenInEditor(OsmDataLayer, Relation)
      */
     public TurnRestrictionEditor getEditorForRelation(OsmDataLayer layer, Relation relation) {
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorModel.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorModel.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorModel.java	(revision 36091)
@@ -274,7 +274,7 @@
      * <p>If {@code vias} is null, all vias are removed. All primitives
      * in {@code vias} must be assigned to a dataset and the dataset
-     * must be equal to the dataset of this editor model, see {@link #getDataSet()}</p>
-     *
-     * <p>null values in {@link vias} are skipped.</p>
+     * must be equal to the dataset of this editor model, see {@link OsmPrimitive#getDataSet()}</p>
+     *
+     * <p>null values in {@code vias} are skipped.</p>
      *
      * @param vias the list of vias
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionSelectionPopupPanel.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionSelectionPopupPanel.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionSelectionPopupPanel.java	(revision 36091)
@@ -185,8 +185,8 @@
      * @throws IllegalArgumentException thrown if {@code layer} is null
      */
-    public TurnRestrictionSelectionPopupPanel(OsmDataLayer layer, Collection<Relation> editCandiates) {
+    public TurnRestrictionSelectionPopupPanel(OsmDataLayer layer, Collection<Relation> editCandidates) {
         CheckParameterUtil.ensureParameterNotNull(layer, "layer");
         this.layer = layer;
-        build(editCandiates);
+        build(editCandidates);
     }
 
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsListModel.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsListModel.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsListModel.java	(revision 36091)
@@ -209,5 +209,5 @@
      * Sets the selected turn restrictions
      *
-     * @return sel the list of selected turn restrictions
+     * @param sel the list of selected turn restrictions
      */
     public void setSelectedTurnRestrictions(List<Relation> sel) {
@@ -227,4 +227,5 @@
      * Returns the index of a turn restriction
      *
+     * @param tr Turn restriction relation to check
      * @return index of relation (-1, if not found)
      */
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/Issue.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/Issue.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/Issue.java	(revision 36091)
@@ -13,7 +13,7 @@
  * An issue represents a data integrity violation in a turn restriction.
  *
- * The issue has a {@see Severity}. It is described to the user with a HTML formatted
- * text (see {@see #getText()}) and it suggests a list of possible actions to fix
- * the issue (see {@see #getActions()}).
+ * The issue has a {@link Severity}. It is described to the user with a HTML formatted
+ * text (see {@link #getText()}) and it suggests a list of possible actions to fix
+ * the issue (see {@link #getActions()}).
  *
  */
@@ -26,5 +26,5 @@
     /**
      * Creates a new issue associated with a parent model. Severity is
-     * initialized to {@see Severity#WARNING}.
+     * initialized to {@link Severity#WARNING}.
      *
      * @param parent the parent model. Must not be null.
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssueView.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssueView.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssueView.java	(revision 36091)
@@ -23,5 +23,5 @@
 
 /**
- * An IssueView is a view on an individual {@see Issue}.
+ * An IssueView is a view on an individual {@link Issue}.
  */
 public class IssueView extends JPanel {
@@ -35,5 +35,5 @@
      * Builds the style sheet used in the internal help browser
      *
-     * @return the style sheet
+     * @param view the {@code HtmlPanel} where the {@link StyleSheet} should be adapted
      */
     protected void initStyleSheet(HtmlPanel view) {
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesModel.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesModel.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesModel.java	(revision 36091)
@@ -84,6 +84,4 @@
      * turn restriction editor model. If {@code editorModel} is null, the
      * list of issues is cleared.
-     *
-     * @param editorModel the editor model.
      */
     public void populate() {
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesView.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesView.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesView.java	(revision 36091)
@@ -14,5 +14,5 @@
 
 /**
- * IssuesView provides a view on a {@see IssuesModel}.
+ * IssuesView provides a view on a {@link IssuesModel}.
  */
 public class IssuesView extends VerticallyScrollablePanel implements Observer {
Index: /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/TurnRestrictionLegSplitRequiredError.java
===================================================================
--- /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/TurnRestrictionLegSplitRequiredError.java	(revision 36090)
+++ /applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/TurnRestrictionLegSplitRequiredError.java	(revision 36091)
@@ -40,5 +40,4 @@
      * @param from the way with role "from"
      * @param to the way with role "to"
-     * @param intersect the intersection node
      */
     public TurnRestrictionLegSplitRequiredError(IssuesModel parent, Way from, Way to) {
