Changeset 34880 in osm


Ignore:
Timestamp:
2019-02-04T23:56:36+01:00 (6 years ago)
Author:
donvip
Message:

fix Java warnings

Location:
applications/editors/josm/plugins/FixAddresses
Files:
37 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/FixAddresses/.settings/org.eclipse.jdt.core.prefs

    r34058 r34880  
    1616org.eclipse.jdt.core.compiler.debug.localVariable=generate
    1717org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     18org.eclipse.jdt.core.compiler.doc.comment.support=enabled
    1819org.eclipse.jdt.core.compiler.problem.APILeak=warning
    1920org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
     
    4041org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
    4142org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     43org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning
     44org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled
     45org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled
     46org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled
     47org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private
    4248org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
    4349org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     
    4652org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
    4753org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     54org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
     55org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
     56org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
     57org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags
     58org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning
     59org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled
     60org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
     61org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=private
    4862org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
    4963org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     
    8498org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
    8599org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
    86 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     100org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore
    87101org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
    88102org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
     
    106120org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
    107121org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
    108 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     122org.eclipse.jdt.core.compiler.problem.unusedWarningToken=ignore
    109123org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    110124org.eclipse.jdt.core.compiler.source=1.8
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java

    r34511 r34880  
    2626import org.openstreetmap.josm.gui.MainApplication;
    2727import org.openstreetmap.josm.gui.layer.MainLayerManager;
     28import org.openstreetmap.josm.plugins.fixAddresses.gui.AddressEditTableModel;
     29import org.openstreetmap.josm.plugins.fixAddresses.gui.actions.AbstractAddressEditAction;
    2830import org.openstreetmap.josm.tools.CheckParameterUtil;
    2931
     
    3840 * and alter OSM data.
    3941 *
    40  * {@see AbstractAddressEditAction}
    41  * {@see AddressEditTableModel}
    42  *
    4342 * @author Oliver Wieland <oliver.wieland@online.de>
    4443 *
     44 * @see AbstractAddressEditAction
     45 * @see AddressEditTableModel
    4546 */
    46 public class AddressEditContainer implements OsmPrimitiveVisitor, DataSetListener, IAddressEditContainerListener, IProblemVisitor, IAllKnowingTrashHeap {
     47public class AddressEditContainer
     48implements OsmPrimitiveVisitor, DataSetListener, IAddressEditContainerListener, IProblemVisitor, IAllKnowingTrashHeap {
    4749
    4850    private Collection<? extends OsmPrimitive> workingSet;
     
    125127    /**
    126128     * Notifies clients that an entity within the address container changed.
     129     * @param entity OSM entity
    127130     */
    128131    protected void fireEntityChanged(IOSMEntity entity) {
     
    442445     * Tries to assign an address to a street.
    443446     * @param aNode address
     447     * @return {@code true} if address node has been assigned to a street or if it was already the case
    444448     */
    445449    private boolean assignAddressToStreet(OSMAddress aNode) {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressProblem.java

    r32970 r34880  
    77import org.openstreetmap.josm.tools.CheckParameterUtil;
    88
     9/**
     10 * Address problem.
     11 */
    912public class AddressProblem implements IProblem {
    1013    private List<ISolution> solutions = null;
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesMapMode.java

    r33718 r34880  
    88import org.openstreetmap.josm.actions.mapmode.MapMode;
    99
     10/**
     11 * Map mode that shows dialog with incomplete addresses
     12 */
    1013@SuppressWarnings("serial")
    1114public class FixAddressesMapMode extends MapMode {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesPreferences.java

    r34511 r34880  
    1313import org.openstreetmap.josm.spi.preferences.Config;
    1414
     15/**
     16 * Plugin preferences.
     17 */
    1518public final class FixAddressesPreferences extends DefaultTabPreferenceSetting {
    1619    private static final String FIX_ADDRESSES_IGNORE_POST_CODE_KEY = "fixAddresses.ignorePostCode";
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/GuessAddressRunnable.java

    r33718 r34880  
    2222 * The guessing procedure itself is implemented by defining "guessers" using the {@link GuessedValueHandler}
    2323 * class. A guessed field does not modify the corresponding property of {@link OSMAddress} itself, but
    24  * adds the guessed value to a shadowed field by calling {@link OSMAddress#setGuessedValue(String, String)}.
     24 * adds the guessed value to a shadowed field by calling {@link OSMAddress#setGuessedValue}.
    2525 */
    2626public class GuessAddressRunnable extends PleaseWaitRunnable {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/GuessedValueHandler.java

    r33718 r34880  
    4747
    4848    /**
    49      * Instantiates a new guessed value handler.
     49     * Instantiates a new guessed value handler with default maximum distance.
    5050     *
    5151     * @param tag the tag to find the guessed value for.
    5252     * @param aNode the address node to guess the values for.
    53      * @param maxDist the maximum distance for a node/way to be considered as guessed value.
    5453     */
    5554    public GuessedValueHandler(String tag, OSMAddress aNode) {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IAddressEditContainerListener.java

    r32970 r34880  
    22package org.openstreetmap.josm.plugins.fixAddresses;
    33
     4/**
     5 * Address edit container listener.
     6 */
    47public interface IAddressEditContainerListener {
    58    /**
     
    1114    /**
    1215     * Notifies clients that an entity has been changed.
     16     * @param node OSM entity
    1317     */
    1418    void entityChanged(IOSMEntity node);
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IAllKnowingTrashHeap.java

    r32970 r34880  
    44import java.util.List;
    55
     6/**
     7 * Knowledge of street names distances and validity.
     8 */
    69public interface IAllKnowingTrashHeap {
    710
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/ICommandListener.java

    r32970 r34880  
    44import org.openstreetmap.josm.command.Command;
    55
     6/**
     7 * Command listener.
     8 */
    69public interface ICommandListener {
    710    /**
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IProblem.java

    r32970 r34880  
    44import java.util.List;
    55
     6/**
     7 * Generic problem.
     8 */
    69public interface IProblem {
    710
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IProblemVisitor.java

    r32970 r34880  
    22package org.openstreetmap.josm.plugins.fixAddresses;
    33
     4/**
     5 * Problem visitor.
     6 */
    47public interface IProblemVisitor {
    58    /**
     
    1215    /**
    1316     * Removes the problems of the given source.
     17     * @param entity OSM entity
    1418     */
    1519    void removeProblemsOfSource(IOSMEntity entity);
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/IProgressMonitorFinishedListener.java

    r32970 r34880  
    22package org.openstreetmap.josm.plugins.fixAddresses;
    33
     4/**
     5 * Progress monitor listener for the finished state.
     6 */
    47public interface IProgressMonitorFinishedListener {
    58    void finished();
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/ISolution.java

    r32970 r34880  
    44import org.openstreetmap.josm.actions.JosmAction;
    55
     6/**
     7 * Generic solution to a {@link IProblem}.
     8 */
    69public interface ISolution {
    710
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OSMAddress.java

    r32970 r34880  
    9595            || StringUtils.isNullOrEmpty(osmObject.get(tag))) {
    9696            if (!hasDerivedValue(tag)) {
    97             // object does not have this tag -> check for guess
    98             if (hasGuessedValue(tag)) {
    99                 return "*" + getGuessedValue(tag);
    100             } else {
    101                 // give up
    102                 return MISSING_TAG;
    103             }
     97                // object does not have this tag -> check for guess
     98                if (hasGuessedValue(tag)) {
     99                    return "*" + getGuessedValue(tag);
     100                } else {
     101                    // give up
     102                    return MISSING_TAG;
     103                }
    104104            } else { // ok, use derived value known via associated relation or
    105                  // way
    106             return getDerivedValue(tag);
     105                // way
     106                return getDerivedValue(tag);
    107107            }
    108108        } else { // get existing tag value
     
    429429            cc = this.getStreetName().compareTo(other.getStreetName());
    430430            if (cc == 0) {
    431             if (hasGuessedStreetName()) {
    432                 if (other.hasStreetName()) {
    433                 // Compare guessed name with the real name
    434                 /*String gsm =*/ this.getGuessedStreetName();
    435                 cc = this.getGuessedStreetName().compareTo(
    436                     other.getStreetName());
    437                 if (cc == 0) {
     431                if (hasGuessedStreetName()) {
     432                    if (other.hasStreetName()) {
     433                        // Compare guessed name with the real name
     434                        /*String gsm =*/ this.getGuessedStreetName();
     435                        cc = this.getGuessedStreetName().compareTo(
     436                            other.getStreetName());
     437                        if (cc == 0) {
     438                            cc = this.getHouseNumber().compareTo(
     439                                other.getHouseNumber());
     440                        }
     441                        } else if (other.hasGuessedStreetName()) {
     442                        // Compare guessed name with the guessed name
     443                        cc = this.getGuessedStreetName().compareTo(
     444                            other.getGuessedStreetName());
     445                        if (cc == 0) {
     446                            cc = this.getHouseNumber().compareTo(
     447                                other.getHouseNumber());
     448                        }
     449                    } // else: give up
     450                    // No guessed name at all -> just compare the number
     451                } else {
    438452                    cc = this.getHouseNumber().compareTo(
    439453                        other.getHouseNumber());
    440454                }
    441                 } else if (other.hasGuessedStreetName()) {
    442                 // Compare guessed name with the guessed name
    443                 cc = this.getGuessedStreetName().compareTo(
    444                     other.getGuessedStreetName());
    445                 if (cc == 0) {
    446                     cc = this.getHouseNumber().compareTo(
    447                         other.getHouseNumber());
    448                 }
    449                 } // else: give up
    450                   // No guessed name at all -> just compare the
    451                   // number
    452             } else {
    453                 cc = this.getHouseNumber().compareTo(
    454                     other.getHouseNumber());
    455             }
    456455            }
    457456        }
     
    539538    /**
    540539     * Check if this instance needs guessed value for a given tag.
     540     * @param tag tag to analyze
    541541     *
    542542     * @return true, if successful
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OSMEntityBase.java

    r32970 r34880  
    6666    /**
    6767     * Notifies clients that the address container changed.
     68     * @param entity OSM entity
    6869     */
    6970    protected static void fireEntityChanged(IOSMEntity entity) {
     
    9798     * Notifies clients that an entity has issued a command.
    9899     *
    99      * @param source the entity that issued the command.
    100100     * @param command the command to execute.
    101101     */
     
    140140    /**
    141141     * Internal helper method which changes the given property and
    142      * puts the appropriate command {@link src.org.openstreetmap.josm.command.Command}
     142     * puts the appropriate command {@link org.openstreetmap.josm.command.Command}
    143143     * into the undo/redo queue.
    144144     * @param tag The tag to change.
    145145     * @param newValue The new value for the tag.
    146      * @param cmd The surrounding command sequence
    147146     */
    148147    protected void setOSMTag(String tag, String newValue) {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OsmFactory.java

    r32970 r34880  
    77import org.openstreetmap.josm.data.osm.Way;
    88
     9/**
     10 * OSM entities factory.
     11 */
    912public final class OsmFactory {
    1013    private static HashMap<String, OSMAddress> addressCache = new HashMap<>();
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/ProblemType.java

    r30348 r34880  
    22package org.openstreetmap.josm.plugins.fixAddresses;
    33
     4/**
     5 * Problem type (severity).
     6 */
    47public enum ProblemType {
    58    Warning,
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/StringUtils.java

    r32970 r34880  
    44import java.util.List;
    55
     6/**
     7 * Various String utilities.
     8 */
    69public final class StringUtils {
    710
     
    1821     */
    1922    public static boolean isNullOrEmpty(String txt) {
    20         return txt == null || txt.length() == 0;
     23        return txt == null || txt.isEmpty();
    2124    }
    2225
     
    3033     * @return The length of the longest common substring or 0, if no common
    3134     *         sequence exists or one of the arguments are invalid. For
    32      *         algorithm details please refer to {@link http
    33      *         ://www.ics.uci.edu/~eppstein/161/960229.html}
     35     *         algorithm details please refer to
     36     *         <a href="https://www.ics.uci.edu/~eppstein/161/960229.html">ICS 161: Design and Analysis of Algorithms</a>
    3437     */
    3538    public static int lcsLength(String a, String b) {
     
    4346    }
    4447
    45     /**
    46      * Internal use only
    47      */
    4848    private static int[][] createLCSTable(String a, String b) {
    4949        if (StringUtils.isNullOrEmpty(a))
     
    124124            return null;
    125125        }
    126         if (haystack == null || haystack.size() == 0) {
     126        if (haystack == null || haystack.isEmpty()) {
    127127            return null;
    128128        }
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/TagUtils.java

    r32970 r34880  
    128128    /**
    129129     * Checks if the given OSM primitive is an address node.
     130     * @param osmObject OSM primitive
    130131     * @return {@code true} if the given OSM primitive is an address node
    131132     */
     
    139140     * Check if OSM primitive has a tag 'parking'.
    140141     * @param osmPrimitive The OSM entity to check.
     142     * @return {@code true} if OSM primitive has a tag 'parking'
    141143     */
    142144    public static boolean hasParkingTag(OsmPrimitive osmPrimitive) {
     
    147149     * Gets the value of tag 'parking'.
    148150     * @param osmPrimitive The OSM entity to check.
     151     * @return the value of tag 'parking'
    149152     */
    150153    public static String getParkingValue(OsmPrimitive osmPrimitive) {
     
    155158     * Check if OSM primitive has a tag 'shop'.
    156159     * @param osmPrimitive The OSM entity to check.
     160     * @return {@code true} if OSM primitive has a tag 'shop'
    157161     */
    158162    public static boolean hasShopTag(OsmPrimitive osmPrimitive) {
     
    163167     * Gets the value of tag 'shop'.
    164168     * @param osmPrimitive The OSM entity to check.
     169     * @return the value of tag 'shop'
    165170     */
    166171    public static String getShopValue(OsmPrimitive osmPrimitive) {
     
    171176     * Check if OSM primitive has a tag 'craft'.
    172177     * @param osmPrimitive The OSM entity to check.
     178     * @return {@code true} if OSM primitive has a tag 'craft'
    173179     */
    174180    public static boolean hasCraftTag(OsmPrimitive osmPrimitive) {
     
    179185     * Gets the value of tag 'craft'.
    180186     * @param osmPrimitive The OSM entity to check.
     187     * @return the value of tag 'craft'
    181188     */
    182189    public static String getCraftValue(OsmPrimitive osmPrimitive) {
     
    187194     * Check if OSM primitive has a tag 'surface'.
    188195     * @param osmPrimitive The OSM entity to check.
     196     * @return {@code true} if OSM primitive has a tag 'surface'
    189197     */
    190198    public static boolean hasSurfaceTag(OsmPrimitive osmPrimitive) {
     
    195203     * Gets the value of tag 'surface'.
    196204     * @param osmPrimitive The OSM entity to check.
     205     * @return the value of tag 'surface'
    197206     */
    198207    public static String getSurfaceValue(OsmPrimitive osmPrimitive) {
     
    203212     * Check if OSM primitive has a tag 'cuisine'.
    204213     * @param osmPrimitive The OSM entity to check.
     214     * @return {@code true} if OSM primitive has a tag 'cuisine'
    205215     */
    206216    public static boolean hasCuisineTag(OsmPrimitive osmPrimitive) {
     
    211221     * Gets the value of tag 'cuisine'.
    212222     * @param osmPrimitive The OSM entity to check.
     223     * @return the value of tag 'cuisine'
    213224     */
    214225    public static String getCuisineValue(OsmPrimitive osmPrimitive) {
     
    219230     * Check if OSM primitive has a tag 'wood'.
    220231     * @param osmPrimitive The OSM entity to check.
     232     * @return {@code true} if OSM primitive has a tag 'wood'
    221233     */
    222234    public static boolean hasWoodTag(OsmPrimitive osmPrimitive) {
     
    227239     * Gets the value of tag 'wood'.
    228240     * @param osmPrimitive The OSM entity to check.
     241     * @return the value of tag 'wood'
    229242     */
    230243    public static String getWoodValue(OsmPrimitive osmPrimitive) {
     
    235248     * Check if OSM primitive has a tag 'foot'.
    236249     * @param osmPrimitive The OSM entity to check.
     250     * @return {@code true} if OSM primitive has a tag 'foot'
    237251     */
    238252    public static boolean hasFootTag(OsmPrimitive osmPrimitive) {
     
    243257     * Gets the value of tag 'foot'.
    244258     * @param osmPrimitive The OSM entity to check.
     259     * @return the value of tag 'foot'
    245260     */
    246261    public static String getFootValue(OsmPrimitive osmPrimitive) {
     
    251266     * Check if OSM primitive has a tag 'name:de'.
    252267     * @param osmPrimitive The OSM entity to check.
     268     * @return {@code true} if OSM primitive has a tag 'name:de'
    253269     */
    254270    public static boolean hasNameDeTag(OsmPrimitive osmPrimitive) {
     
    259275     * Gets the value of tag 'name:de'.
    260276     * @param osmPrimitive The OSM entity to check.
     277     * @return the value of tag 'name:de'
    261278     */
    262279    public static String getNameDeValue(OsmPrimitive osmPrimitive) {
     
    267284     * Check if OSM primitive has a tag 'nat_ref'.
    268285     * @param osmPrimitive The OSM entity to check.
     286     * @return {@code true} if OSM primitive has a tag 'nat_ref'
    269287     */
    270288    public static boolean hasNatRefTag(OsmPrimitive osmPrimitive) {
     
    275293     * Gets the value of tag 'nat_ref'.
    276294     * @param osmPrimitive The OSM entity to check.
     295     * @return the value of tag 'nat_ref'
    277296     */
    278297    public static String getNatRefValue(OsmPrimitive osmPrimitive) {
     
    283302     * Check if OSM primitive has a tag 'note:de'.
    284303     * @param osmPrimitive The OSM entity to check.
     304     * @return {@code true} if OSM primitive has a tag 'note:de'
    285305     */
    286306    public static boolean hasNoteDeTag(OsmPrimitive osmPrimitive) {
     
    291311     * Gets the value of tag 'note:de'.
    292312     * @param osmPrimitive The OSM entity to check.
     313     * @return the value of tag 'note:de'
    293314     */
    294315    public static String getNoteDeValue(OsmPrimitive osmPrimitive) {
     
    299320     * Check if OSM primitive has a tag 'addr:street'.
    300321     * @param osmPrimitive The OSM entity to check.
     322     * @return {@code true} if OSM primitive has a tag 'addr:street'
    301323     */
    302324    public static boolean hasAddrStreetTag(OsmPrimitive osmPrimitive) {
     
    308330     * Gets the value of tag 'addr:street'.
    309331     * @param osmPrimitive The OSM entity to check.
     332     * @return the value of tag 'addr:street'
    310333     */
    311334    public static String getAddrStreetValue(OsmPrimitive osmPrimitive) {
     
    316339     * Check if OSM primitive has a tag 'type'.
    317340     * @param osmPrimitive The OSM entity to check.
     341     * @return {@code true} if OSM primitive has a tag 'type'
    318342     */
    319343    public static boolean hasTypeTag(OsmPrimitive osmPrimitive) {
     
    324348     * Gets the value of tag 'type'.
    325349     * @param osmPrimitive The OSM entity to check.
     350     * @return the value of tag 'type'
    326351     */
    327352    public static String getTypeValue(OsmPrimitive osmPrimitive) {
     
    332357     * Check if OSM primitive has a tag 'addr:city'.
    333358     * @param osmPrimitive The OSM entity to check.
     359     * @return {@code true} if OSM primitive has a tag 'addr:city'
    334360     */
    335361    public static boolean hasAddrCityTag(OsmPrimitive osmPrimitive) {
     
    341367     * Gets the value of tag 'addr:city'.
    342368     * @param osmPrimitive The OSM entity to check.
     369     * @return the value of tag 'addr:city'
    343370     */
    344371    public static String getAddrCityValue(OsmPrimitive osmPrimitive) {
     
    349376     * Check if OSM primitive has a tag 'boundary'.
    350377     * @param osmPrimitive The OSM entity to check.
     378     * @return {@code true} if OSM primitive has a tag 'boundary'
    351379     */
    352380    public static boolean hasBoundaryTag(OsmPrimitive osmPrimitive) {
     
    357385     * Gets the value of tag 'boundary'.
    358386     * @param osmPrimitive The OSM entity to check.
     387     * @return the value of tag 'boundary'
    359388     */
    360389    public static String getBoundaryValue(OsmPrimitive osmPrimitive) {
     
    365394     * Check if OSM primitive has a tag 'smoothness'.
    366395     * @param osmPrimitive The OSM entity to check.
     396     * @return {@code true} if OSM primitive has a tag 'smoothness'
    367397     */
    368398    public static boolean hasSmoothnessTag(OsmPrimitive osmPrimitive) {
     
    374404     * Gets the value of tag 'smoothness'.
    375405     * @param osmPrimitive The OSM entity to check.
     406     * @return the value of tag 'smoothness'
    376407     */
    377408    public static String getSmoothnessValue(OsmPrimitive osmPrimitive) {
     
    382413     * Check if OSM primitive has a tag 'opening_hours'.
    383414     * @param osmPrimitive The OSM entity to check.
     415     * @return {@code true} if OSM primitive has a tag 'opening_hours'
    384416     */
    385417    public static boolean hasOpeningHoursTag(OsmPrimitive osmPrimitive) {
     
    391423     * Gets the value of tag 'opening_hours'.
    392424     * @param osmPrimitive The OSM entity to check.
     425     * @return the value of tag 'opening_hours'
    393426     */
    394427    public static String getOpeningHoursValue(OsmPrimitive osmPrimitive) {
     
    400433     * Check if OSM primitive has a tag 'bicycle'.
    401434     * @param osmPrimitive The OSM entity to check.
     435     * @return {@code true} if OSM primitive has a tag 'bicycle'
    402436     */
    403437    public static boolean hasBicycleTag(OsmPrimitive osmPrimitive) {
     
    408442     * Gets the value of tag 'bicycle'.
    409443     * @param osmPrimitive The OSM entity to check.
     444     * @return the value of tag 'bicycle'
    410445     */
    411446    public static String getBicycleValue(OsmPrimitive osmPrimitive) {
     
    416451     * Check if OSM primitive has a tag 'religion'.
    417452     * @param osmPrimitive The OSM entity to check.
     453     * @return {@code true} if OSM primitive has a tag 'religion'
    418454     */
    419455    public static boolean hasReligionTag(OsmPrimitive osmPrimitive) {
     
    424460     * Gets the value of tag 'religion'.
    425461     * @param osmPrimitive The OSM entity to check.
     462     * @return the value of tag 'religion'
    426463     */
    427464    public static String getReligionValue(OsmPrimitive osmPrimitive) {
     
    432469     * Check if OSM primitive has a tag 'barrier'.
    433470     * @param osmPrimitive The OSM entity to check.
     471     * @return {@code true} if OSM primitive has a tag 'barrier'
    434472     */
    435473    public static boolean hasBarrierTag(OsmPrimitive osmPrimitive) {
     
    440478     * Gets the value of tag 'barrier'.
    441479     * @param osmPrimitive The OSM entity to check.
     480     * @return the value of tag 'barrier'
    442481     */
    443482    public static String getBarrierValue(OsmPrimitive osmPrimitive) {
     
    448487     * Check if OSM primitive has a tag 'power'.
    449488     * @param osmPrimitive The OSM entity to check.
     489     * @return {@code true} if OSM primitive has a tag 'power'
    450490     */
    451491    public static boolean hasPowerTag(OsmPrimitive osmPrimitive) {
     
    456496     * Gets the value of tag 'power'.
    457497     * @param osmPrimitive The OSM entity to check.
     498     * @return the value of tag 'power'
    458499     */
    459500    public static String getPowerValue(OsmPrimitive osmPrimitive) {
     
    464505     * Check if OSM primitive has a tag 'landuse'.
    465506     * @param osmPrimitive The OSM entity to check.
     507     * @return {@code true} if OSM primitive has a tag 'landuse'
    466508     */
    467509    public static boolean hasLanduseTag(OsmPrimitive osmPrimitive) {
     
    472514     * Gets the value of tag 'landuse'.
    473515     * @param osmPrimitive The OSM entity to check.
     516     * @return the value of tag 'landuse'
    474517     */
    475518    public static String getLanduseValue(OsmPrimitive osmPrimitive) {
     
    480523     * Check if OSM primitive has a tag 'fireplace'.
    481524     * @param osmPrimitive The OSM entity to check.
     525     * @return {@code true} if OSM primitive has a tag 'fireplace'
    482526     */
    483527    public static boolean hasFireplaceTag(OsmPrimitive osmPrimitive) {
     
    489533     * Gets the value of tag 'fireplace'.
    490534     * @param osmPrimitive The OSM entity to check.
     535     * @return the value of tag 'fireplace'
    491536     */
    492537    public static String getFireplaceValue(OsmPrimitive osmPrimitive) {
     
    497542     * Check if OSM primitive has a tag 'int_ref'.
    498543     * @param osmPrimitive The OSM entity to check.
     544     * @return {@code true} if OSM primitive has a tag 'int_ref'
    499545     */
    500546    public static boolean hasIntRefTag(OsmPrimitive osmPrimitive) {
     
    505551     * Gets the value of tag 'int_ref'.
    506552     * @param osmPrimitive The OSM entity to check.
     553     * @return the value of tag 'int_ref'
    507554     */
    508555    public static String getIntRefValue(OsmPrimitive osmPrimitive) {
     
    513560     * Check if OSM primitive has a tag 'whitewater:section_grade'.
    514561     * @param osmPrimitive The OSM entity to check.
     562     * @return {@code true} if OSM primitive has a tag 'whitewater:section_grade'
    515563     */
    516564    public static boolean hasWhitewaterSectionGradeTag(OsmPrimitive osmPrimitive) {
     
    521569     * Gets the value of tag 'whitewater:section_grade'.
    522570     * @param osmPrimitive The OSM entity to check.
     571     * @return the value of tag 'whitewater:section_grade'
    523572     */
    524573    public static String getWhitewaterSectionGradeValue(
     
    531580     * Check if OSM primitive has a tag 'denomination'.
    532581     * @param osmPrimitive The OSM entity to check.
     582     * @return {@code true} if OSM primitive has a tag 'denomination'
    533583     */
    534584    public static boolean hasDenominationTag(OsmPrimitive osmPrimitive) {
     
    539589     * Gets the value of tag 'denomination'.
    540590     * @param osmPrimitive The OSM entity to check.
     591     * @return the value of tag 'denomination'
    541592     */
    542593    public static String getDenominationValue(OsmPrimitive osmPrimitive) {
     
    547598     * Check if OSM primitive has a tag 'addr:postcode'.
    548599     * @param osmPrimitive The OSM entity to check.
     600     * @return {@code true} if OSM primitive has a tag 'addr:postcode'
    549601     */
    550602    public static boolean hasAddrPostcodeTag(OsmPrimitive osmPrimitive) {
     
    555607     * Gets the value of tag 'addr:postcode'.
    556608     * @param osmPrimitive The OSM entity to check.
     609     * @return the value of tag 'addr:postcode'
    557610     */
    558611    public static String getAddrPostcodeValue(OsmPrimitive osmPrimitive) {
     
    563616     * Check if OSM primitive has a tag 'wires'.
    564617     * @param osmPrimitive The OSM entity to check.
     618     * @return {@code true} if OSM primitive has a tag 'wires'
    565619     */
    566620    public static boolean hasWiresTag(OsmPrimitive osmPrimitive) {
     
    571625     * Gets the value of tag 'wires'.
    572626     * @param osmPrimitive The OSM entity to check.
     627     * @return the value of tag 'wires'
    573628     */
    574629    public static String getWiresValue(OsmPrimitive osmPrimitive) {
     
    579634     * Check if OSM primitive has a tag 'loc_ref'.
    580635     * @param osmPrimitive The OSM entity to check.
     636     * @return {@code true} if OSM primitive has a tag 'loc_ref'
    581637     */
    582638    public static boolean hasLocRefTag(OsmPrimitive osmPrimitive) {
     
    587643     * Gets the value of tag 'loc_ref'.
    588644     * @param osmPrimitive The OSM entity to check.
     645     * @return the value of tag 'loc_ref'
    589646     */
    590647    public static String getLocRefValue(OsmPrimitive osmPrimitive) {
     
    595652     * Check if OSM primitive has a tag 'width'.
    596653     * @param osmPrimitive The OSM entity to check.
     654     * @return {@code true} if OSM primitive has a tag 'width'
    597655     */
    598656    public static boolean hasWidthTag(OsmPrimitive osmPrimitive) {
     
    603661     * Gets the value of tag 'width'.
    604662     * @param osmPrimitive The OSM entity to check.
     663     * @return the value of tag 'width'
    605664     */
    606665    public static String getWidthValue(OsmPrimitive osmPrimitive) {
     
    611670     * Check if OSM primitive has a tag 'tourism'.
    612671     * @param osmPrimitive The OSM entity to check.
     672     * @return {@code true} if OSM primitive has a tag 'tourism'
    613673     */
    614674    public static boolean hasTourismTag(OsmPrimitive osmPrimitive) {
     
    619679     * Gets the value of tag 'tourism'.
    620680     * @param osmPrimitive The OSM entity to check.
     681     * @return the value of tag 'tourism'
    621682     */
    622683    public static String getTourismValue(OsmPrimitive osmPrimitive) {
     
    627688     * Check if OSM primitive has a tag 'leisure'.
    628689     * @param osmPrimitive The OSM entity to check.
     690     * @return {@code true} if OSM primitive has a tag 'leisure'
    629691     */
    630692    public static boolean hasLeisureTag(OsmPrimitive osmPrimitive) {
     
    635697     * Gets the value of tag 'leisure'.
    636698     * @param osmPrimitive The OSM entity to check.
     699     * @return the value of tag 'leisure'
    637700     */
    638701    public static String getLeisureValue(OsmPrimitive osmPrimitive) {
     
    643706     * Check if OSM primitive has a tag 'electrified'.
    644707     * @param osmPrimitive The OSM entity to check.
     708     * @return {@code true} if OSM primitive has a tag 'electrified'
    645709     */
    646710    public static boolean hasElectrifiedTag(OsmPrimitive osmPrimitive) {
     
    652716     *
    653717     * @param osmPrimitive The OSM entity to check.
     718     * @return the value of tag 'electrified'
    654719     */
    655720    public static String getElectrifiedValue(OsmPrimitive osmPrimitive) {
     
    660725     * Check if OSM primitive has a tag 'junction'.
    661726     * @param osmPrimitive The OSM entity to check.
     727     * @return {@code true} if OSM primitive has a tag 'junction'
    662728     */
    663729    public static boolean hasJunctionTag(OsmPrimitive osmPrimitive) {
     
    668734     * Gets the value of tag 'junction'.
    669735     * @param osmPrimitive The OSM entity to check.
     736     * @return the value of tag 'junction'
    670737     */
    671738    public static String getJunctionValue(OsmPrimitive osmPrimitive) {
     
    676743     * Check if OSM primitive has a tag 'railway'.
    677744     * @param osmPrimitive The OSM entity to check.
     745     * @return {@code true} if OSM primitive has a tag 'railway'
    678746     */
    679747    public static boolean hasRailwayTag(OsmPrimitive osmPrimitive) {
     
    684752     * Gets the value of tag 'railway'.
    685753     * @param osmPrimitive The OSM entity to check.
     754     * @return the value of tag 'railway'
    686755     */
    687756    public static String getRailwayValue(OsmPrimitive osmPrimitive) {
     
    692761     * Check if OSM primitive has a tag 'voltage'.
    693762     * @param osmPrimitive The OSM entity to check.
     763     * @return {@code true} if OSM primitive has a tag 'voltage'
    694764     */
    695765    public static boolean hasVoltageTag(OsmPrimitive osmPrimitive) {
     
    700770     * Gets the value of tag 'voltage'.
    701771     * @param osmPrimitive The OSM entity to check.
     772     * @return the value of tag 'voltage
    702773     */
    703774    public static String getVoltageValue(OsmPrimitive osmPrimitive) {
     
    708779     * Check if OSM primitive has a tag 'bridge'.
    709780     * @param osmPrimitive The OSM entity to check.
     781     * @return {@code true} if OSM primitive has a tag 'bridge'
    710782     */
    711783    public static boolean hasBridgeTag(OsmPrimitive osmPrimitive) {
     
    716788     * Gets the value of tag 'bridge'.
    717789     * @param osmPrimitive The OSM entity to check.
     790     * @return the value of tag 'bridge'
    718791     */
    719792    public static String getBridgeValue(OsmPrimitive osmPrimitive) {
     
    724797     * Check if OSM primitive has a tag 'motor_vehicle'.
    725798     * @param osmPrimitive The OSM entity to check.
     799     * @return {@code true} if OSM primitive has a tag 'motor_vehicle'
    726800     */
    727801    public static boolean hasMotorVehicleTag(OsmPrimitive osmPrimitive) {
     
    732806     * Gets the value of tag 'motor_vehicle'.
    733807     * @param osmPrimitive The OSM entity to check.
     808     * @return the value of tag 'motor_vehicle'
    734809     */
    735810    public static String getMotorVehicleValue(OsmPrimitive osmPrimitive) {
     
    740815     * Check if OSM primitive has a tag 'comment'.
    741816     * @param osmPrimitive The OSM entity to check.
     817     * @return {@code true} if OSM primitive has a tag 'comment'
    742818     */
    743819    public static boolean hasCommentTag(OsmPrimitive osmPrimitive) {
     
    748824     * Gets the value of tag 'comment'.
    749825     * @param osmPrimitive The OSM entity to check.
     826     * @return the value of tag 'comment'
    750827     */
    751828    public static String getCommentValue(OsmPrimitive osmPrimitive) {
     
    756833     * Check if OSM primitive has a tag 'maxspeed'.
    757834     * @param osmPrimitive The OSM entity to check.
     835     * @return {@code true} if OSM primitive has a tag 'maxspeed'
    758836     */
    759837    public static boolean hasMaxspeedTag(OsmPrimitive osmPrimitive) {
     
    764842     * Gets the value of tag 'maxspeed'.
    765843     * @param osmPrimitive The OSM entity to check.
     844     * @return the value of tag 'maxspeed'
    766845     */
    767846    public static String getMaxspeedValue(OsmPrimitive osmPrimitive) {
     
    772851     * Check if OSM primitive has a tag 'natural'.
    773852     * @param osmPrimitive The OSM entity to check.
     853     * @return {@code true} if OSM primitive has a tag 'natural'
    774854     */
    775855    public static boolean hasNaturalTag(OsmPrimitive osmPrimitive) {
     
    780860     * Gets the value of tag 'natural'.
    781861     * @param osmPrimitive The OSM entity to check.
     862     * @return the value of tag 'natural'
    782863     */
    783864    public static String getNaturalValue(OsmPrimitive osmPrimitive) {
     
    788869     * Check if OSM primitive has a tag 'sac_scale'.
    789870     * @param osmPrimitive The OSM entity to check.
     871     * @return {@code true} if OSM primitive has a tag 'sac_scale'
    790872     */
    791873    public static boolean hasSacScaleTag(OsmPrimitive osmPrimitive) {
     
    796878     * Gets the value of tag 'sac_scale'.
    797879     * @param osmPrimitive The OSM entity to check.
     880     * @return the value of tag 'sac_scale'
    798881     */
    799882    public static String getSacScaleValue(OsmPrimitive osmPrimitive) {
     
    804887     * Check if OSM primitive has a tag 'tunnel'.
    805888     * @param osmPrimitive The OSM entity to check.
     889     * @return {@code true} if OSM primitive has a tag 'tunnel'
    806890     */
    807891    public static boolean hasTunnelTag(OsmPrimitive osmPrimitive) {
     
    812896     * Gets the value of tag 'tunnel'.
    813897     * @param osmPrimitive The OSM entity to check.
     898     * @return the value of tag 'tunnel'
    814899     */
    815900    public static String getTunnelValue(OsmPrimitive osmPrimitive) {
     
    820905     * Check if OSM primitive has a tag 'waterway'.
    821906     * @param osmPrimitive The OSM entity to check.
     907     * @return {@code true} if OSM primitive has a tag 'waterway'
    822908     */
    823909    public static boolean hasWaterwayTag(OsmPrimitive osmPrimitive) {
     
    828914     * Gets the value of tag 'waterway'.
    829915     * @param osmPrimitive The OSM entity to check.
     916     * @return the value of tag 'waterway'
    830917     */
    831918    public static String getWaterwayValue(OsmPrimitive osmPrimitive) {
     
    836923     * Check if OSM primitive has a tag 'trail_visibility'.
    837924     * @param osmPrimitive The OSM entity to check.
     925     * @return {@code true} if OSM primitive has a tag 'trail_visibility'
    838926     */
    839927    public static boolean hasTrailVisibilityTag(OsmPrimitive osmPrimitive) {
     
    844932     * Gets the value of tag 'trail_visibility'.
    845933     * @param osmPrimitive The OSM entity to check.
     934     * @return the value of tag 'trail_visibility'
    846935     */
    847936    public static String getTrailVisibilityValue(OsmPrimitive osmPrimitive) {
     
    852941     * Check if OSM primitive has a tag 'highway'.
    853942     * @param osmPrimitive The OSM entity to check.
     943     * @return {@code true} if OSM primitive has a tag 'highway'
    854944     */
    855945    public static boolean hasHighwayTag(OsmPrimitive osmPrimitive) {
     
    860950     * Gets the value of tag 'highway'.
    861951     * @param osmPrimitive The OSM entity to check.
     952     * @return the value of tag 'highway'
    862953     */
    863954    public static String getHighwayValue(OsmPrimitive osmPrimitive) {
     
    868959     * Check if OSM primitive has a tag 'vehicle'.
    869960     * @param osmPrimitive The OSM entity to check.
     961     * @return {@code true} if OSM primitive has a tag 'vehicle'
    870962     */
    871963    public static boolean hasVehicleTag(OsmPrimitive osmPrimitive) {
     
    876968     * Gets the value of tag 'vehicle'.
    877969     * @param osmPrimitive The OSM entity to check.
     970     * @return the value of tag 'vehicle'
    878971     */
    879972    public static String getVehicleValue(OsmPrimitive osmPrimitive) {
     
    884977     * Check if OSM primitive has a tag 'horse'.
    885978     * @param osmPrimitive The OSM entity to check.
     979     * @return {@code true} if OSM primitive has a tag 'horse'
    886980     */
    887981    public static boolean hasHorseTag(OsmPrimitive osmPrimitive) {
     
    892986     * Gets the value of tag 'horse'.
    893987     * @param osmPrimitive The OSM entity to check.
     988     * @return the value of tag 'horse'
    894989     */
    895990    public static String getHorseValue(OsmPrimitive osmPrimitive) {
     
    900995     * Check if OSM primitive has a tag 'goods'.
    901996     * @param osmPrimitive The OSM entity to check.
     997     * @return {@code true} if OSM primitive has a tag 'goods'
    902998     */
    903999    public static boolean hasGoodsTag(OsmPrimitive osmPrimitive) {
     
    9081004     * Gets the value of tag 'goods'.
    9091005     * @param osmPrimitive The OSM entity to check.
     1006     * @return the value of tag 'goods'
    9101007     */
    9111008    public static String getGoodsValue(OsmPrimitive osmPrimitive) {
     
    9161013     * Check if OSM primitive has a tag 'frequency'.
    9171014     * @param osmPrimitive The OSM entity to check.
     1015     * @return {@code true} if OSM primitive has a tag 'frequency'
    9181016     */
    9191017    public static boolean hasFrequencyTag(OsmPrimitive osmPrimitive) {
     
    9241022     * Gets the value of tag 'frequency'.
    9251023     * @param osmPrimitive The OSM entity to check.
     1024     * @return the value of tag 'frequency'
    9261025     */
    9271026    public static String getFrequencyValue(OsmPrimitive osmPrimitive) {
     
    9321031     * Check if OSM primitive has a tag 'man_made'.
    9331032     * @param osmPrimitive The OSM entity to check.
     1033     * @return {@code true} if OSM primitive has a tag 'man_made'
    9341034     */
    9351035    public static boolean hasManMadeTag(OsmPrimitive osmPrimitive) {
     
    9401040     * Gets the value of tag 'man_made'.
    9411041     * @param osmPrimitive The OSM entity to check.
     1042     * @return the value of tag 'man_made'
    9421043     */
    9431044    public static String getManMadeValue(OsmPrimitive osmPrimitive) {
     
    9481049     * Check if OSM primitive has a tag 'addr:housenumber'.
    9491050     * @param osmPrimitive The OSM entity to check.
     1051     * @return {@code true} if OSM primitive has a tag 'addr:housenumber'
    9501052     */
    9511053    public static boolean hasAddrHousenumberTag(OsmPrimitive osmPrimitive) {
     
    9561058     * Gets the value of tag 'addr:housenumber'.
    9571059     * @param osmPrimitive The OSM entity to check.
     1060     * @return the value of tag 'addr:housenumber'
    9581061     */
    9591062    public static String getAddrHousenumberValue(OsmPrimitive osmPrimitive) {
     
    9641067     * Check if OSM primitive has a tag 'addr:housename'.
    9651068     * @param osmPrimitive The OSM entity to check.
     1069     * @return {@code true} if OSM primitive has a tag 'addr:housename'
    9661070     */
    9671071    public static boolean hasAddrHousenameTag(OsmPrimitive osmPrimitive) {
     
    9721076     * Gets the value of tag 'addr:housename'.
    9731077     * @param osmPrimitive The OSM entity to check.
     1078     * @return the value of tag 'addr:housename'
    9741079     */
    9751080    public static String getAddrHousenameValue(OsmPrimitive osmPrimitive) {
     
    9801085     * Check if OSM primitive has a tag 'area'.
    9811086     * @param osmPrimitive The OSM entity to check.
     1087     * @return {@code true} if OSM primitive has a tag 'area'
    9821088     */
    9831089    public static boolean hasAreaTag(OsmPrimitive osmPrimitive) {
     
    9881094     * Gets the value of tag 'area'.
    9891095     * @param osmPrimitive The OSM entity to check.
     1096     * @return the value of tag 'area'
    9901097     */
    9911098    public static String getAreaValue(OsmPrimitive osmPrimitive) {
     
    9961103     * Check if OSM primitive has a tag 'building:levels'.
    9971104     * @param osmPrimitive The OSM entity to check.
     1105     * @return {@code true} if OSM primitive has a tag 'building:levels'
    9981106     */
    9991107    public static boolean hasBuildingLevelsTag(OsmPrimitive osmPrimitive) {
     
    10041112     * Gets the value of tag 'building:levels'.
    10051113     * @param osmPrimitive The OSM entity to check.
     1114     * @return the value of tag 'building:levels'
    10061115     */
    10071116    public static String getBuildingLevelsValue(OsmPrimitive osmPrimitive) {
     
    10121121     * Check if OSM primitive has a tag 'wheelchair'.
    10131122     * @param osmPrimitive The OSM entity to check.
     1123     * @return {@code true} if OSM primitive has a tag 'wheelchair'
    10141124     */
    10151125    public static boolean hasWheelchairTag(OsmPrimitive osmPrimitive) {
     
    10201130     * Gets the value of tag 'wheelchair'.
    10211131     * @param osmPrimitive The OSM entity to check.
     1132     * @return the value of tag 'wheelchair'
    10221133     */
    10231134    public static String getWheelchairValue(OsmPrimitive osmPrimitive) {
     
    10281139     * Check if OSM primitive has a tag 'name'.
    10291140     * @param osmPrimitive The OSM entity to check.
     1141     * @return {@code true} if OSM primitive has a tag 'name'
    10301142     */
    10311143    public static boolean hasNameTag(OsmPrimitive osmPrimitive) {
     
    10361148     * Gets the value of tag 'name'.
    10371149     * @param osmPrimitive The OSM entity to check.
     1150     * @return the value of tag 'name'
    10381151     */
    10391152    public static String getNameValue(OsmPrimitive osmPrimitive) {
     
    10441157     * Check if OSM primitive has a tag 'oneway'.
    10451158     * @param osmPrimitive The OSM entity to check.
     1159     * @return {@code true} if OSM primitive has a tag 'oneway'
    10461160     */
    10471161    public static boolean hasOnewayTag(OsmPrimitive osmPrimitive) {
     
    10521166     * Gets the value of tag 'oneway'.
    10531167     * @param osmPrimitive The OSM entity to check.
     1168     * @return the value of tag 'oneway'
    10541169     */
    10551170    public static String getOnewayValue(OsmPrimitive osmPrimitive) {
     
    10601175     * Check if OSM primitive has a tag 'FIXME'.
    10611176     * @param osmPrimitive The OSM entity to check.
     1177     * @return {@code true} if OSM primitive has a tag 'FIXME'
    10621178     */
    10631179    public static boolean hasFIXMETag(OsmPrimitive osmPrimitive) {
     
    10681184     * Gets the value of tag 'FIXME'.
    10691185     * @param osmPrimitive The OSM entity to check.
     1186     * @return the value of tag 'FIXME'
    10701187     */
    10711188    public static String getFIXMEValue(OsmPrimitive osmPrimitive) {
     
    10761193     * Check if OSM primitive has a tag 'capacity'.
    10771194     * @param osmPrimitive The OSM entity to check.
     1195     * @return {@code true} if OSM primitive has a tag 'capacity'
    10781196     */
    10791197    public static boolean hasCapacityTag(OsmPrimitive osmPrimitive) {
     
    10841202     * Gets the value of tag 'capacity'.
    10851203     * @param osmPrimitive The OSM entity to check.
     1204     * @return the value of tag 'capacity'
    10861205     */
    10871206    public static String getCapacityValue(OsmPrimitive osmPrimitive) {
     
    10921211     * Check if OSM primitive has a tag 'motorcycle'.
    10931212     * @param osmPrimitive The OSM entity to check.
     1213     * @return {@code true} if OSM primitive has a tag 'motorcycle'
    10941214     */
    10951215    public static boolean hasMotorcycleTag(OsmPrimitive osmPrimitive) {
     
    11001220     * Gets the value of tag 'motorcycle'.
    11011221     * @param osmPrimitive The OSM entity to check.
     1222     * @return the value of tag 'motorcycle'
    11021223     */
    11031224    public static String getMotorcycleValue(OsmPrimitive osmPrimitive) {
     
    11081229     * Check if OSM primitive has a tag 'hgv'.
    11091230     * @param osmPrimitive The OSM entity to check.
     1231     * @return {@code true} if OSM primitive has a tag 'hgv'
    11101232     */
    11111233    public static boolean hasHgvTag(OsmPrimitive osmPrimitive) {
     
    11161238     * Gets the value of tag 'hgv'.
    11171239     * @param osmPrimitive The OSM entity to check.
     1240     * @return the value of tag 'hgv'
    11181241     */
    11191242    public static String getHgvValue(OsmPrimitive osmPrimitive) {
     
    11241247     * Check if OSM primitive has a tag 'construction'.
    11251248     * @param osmPrimitive The OSM entity to check.
     1249     * @return {@code true} if OSM primitive has a tag 'construction'
    11261250     */
    11271251    public static boolean hasConstructionTag(OsmPrimitive osmPrimitive) {
     
    11321256     * Gets the value of tag 'construction'.
    11331257     * @param osmPrimitive The OSM entity to check.
     1258     * @return the value of tag 'construction'
    11341259     */
    11351260    public static String getConstructionValue(OsmPrimitive osmPrimitive) {
     
    11401265     * Check if OSM primitive has a tag 'addr:state'.
    11411266     * @param osmPrimitive The OSM entity to check.
     1267     * @return {@code true} if OSM primitive has a tag 'addr:state'
    11421268     */
    11431269    public static boolean hasAddrStateTag(OsmPrimitive osmPrimitive) {
     
    11481274     * Gets the value of tag 'addr:state'.
    11491275     * @param osmPrimitive The OSM entity to check.
     1276     * @return the value of tag 'addr:state'
    11501277     */
    11511278    public static String getAddrStateValue(OsmPrimitive osmPrimitive) {
     
    11561283     * Check if OSM primitive has a tag 'lanes'.
    11571284     * @param osmPrimitive The OSM entity to check.
     1285     * @return {@code true} if OSM primitive has a tag 'lanes'
    11581286     */
    11591287    public static boolean hasLanesTag(OsmPrimitive osmPrimitive) {
     
    11641292     * Gets the value of tag 'lanes'.
    11651293     * @param osmPrimitive The OSM entity to check.
     1294     * @return the value of tag 'lanes'
    11661295     */
    11671296    public static String getLanesValue(OsmPrimitive osmPrimitive) {
     
    11721301     * Check if OSM primitive has a tag 'note'.
    11731302     * @param osmPrimitive The OSM entity to check.
     1303     * @return {@code true} if OSM primitive has a tag 'note'
    11741304     */
    11751305    public static boolean hasNoteTag(OsmPrimitive osmPrimitive) {
     
    11801310     * Gets the value of tag 'note'.
    11811311     * @param osmPrimitive The OSM entity to check.
     1312     * @return the value of tag 'note'
    11821313     */
    11831314    public static String getNoteValue(OsmPrimitive osmPrimitive) {
     
    11881319     * Check if OSM primitive has a tag 'lit'.
    11891320     * @param osmPrimitive The OSM entity to check.
     1321     * @return {@code true} if OSM primitive has a tag 'lit'
    11901322     */
    11911323    public static boolean hasLitTag(OsmPrimitive osmPrimitive) {
     
    11961328     * Gets the value of tag 'lit'.
    11971329     * @param osmPrimitive The OSM entity to check.
     1330     * @return the value of tag 'lit'
    11981331     */
    11991332    public static String getLitValue(OsmPrimitive osmPrimitive) {
     
    12041337     * Check if OSM primitive has a tag 'building'.
    12051338     * @param osmPrimitive The OSM entity to check.
     1339     * @return {@code true} if OSM primitive has a tag 'building'
    12061340     */
    12071341    public static boolean hasBuildingTag(OsmPrimitive osmPrimitive) {
     
    12121346     * Gets the value of tag 'building'.
    12131347     * @param osmPrimitive The OSM entity to check.
     1348     * @return the value of tag 'building'
    12141349     */
    12151350    public static String getBuildingValue(OsmPrimitive osmPrimitive) {
     
    12201355     * Check if OSM primitive has a tag 'segregated'.
    12211356     * @param osmPrimitive The OSM entity to check.
     1357     * @return {@code true} if OSM primitive has a tag 'segregated'
    12221358     */
    12231359    public static boolean hasSegregatedTag(OsmPrimitive osmPrimitive) {
     
    12281364     * Gets the value of tag 'segregated'.
    12291365     * @param osmPrimitive The OSM entity to check.
     1366     * @return the value of tag 'segregated'
    12301367     */
    12311368    public static String getSegregatedValue(OsmPrimitive osmPrimitive) {
     
    12361373     * Check if OSM primitive has a tag 'addr:inclusion'.
    12371374     * @param osmPrimitive The OSM entity to check.
     1375     * @return {@code true} if OSM primitive has a tag 'addr:inclusion'
    12381376     */
    12391377    public static boolean hasAddrInclusionTag(OsmPrimitive osmPrimitive) {
     
    12441382     * Gets the value of tag 'addr:inclusion'.
    12451383     * @param osmPrimitive The OSM entity to check.
     1384     * @return the value of tag 'addr:inclusion'
    12461385     */
    12471386    public static String getAddrInclusionValue(OsmPrimitive osmPrimitive) {
     
    12521391     * Check if OSM primitive has a tag 'layer'.
    12531392     * @param osmPrimitive The OSM entity to check.
     1393     * @return {@code true} if OSM primitive has a tag 'layer'
    12541394     */
    12551395    public static boolean hasLayerTag(OsmPrimitive osmPrimitive) {
     
    12601400     * Gets the value of tag 'layer'.
    12611401     * @param osmPrimitive The OSM entity to check.
     1402     * @return the value of tag 'layer'
    12621403     */
    12631404    public static String getLayerValue(OsmPrimitive osmPrimitive) {
     
    12681409     * Check if OSM primitive has a tag 'sport'.
    12691410     * @param osmPrimitive The OSM entity to check.
     1411     * @return {@code true} if OSM primitive has a tag 'sport'
    12701412     */
    12711413    public static boolean hasSportTag(OsmPrimitive osmPrimitive) {
     
    12761418     * Gets the value of tag 'sport'.
    12771419     * @param osmPrimitive The OSM entity to check.
     1420     * @return the value of tag 'sport'
    12781421     */
    12791422    public static String getSportValue(OsmPrimitive osmPrimitive) {
     
    12841427     * Check if OSM primitive has a tag 'addr:interpolation'.
    12851428     * @param osmPrimitive The OSM entity to check.
     1429     * @return {@code true} if OSM primitive has a tag 'addr:interpolation'
    12861430     */
    12871431    public static boolean hasAddrInterpolationTag(OsmPrimitive osmPrimitive) {
     
    12921436     * Gets the value of tag 'addr:interpolation'.
    12931437     * @param osmPrimitive The OSM entity to check.
     1438     * @return the value of tag 'addr:interpolation'
    12941439     */
    12951440    public static String getAddrInterpolationValue(OsmPrimitive osmPrimitive) {
     
    13001445     * Check if OSM primitive has a tag 'cutting'.
    13011446     * @param osmPrimitive The OSM entity to check.
     1447     * @return {@code true} if OSM primitive has a tag 'cutting'
    13021448     */
    13031449    public static boolean hasCuttingTag(OsmPrimitive osmPrimitive) {
     
    13081454     * Gets the value of tag 'cutting'.
    13091455     * @param osmPrimitive The OSM entity to check.
     1456     * @return the value of tag 'cutting'
    13101457     */
    13111458    public static String getCuttingValue(OsmPrimitive osmPrimitive) {
     
    13161463     * Check if OSM primitive has a tag 'amenity'.
    13171464     * @param osmPrimitive The OSM entity to check.
     1465     * @return {@code true} if OSM primitive has a tag 'amenity'
    13181466     */
    13191467    public static boolean hasAmenityTag(OsmPrimitive osmPrimitive) {
     
    13241472     * Gets the value of tag 'amenity'.
    13251473     * @param osmPrimitive The OSM entity to check.
     1474     * @return the value of tag 'amenity'
    13261475     */
    13271476    public static String getAmenityValue(OsmPrimitive osmPrimitive) {
     
    13321481     * Check if OSM primitive has a tag 'access'.
    13331482     * @param osmPrimitive The OSM entity to check.
     1483     * @return {@code true} if OSM primitive has a tag 'access'
    13341484     */
    13351485    public static boolean hasAccessTag(OsmPrimitive osmPrimitive) {
     
    13401490     * Gets the value of tag 'access'.
    13411491     * @param osmPrimitive The OSM entity to check.
     1492     * @return the value of tag 'access'
    13421493     */
    13431494    public static String getAccessValue(OsmPrimitive osmPrimitive) {
     
    13481499     * Check if OSM primitive has a tag 'agricultural'.
    13491500     * @param osmPrimitive The OSM entity to check.
     1501     * @return {@code true} if OSM primitive has a tag 'agricultural'
    13501502     */
    13511503    public static boolean hasAgriculturalTag(OsmPrimitive osmPrimitive) {
     
    13571509     * Gets the value of tag 'agricultural'.
    13581510     * @param osmPrimitive The OSM entity to check.
     1511     * @return the value of tag 'agricultural'
    13591512     */
    13601513    public static String getAgriculturalValue(OsmPrimitive osmPrimitive) {
     
    13651518     * Check if OSM primitive has a tag 'capacity:disabled'.
    13661519     * @param osmPrimitive The OSM entity to check.
     1520     * @return {@code true} if OSM primitive has a tag 'capacity:disabled'
    13671521     */
    13681522    public static boolean hasCapacityDisabledTag(OsmPrimitive osmPrimitive) {
     
    13741528     * Gets the value of tag 'capacity:disabled'.
    13751529     * @param osmPrimitive The OSM entity to check.
     1530     * @return the value of tag 'capacity:disabled'
    13761531     */
    13771532    public static String getCapacityDisabledValue(OsmPrimitive osmPrimitive) {
     
    13821537     * Check if OSM primitive has a tag 'operator'.
    13831538     * @param osmPrimitive The OSM entity to check.
     1539     * @return {@code true} if OSM primitive has a tag 'operator'
    13841540     */
    13851541    public static boolean hasOperatorTag(OsmPrimitive osmPrimitive) {
     
    13901546     * Gets the value of tag 'operator'.
    13911547     * @param osmPrimitive The OSM entity to check.
     1548     * @return the value of tag 'operator'
    13921549     */
    13931550    public static String getOperatorValue(OsmPrimitive osmPrimitive) {
     
    13981555     * Check if OSM primitive has a tag 'ref'.
    13991556     * @param osmPrimitive The OSM entity to check.
     1557     * @return {@code true} if OSM primitive has a tag 'ref'
    14001558     */
    14011559    public static boolean hasRefTag(OsmPrimitive osmPrimitive) {
     
    14061564     * Gets the value of tag 'ref'.
    14071565     * @param osmPrimitive The OSM entity to check.
     1566     * @return the value of tag 'ref'
    14081567     */
    14091568    public static String getRefValue(OsmPrimitive osmPrimitive) {
     
    14141573     * Check if OSM primitive has a tag 'noexit'.
    14151574     * @param osmPrimitive The OSM entity to check.
     1575     * @return {@code true} if OSM primitive has a tag 'noexit'
    14161576     */
    14171577    public static boolean hasNoexitTag(OsmPrimitive osmPrimitive) {
     
    14221582     * Gets the value of tag 'noexit'.
    14231583     * @param osmPrimitive The OSM entity to check.
     1584     * @return the value of tag 'noexit'
    14241585     */
    14251586    public static String getNoexitValue(OsmPrimitive osmPrimitive) {
     
    14301591     * Check if OSM primitive has a tag 'admin_level'.
    14311592     * @param osmPrimitive The OSM entity to check.
     1593     * @return {@code true} if OSM primitive has a tag 'admin_level'
    14321594     */
    14331595    public static boolean hasAdminLevelTag(OsmPrimitive osmPrimitive) {
     
    14381600     * Gets the value of tag 'admin_level'.
    14391601     * @param osmPrimitive The OSM entity to check.
     1602     * @return the value of tag 'admin_level'
    14401603     */
    14411604    public static String getAdminLevelValue(OsmPrimitive osmPrimitive) {
     
    14461609     * Check if OSM primitive has a tag 'source'.
    14471610     * @param osmPrimitive The OSM entity to check.
     1611     * @return {@code true} if OSM primitive has a tag 'source'
    14481612     */
    14491613    public static boolean hasSourceTag(OsmPrimitive osmPrimitive) {
     
    14541618     * Gets the value of tag 'source'.
    14551619     * @param osmPrimitive The OSM entity to check.
     1620     * @return the value of tag 'source'
    14561621     */
    14571622    public static String getSourceValue(OsmPrimitive osmPrimitive) {
     
    14621627     * Check if OSM primitive has a tag 'tracktype'.
    14631628     * @param osmPrimitive The OSM entity to check.
     1629     * @return {@code true} if OSM primitive has a tag 'tracktype'
    14641630     */
    14651631    public static boolean hasTracktypeTag(OsmPrimitive osmPrimitive) {
     
    14701636     * Gets the value of tag 'tracktype'.
    14711637     * @param osmPrimitive The OSM entity to check.
     1638     * @return the value of tag 'tracktype'
    14721639     */
    14731640    public static String getTracktypeValue(OsmPrimitive osmPrimitive) {
     
    14781645     * Check if OSM primitive has a tag 'addr:country'.
    14791646     * @param osmPrimitive The OSM entity to check.
     1647     * @return {@code true} if OSM primitive has a tag 'addr:country'
    14801648     */
    14811649    public static boolean hasAddrCountryTag(OsmPrimitive osmPrimitive) {
     
    14861654     * Gets the value of tag 'addr:country'.
    14871655     * @param osmPrimitive The OSM entity to check.
     1656     * @return the value of tag 'addr:country'
    14881657     */
    14891658    public static String getAddrCountryValue(OsmPrimitive osmPrimitive) {
     
    14941663     * Check if OSM primitive has a tag 'route'.
    14951664     * @param osmPrimitive The OSM entity to check.
     1665     * @return {@code true} if OSM primitive has a tag 'route'
    14961666     */
    14971667    public static boolean hasRouteTag(OsmPrimitive osmPrimitive) {
     
    15021672     * Gets the value of tag 'route'.
    15031673     * @param osmPrimitive The OSM entity to check.
     1674     * @return the value of tag 'route'
    15041675     */
    15051676    public static String getRouteValue(OsmPrimitive osmPrimitive) {
     
    15101681     * Check if OSM primitive has a tag 'cables'.
    15111682     * @param osmPrimitive The OSM entity to check.
     1683     * @return {@code true} if OSM primitive has a tag 'cables'
    15121684     */
    15131685    public static boolean hasCablesTag(OsmPrimitive osmPrimitive) {
     
    15181690     * Gets the value of tag 'cables'.
    15191691     * @param osmPrimitive The OSM entity to check.
     1692     * @return the value of tag 'cables'
    15201693     */
    15211694    public static String getCablesValue(OsmPrimitive osmPrimitive) {
     
    15261699     * Check if OSM primitive has a tag 'service'.
    15271700     * @param osmPrimitive The OSM entity to check.
     1701     * @return {@code true} if OSM primitive has a tag 'service'
    15281702     */
    15291703    public static boolean hasServiceTag(OsmPrimitive osmPrimitive) {
     
    15341708     * Gets the value of tag 'service'.
    15351709     * @param osmPrimitive The OSM entity to check.
     1710     * @return the value of tag 'service'
    15361711     */
    15371712    public static String getServiceValue(OsmPrimitive osmPrimitive) {
     
    15421717     * Check if OSM primitive has a tag 'motorcar'.
    15431718     * @param osmPrimitive The OSM entity to check.
     1719     * @return {@code true} if OSM primitive has a tag 'motorcar'
    15441720     */
    15451721    public static boolean hasMotorcarTag(OsmPrimitive osmPrimitive) {
     
    15501726     * Gets the value of tag 'motorcar'.
    15511727     * @param osmPrimitive The OSM entity to check.
     1728     * @return the value of tag 'motorcar'
    15521729     */
    15531730    public static String getMotorcarValue(OsmPrimitive osmPrimitive) {
     
    15581735     * Check if OSM primitive has a tag 'whitewater'.
    15591736     * @param osmPrimitive The OSM entity to check.
     1737     * @return {@code true} if OSM primitive has a tag 'whitewater'
    15601738     */
    15611739    public static boolean hasWhitewaterTag(OsmPrimitive osmPrimitive) {
     
    15661744     * Gets the value of tag 'whitewater'.
    15671745     * @param osmPrimitive The OSM entity to check.
     1746     * @return the value of tag 'whitewater'
    15681747     */
    15691748    public static String getWhitewaterValue(OsmPrimitive osmPrimitive) {
     
    15741753     * Check if OSM primitive has a tag 'embankment'.
    15751754     * @param osmPrimitive The OSM entity to check.
     1755     * @return {@code true} if OSM primitive has a tag 'embankment'
    15761756     */
    15771757    public static boolean hasEmbankmentTag(OsmPrimitive osmPrimitive) {
     
    15821762     * Gets the value of tag 'embankment'.
    15831763     * @param osmPrimitive The OSM entity to check.
     1764     * @return the value of tag 'embankment'
    15841765     */
    15851766    public static String getEmbankmentValue(OsmPrimitive osmPrimitive) {
     
    16171798    /**
    16181799     * Check if OSM relation is a 'associatedStreet' relation.
    1619      * @param osmPrimitive The OSM entity to check.
     1800     * @param rel The relation to check.
     1801     * @return {@code true} if OSM relation is a 'associatedStreet' relation
    16201802     */
    16211803    public static boolean isAssociatedStreetRelation(Relation rel) {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AddressEditDialog.java

    r34511 r34880  
    5050import org.openstreetmap.josm.tools.Logging;
    5151
     52/**
     53 * Address Edit dialog.
     54 */
    5255@SuppressWarnings("serial")
    5356public class AddressEditDialog extends JDialog implements ActionListener, ListSelectionListener, IAddressEditContainerListener {
     
    367370     * the jumpToEntry event occurs, that object's appropriate
    368371     * method is invoked.
    369      *
    370      * @see JumpToEntryEvent
    371372     */
    372373    class JumpToEntryListener implements KeyListener {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AddressEditModel.java

    r32970 r34880  
    1414import org.openstreetmap.josm.plugins.fixAddresses.OSMStreet;
    1515
     16/**
     17 * Address Edit model.
     18 */
    1619public class AddressEditModel {
    1720    private List<OSMStreet> streets;
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AddressEditSelectionEvent.java

    r32970 r34880  
    1212import org.openstreetmap.josm.plugins.fixAddresses.OSMStreet;
    1313
     14/**
     15 * Address Edit selection event
     16 */
    1417public class AddressEditSelectionEvent extends ActionEvent {
    15     /**
    16      *
    17      */
     18
    1819    private static final long serialVersionUID = -93034483427803409L;
    1920    private JTable streetTable;
     
    3031     * @param selStreet The street table component.
    3132     * @param unresolvedAddresses The unresolved addresses table component.
    32      * @param incomplete The incomplete addresses table component.
     33     * @param incompleteAddresses The incomplete addresses table component.
    3334     * @param container The address container instance holding the entities for streets and addresses.
    3435     */
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AddressEditTableModel.java

    r34058 r34880  
    1717import org.openstreetmap.josm.plugins.fixAddresses.IOSMEntity;
    1818
     19/**
     20 * Address edit table model.
     21 */
    1922@SuppressWarnings("serial")
    2023public abstract class AddressEditTableModel extends DefaultTableModel implements
     
    3639            fireTableDataChanged(); // update model
    3740        } else {
    38             SwingUtilities.invokeLater(new Runnable() {
    39 
    40                 @Override
    41                 public void run() {
    42                     fireTableDataChanged(); // update model
    43                 }
    44             });
     41            SwingUtilities.invokeLater(() -> fireTableDataChanged());
    4542        }
    4643    }
     
    9188     * the column event occurs, that object's appropriate
    9289     * method is invoked.
    93      *
    94      * @see ColumnEvent
    9590     */
    9691    class ColumnListener extends MouseAdapter {
     
    139134    /**
    140135     * Internal base class to sort items by different columns.
     136     * @param <E> item type
    141137     */
    142138    protected abstract static class ColumnSorter<E> implements Comparator<E> {
     
    148144         *
    149145         * @param column the column to sort by
     146         * @param ascending if sort mode is ascending or not
    150147         */
    151148        public ColumnSorter(int column, boolean ascending) {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/BBoxMapRectangle.java

    r32970 r34880  
    99import org.openstreetmap.josm.data.osm.BBox;
    1010
     11/**
     12 * A {@link MapRectangleImpl} constructed from a {@link BBox}.
     13 */
    1114public class BBoxMapRectangle extends MapRectangleImpl {
    1215    private BBox bbox;
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/IncompleteAddressesDialog.java

    r30737 r34880  
    3232import org.openstreetmap.josm.plugins.fixAddresses.gui.actions.AddressActions;
    3333
     34/**
     35 * Incomplete addresses dialog.
     36 */
    3437@SuppressWarnings("serial")
    3538public class IncompleteAddressesDialog extends ToggleDialog implements DataSetListener, ListSelectionListener, IAddressEditContainerListener {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/IncompleteAddressesTableModel.java

    r34058 r34880  
    1111import org.openstreetmap.josm.plugins.fixAddresses.OSMAddress;
    1212
     13/**
     14 * Incomplete addresses table model.
     15 */
    1316public class IncompleteAddressesTableModel extends AddressEditTableModel {
    14     /**
    15      *
    16      */
     17
    1718    private static final long serialVersionUID = -5951629033395186324L;
    1819
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/StreetTableModel.java

    r34058 r34880  
    1010import org.openstreetmap.josm.plugins.fixAddresses.OSMStreet;
    1111
     12/**
     13 * Street table model.
     14 */
    1215@SuppressWarnings("serial")
    1316public class StreetTableModel extends AddressEditTableModel {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/AbstractAddressEditAction.java

    r34511 r34880  
    117117    /**
    118118     * Updates 'enabled' state depending on the current selection.
    119      * @param container The selection event.
     119     * @param event The selection event.
    120120     */
    121121    protected abstract void updateEnabledState(AddressEditSelectionEvent event);
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/AddressActions.java

    r32970 r34880  
    22package org.openstreetmap.josm.plugins.fixAddresses.gui.actions;
    33
     4/**
     5 * Global action objects
     6 */
    47public final class AddressActions {
    58
     
    811    }
    912
    10     /* Global action objects */
    1113    public static SelectAddressesInMapAction getSelectAction() {
    1214        return new SelectAddressesInMapAction();
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ApplyAllGuessesAction.java

    r34058 r34880  
    2929    /**
    3030     * Instantiates a new "apply all guesses" action.
     31     * @param tag tag to analyze
    3132     */
    3233    public ApplyAllGuessesAction(String tag) {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ConvertAllToRelationAction.java

    r30348 r34880  
    88import org.openstreetmap.josm.plugins.fixAddresses.gui.AddressEditSelectionEvent;
    99
     10/**
     11 * Create relation between street and related addresses for ALL streets in the current layer.
     12 */
    1013@SuppressWarnings("serial")
    1114public class ConvertAllToRelationAction extends ConvertToRelationAction {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ConvertToRelationAction.java

    r33718 r34880  
    1414import org.openstreetmap.josm.plugins.fixAddresses.gui.AddressEditSelectionEvent;
    1515
     16/**
     17 * Create relation between street and related addresses.
     18 */
    1619@SuppressWarnings("serial")
    1720public class ConvertToRelationAction extends AbstractAddressEditAction {
     
    2932     * @param iconName the icon name
    3033     * @param tooltip the tool tip to show on hover
     34     * @param toolbar identifier for the toolbar preferences
    3135     */
    3236    public ConvertToRelationAction(String name, String iconName, String tooltip, String toolbar) {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/GuessAddressDataAction.java

    r33718 r34880  
    5858    /**
    5959     * Internal method to start several threads guessing tag values for the given list of addresses.
     60     * @param nodes list of OSM addresses
    6061     */
    6162    private void internalGuessAddresses(List<OSMAddress> nodes) {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/RemoveAddressTagsAction.java

    r30348 r34880  
    88import org.openstreetmap.josm.plugins.fixAddresses.gui.AddressEditSelectionEvent;
    99
     10/**
     11 * Removes address related tags from the object.
     12 */
    1013@SuppressWarnings("serial")
    1114public class RemoveAddressTagsAction extends AbstractAddressEditAction {
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/SelectAddressesInMapAction.java

    r32970 r34880  
    1414
    1515/**
     16 * Marks selected addresses in the map.
    1617 *
    1718 * @author Oliver Wieland &lt;oliver.wieland@online.de>
    18  *
    1919 */
    2020@SuppressWarnings("serial")
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/SelectIncompleteAddressesAction.java

    r34058 r34880  
    1313import org.openstreetmap.josm.plugins.fixAddresses.OSMAddress;
    1414
     15/**
     16 * Selects all addresses with incomplete data.
     17 */
    1518@SuppressWarnings("serial")
    1619public class SelectIncompleteAddressesAction extends JosmAction {
    17 
    1820
    1921    private AddressEditContainer addressEditContainer;
Note: See TracChangeset for help on using the changeset viewer.