Ignore:
Timestamp:
2013-04-29T00:09:53+02:00 (11 years ago)
Author:
stoecker
Message:

fix all remaining javadoc warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/PowerLines.java

    r5359 r5909  
    137137     * Determines if the specified way denotes a power line.
    138138     * @param w The way to be tested
    139      * @return True if power key is set and equal to line/minor_line
     139     * @return {@code true} if power key is set and equal to line/minor_line
    140140     */
    141141    protected static final boolean isPowerLine(Way w) {
     
    145145    /**
    146146     * Determines if the specified primitive denotes a power station.
    147      * @param w The way to be tested
    148      * @return True if power key is set and equal to station/sub_station/plant
     147     * @param p The primitive to be tested
     148     * @return {@code true} if power key is set and equal to station/sub_station/plant
    149149     */
    150150    protected static final boolean isPowerStation(OsmPrimitive p) {
     
    154154    /**
    155155     * Determines if the specified node denotes a power tower/pole.
    156      * @param w The node to be tested
    157      * @return True if power key is set and equal to tower/pole
     156     * @param n The node to be tested
     157     * @return {@code true} if power key is set and equal to tower/pole
    158158     */
    159159    protected static final boolean isPowerTower(Node n) {
     
    163163    /**
    164164     * Determines if the specified node denotes a power infrastructure allowed on a power line.
    165      * @param w The node to be tested
     165     * @param n The node to be tested
    166166     * @return True if power key is set and equal to switch/tranformer/busbar/generator
    167167     */
     
    170170    }
    171171   
     172    /**
     173     * Helper function to check if power tags is a certain value.
     174     * @param p The primitive to be tested
     175     * @param values List of possible values
     176     * @return {@code true} if power key is set and equal to possible values
     177     */
    172178    private static final boolean isPowerIn(OsmPrimitive p, Collection<String> values) {
    173179        String v = p.get("power");
Note: See TracChangeset for help on using the changeset viewer.