Ignore:
Timestamp:
2018-04-23T23:13:03+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #16189 - Add "almost square check" for buildings (patch by marxin, modified)

File:
1 edited

Legend:

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

    r13434 r13670  
    188188     * @return a rectifying command
    189189     * @throws InvalidUserInputException if the selection is invalid
    190      */
    191     static SequenceCommand orthogonalize(Iterable<OsmPrimitive> selection) throws InvalidUserInputException {
     190     * @since 13670
     191     */
     192    public static SequenceCommand orthogonalize(Iterable<OsmPrimitive> selection) throws InvalidUserInputException {
    192193        final List<Node> nodeList = new ArrayList<>();
    193194        final List<WayData> wayDataList = new ArrayList<>();
     
    619620    /**
    620621     * Exception: unsuited user input
    621      */
    622     protected static class InvalidUserInputException extends Exception {
     622     * @since 13670
     623     */
     624    public static final class InvalidUserInputException extends Exception {
    623625        InvalidUserInputException(String message) {
    624626            super(message);
Note: See TracChangeset for help on using the changeset viewer.