Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java	(revision 6074)
@@ -1,3 +1,3 @@
-// License: GPL. Copyright 2007 by Immanuel Scholz and others
+// License: GPL. For details, see LICENSE file.
 package org.openstreetmap.josm.gui.tagging;
 
@@ -56,5 +56,4 @@
 import org.xml.sax.SAXException;
 
-
 /**
  * This class read encapsulate one tagging preset. A class method can
@@ -63,4 +62,5 @@
  *
  * It is also able to construct dialogs out of preset definitions.
+ * @since 294
  */
 public class TaggingPreset extends AbstractAction implements MapView.LayerChangeListener {
@@ -74,5 +74,5 @@
     public String name_context;
     public String locale_name;
-   public final static String OPTIONAL_TOOLTIP_TEXT = "Optional tooltip text";
+    public final static String OPTIONAL_TOOLTIP_TEXT = "Optional tooltip text";
 
     /**
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItem.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItem.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItem.java	(revision 6074)
@@ -1,3 +1,3 @@
-// License: GPL. Copyright 2007 by Immanuel Scholz and others
+// License: GPL. For details, see LICENSE file.
 package org.openstreetmap.josm.gui.tagging;
 
@@ -14,6 +14,6 @@
 
 /**
- * This calss reperesentse single part of a preset - one field or text label that
- * is shown to user
+ * Class that represents single part of a preset - one field or text label that is shown to user
+ * @since 6068
  */
 public abstract class TaggingPresetItem {
@@ -47,4 +47,3 @@
         return null;
     }
-
 }
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java	(revision 6074)
@@ -57,8 +57,7 @@
 import static org.openstreetmap.josm.tools.I18n.trc;
 
-
 /**
- * Class that constains all subtypes of TaggingPresetItem,
- * static supplementary data, types and methods
+ * Class that contains all subtypes of TaggingPresetItem, static supplementary data, types and methods
+ * @since 6068
  */
 public final class TaggingPresetItems {
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetMenu.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetMenu.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetMenu.java	(revision 6074)
@@ -1,3 +1,3 @@
-// License: GPL. Copyright 2007 by Immanuel Scholz and others
+// License: GPL. For details, see LICENSE file.
 package org.openstreetmap.josm.gui.tagging;
 
@@ -22,4 +22,5 @@
 public class TaggingPresetMenu extends TaggingPreset {
     public JMenu menu = null; // set by TaggingPresetPreferences
+    
     @Override
     public void setDisplayName() {
@@ -31,4 +32,5 @@
         putValue("toolbar", "tagginggroup_" + getRawName());
     }
+    
     @Override
     public void setIcon(String iconName) {
@@ -60,8 +62,5 @@
     public void actionPerformed(ActionEvent e) {
         Object s = e.getSource();
-        if(menu != null && s instanceof Component)
-        {
-            Component co = (Component)s;
-
+        if (menu != null && s instanceof Component) {
             JPopupMenu pm = new JPopupMenu(getName());
             for (Component c : menu.getMenuComponents()) {
@@ -72,4 +71,5 @@
         }
     }
+    
     /**
      * Sorts the menu items using the translated item text
@@ -99,7 +99,7 @@
                     for (JMenuItem menuItem : sortarray) {
                         int oldPos;
-                        if(lastSeparator == 0){
+                        if (lastSeparator == 0){
                             oldPos=pos;
-                        }else {
+                        } else {
                             oldPos = pos+lastSeparator+1;
                         }
@@ -110,5 +110,5 @@
                     lastSeparator = 0;
                 }
-            }else if (item instanceof JSeparator){
+            } else if (item instanceof JSeparator){
                 Collections.sort(sortarray, comp);
                 int pos = 0;
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetReader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetReader.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetReader.java	(revision 6074)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 package org.openstreetmap.josm.gui.tagging;
 
@@ -23,7 +24,13 @@
 import static org.openstreetmap.josm.tools.I18n.tr;
 
-
+/**
+ * The tagging presets reader.
+ * @since 6068
+ */
 public final class TaggingPresetReader {
 
+    /**
+     * Constructs a new {@code TaggingPresetReader}.
+     */
     public TaggingPresetReader() {
     }
@@ -40,5 +47,4 @@
         return sources;
     }
-
     
     public static List<TaggingPreset> readAll(Reader in, boolean validate) throws SAXException {
@@ -70,17 +76,15 @@
             parser.start(in);
         }
-        while(parser.hasNext()) {
+        while (parser.hasNext()) {
             Object o = parser.next();
             if (o instanceof TaggingPresetMenu) {
                 TaggingPresetMenu tp = (TaggingPresetMenu) o;
-                if(tp == lastmenu) {
+                if (tp == lastmenu) {
                     lastmenu = tp.group;
-                } else
-                {
+                } else {
                     tp.group = lastmenu;
                     tp.setDisplayName();
                     lastmenu = tp;
                     all.add(tp);
-
                 }
                 lastrole = null;
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchAction.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchAction.java	(revision 6074)
@@ -11,6 +11,13 @@
 import org.openstreetmap.josm.tools.Shortcut;
 
+/**
+ * The tagging presets search action (F3).
+ * @since 3388
+ */
 public class TaggingPresetSearchAction extends JosmAction {
 
+    /**
+     * Constructs a new {@code TaggingPresetSearchAction}.
+     */
     public TaggingPresetSearchAction() {
         super(tr("Search preset"), "dialogs/search", tr("Show preset search dialog"),
@@ -26,7 +33,5 @@
             return;
 
-        TaggingPresetSearchDialog dialog = TaggingPresetSearchDialog.getInstance();
-        dialog.showDialog();
+        TaggingPresetSearchDialog.getInstance().showDialog();
     }
-
 }
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java	(revision 6074)
@@ -11,5 +11,8 @@
 import org.openstreetmap.josm.gui.ExtendedDialog;
 
-
+/**
+ * The tagging presets search dialog (F3).
+ * @since 3388
+ */
 public class TaggingPresetSearchDialog extends ExtendedDialog {
 
@@ -17,4 +20,9 @@
 
     private static TaggingPresetSearchDialog instance;
+    
+    /**
+     * Returns the unique instance of {@code TaggingPresetSearchDialog}.
+     * @return the unique instance of {@code TaggingPresetSearchDialog}.
+     */
     public static TaggingPresetSearchDialog getInstance() {
         if (instance == null) {
@@ -23,4 +31,5 @@
         return instance;
     }
+    
     private TaggingPresetSearchDialog() {
         super(Main.parent, tr("Presets"), new String[] {tr("Select"), tr("Cancel")});
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSelector.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSelector.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSelector.java	(revision 6074)
@@ -1,6 +1,3 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
+// License: GPL. For details, see LICENSE file.
 package org.openstreetmap.josm.gui.tagging;
 
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSeparator.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSeparator.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSeparator.java	(revision 6074)
@@ -1,3 +1,3 @@
-// License: GPL. Copyright 2007 by Immanuel Scholz and others
+// License: GPL. For details, see LICENSE file.
 package org.openstreetmap.josm.gui.tagging;
 
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetType.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetType.java	(revision 6073)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetType.java	(revision 6074)
@@ -7,4 +7,5 @@
 /**
  * Enumeration of OSM primitive types associated with names and icons
+ * @since 6068
  */
 public enum TaggingPresetType {
