I agree that warning is irrelevant here and should not be raised, and I would report problem (after updating JOSM and checking whether it comes from official validator or some plugin).
You can report things via Help → Report bug (top right menu)
2 Likes