Index: /trunk/src/org/openstreetmap/josm/data/osm/event/SelectionEventManager.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/data/osm/event/SelectionEventManager.java	(revision 12108)
+++ /trunk/src/org/openstreetmap/josm/data/osm/event/SelectionEventManager.java	(revision 12109)
@@ -117,8 +117,8 @@
      * @param listener listener to add
      * @param fireMode Set this to IN_EDT_CONSOLIDATED if you want the event to be fired in the EDT thread.
-     *                 Set it to IMMEDIATELY if youw ant the event to fire in the thread that caused the selection update.
+     *                 Set it to IMMEDIATELY if you want the event to fire in the thread that caused the selection update.
      */
     public void addSelectionListener(SelectionChangedListener listener, FireMode fireMode) {
-        if (fireMode == FireMode.IN_EDT)  {
+        if (fireMode == FireMode.IN_EDT) {
             throw new UnsupportedOperationException("IN_EDT mode not supported, you probably want to use IN_EDT_CONSOLIDATED.");
         } else if (fireMode == FireMode.IN_EDT_CONSOLIDATED) {
Index: /trunk/test/unit/org/openstreetmap/josm/data/osm/event/SelectionEventManagerTest.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/data/osm/event/SelectionEventManagerTest.java	(revision 12108)
+++ /trunk/test/unit/org/openstreetmap/josm/data/osm/event/SelectionEventManagerTest.java	(revision 12109)
@@ -32,5 +32,5 @@
         private final String name;
 
-        public SelectionListener(String name) {
+        SelectionListener(String name) {
             this.name = name;
         }
@@ -110,5 +110,5 @@
     private void assertSelectionEquals(List<SelectionListener> listeners, Object should) {
         // sync
-        GuiHelper.runInEDTAndWait(() -> {});
+        GuiHelper.runInEDTAndWait(() -> { });
         for (SelectionListener listener : listeners) {
             assertEquals(listener.name, should, listener.newSelection);
