Ignore:
Timestamp:
2015-09-24T23:56:05+02:00 (5 years ago)
Author:
Don-vip
Message:

fix javadoc errors/warnings seen with JDK9

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java

    r8513 r8795  
    110110     *
    111111     * Case 1: One unclosed way.
    112      * --> allow action, and align selected way nodes
     112     * --> allow action, and align selected way nodes
    113113     * If nodes contained by this way are selected, there are fix.
    114114     * If nodes outside from the way are selected there are ignored.
    115115     *
    116116     * Case 2: One or more ways are selected and can be joined into a polygon
    117      * --> allow action, and align selected ways nodes
     117     * --> allow action, and align selected ways nodes
    118118     * If 1 node outside of way is selected, it became center
    119119     * If 1 node outside and 1 node inside are selected there define center and radius
     
    124124     *
    125125     * Case 3: Only nodes are selected
    126      * --> Align these nodes, all are fix
     126     * --> Align these nodes, all are fix
    127127     */
    128128    @Override
  • trunk/src/org/openstreetmap/josm/actions/CreateMultipolygonAction.java

    r8540 r8795  
    190190    /**
    191191     * Returns a {@link Pair} of the old multipolygon {@link Relation} (or null) and the newly created/modified multipolygon {@link Relation}.
     192     * @param selectedWays selected ways
     193     * @param selectedMultipolygonRelation selected multipolygon relation
     194     * @return pair of old and new multipolygon relation
    192195     */
    193196    public static Pair<Relation, Relation> updateMultipolygonRelation(Collection<Way> selectedWays, Relation selectedMultipolygonRelation) {
     
    207210    /**
    208211     * Returns a {@link Pair} null and the newly created/modified multipolygon {@link Relation}.
     212     * @param selectedWays selected ways
     213     * @param showNotif if {@code true}, shows a notification if an error occurs
     214     * @return pair of null and new multipolygon relation
    209215     */
    210216    public static Pair<Relation, Relation> createMultipolygonRelation(Collection<Way> selectedWays, boolean showNotif) {
     
    220226    /**
    221227     * Returns a {@link Pair} of a multipolygon creating/modifying {@link Command} as well as the multipolygon {@link Relation}.
     228     * @param selectedWays selected ways
     229     * @param selectedMultipolygonRelation selected multipolygon relation
     230     * @return pair of command and multipolygon relation
    222231     */
    223232    public static Pair<SequenceCommand, Relation> createMultipolygonCommand(Collection<Way> selectedWays,
     
    274283     * This method analyzes ways and creates multipolygon.
    275284     * @param selectedWays list of selected ways
     285     * @param showNotif if {@code true}, shows a notification if an error occurs
    276286     * @return <code>null</code>, if there was a problem with the ways.
    277287     */
     
    301311     * Builds a relation from polygon ways.
    302312     * @param pol data storage class containing polygon information
     313     * @param clone relation to clone, can be null
    303314     * @return multipolygon relation
    304315     */
  • trunk/src/org/openstreetmap/josm/actions/DistributeAction.java

    r8510 r8795  
    210210     * that are furthest apart, and then to distribute all other selected
    211211     * nodes along the straight line between these nodes.
     212     * @param nodes nodes to distribute
    212213     * @return Commands to execute to perform action
    213214     */
    214     private Collection<Command> distributeNodes(Collection<Node> nodes) {
     215    private static Collection<Command> distributeNodes(Collection<Node> nodes) {
    215216        // Find from the selected nodes two that are the furthest apart.
    216217        // Let's call them A and B.
  • trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java

    r8513 r8795  
    528528     * @param areas list of areas to join
    529529     * @return new area formed.
     530     * @throws UserCancelException if user cancels the operation
    530531     */
    531532    private JoinAreasResult joinAreas(List<Multipolygon> areas) throws UserCancelException {
     
    11941195     * @param polygon The list of outer ways that belong to that multigon.
    11951196     * @return The newly created outer way
     1197     * @throws UserCancelException if user cancels the operation
    11961198     */
    11971199    private Multipolygon  joinPolygon(AssembledMultipolygon polygon) throws UserCancelException {
     
    12091211     * @param ways The list of outer ways that belong to that multigon.
    12101212     * @return The newly created outer way
     1213     * @throws UserCancelException if user cancels the operation
    12111214     */
    12121215    private Way joinWays(List<WayInPolygon> ways) throws UserCancelException {
     
    12371240     * @param ways The list of ways to join and reverse
    12381241     * @return The newly created way
     1242     * @throws UserCancelException if user cancels the operation
    12391243     */
    12401244    private Way joinOrientedWays(List<WayInPolygon> ways) throws UserCancelException {
  • trunk/src/org/openstreetmap/josm/actions/ToggleAction.java

    r8540 r8795  
    120120     * the component already set the selected state.
    121121     * This method needs to be called especially if the action is associated with a keyboard shortcut to ensure correct selected state.
     122     * @param e ActionEvent that trigerred the action
    122123     * @see <a href="https://weblogs.java.net/blog/zixle/archive/2005/11/changes_to_acti.html">Changes to Actions in 1.6</a>
    123124     * @see <a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/Action.html">Interface Action</a>
Note: See TracChangeset for help on using the changeset viewer.