Index: trunk/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java	(revision 9234)
+++ trunk/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java	(revision 9236)
@@ -39,4 +39,5 @@
     protected static final int UNCONNECTED_VIA = 1814;
     protected static final int SUPERFLUOUS = 1815;
+    protected static final int FROM_EQUALS_TO = 1816;
 
     /**
@@ -142,4 +143,7 @@
             errors.add(new TestError(this, Severity.ERROR, tr("No \"to\" way found"), NO_TO, r));
             return;
+        }
+        if (fromWay.equals(toWay) && !r.hasTag("restriction", "no_u_turn")) {
+            errors.add(new TestError(this, Severity.WARNING, tr("\"from\" way equals \"to\" way"), FROM_EQUALS_TO, r));
         }
         if (via.isEmpty()) {
