Ignore:
Timestamp:
2020-06-07T14:49:02+02:00 (4 years ago)
Author:
Don-vip
Message:

see #19334 - javadoc fixes + protected constructors for abstract classes

Location:
trunk/src/org/openstreetmap/josm/gui/io
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/AbstractIOTask.java

    r14302 r16553  
    1818     * Constructs a new {@code AbstractIOTask}.
    1919     */
    20     public AbstractIOTask() {
     20    protected AbstractIOTask() {
    2121        canceled = false;
    2222        failed = false;
  • trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadDialog.java

    r9685 r16553  
    4747     * @see JComponent#getDefaultLocale
    4848     */
    49     public AbstractUploadDialog(Window owner, ModalityType modalityType) {
     49    protected AbstractUploadDialog(Window owner, ModalityType modalityType) {
    5050        super(owner, modalityType);
    5151    }
     
    8989     * @see JComponent#getDefaultLocale
    9090     */
    91     public AbstractUploadDialog(Window owner, String title, ModalityType modalityType, GraphicsConfiguration gc) {
     91    protected AbstractUploadDialog(Window owner, String title, ModalityType modalityType, GraphicsConfiguration gc) {
    9292        super(owner, title, modalityType, gc);
    9393    }
     
    125125     * @see JComponent#getDefaultLocale
    126126     */
    127     public AbstractUploadDialog(Window owner, String title, ModalityType modalityType) {
     127    protected AbstractUploadDialog(Window owner, String title, ModalityType modalityType) {
    128128        super(owner, title, modalityType);
    129129    }
     
    152152     * @see JComponent#getDefaultLocale
    153153     */
    154     public AbstractUploadDialog(Window owner, String title) {
     154    protected AbstractUploadDialog(Window owner, String title) {
    155155        super(owner, title);
    156156    }
     
    177177     * @see JComponent#getDefaultLocale
    178178     */
    179     public AbstractUploadDialog(Window owner) {
     179    protected AbstractUploadDialog(Window owner) {
    180180        super(owner);
    181181    }
  • trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadTask.java

    r16407 r16553  
    5353     * then use false unless you read result of task (because exception will get lost if you don't)
    5454     */
    55     public AbstractUploadTask(String title, boolean ignoreException) {
     55    protected AbstractUploadTask(String title, boolean ignoreException) {
    5656        super(title, ignoreException);
    5757    }
     
    6565     * then use false unless you read result of task (because exception will get lost if you don't)
    6666     */
    67     public AbstractUploadTask(String title, ProgressMonitor progressMonitor, boolean ignoreException) {
     67    protected AbstractUploadTask(String title, ProgressMonitor progressMonitor, boolean ignoreException) {
    6868        super(title, progressMonitor, ignoreException);
    6969    }
     
    7373     * @param title message for the user
    7474     */
    75     public AbstractUploadTask(String title) {
     75    protected AbstractUploadTask(String title) {
    7676        super(title);
    7777    }
  • trunk/src/org/openstreetmap/josm/gui/io/DownloadPrimitivesWithReferrersTask.java

    r16204 r16553  
    6666     *     i.e., parent relations, and for nodes, additionally, parent ways
    6767     * @param full if the members of a relation should be downloaded as well
    68      * @param newLayerName the name to use for the new layer, can be {@code null}.
     68     * @param newLayerName the name to use for the new layer, can be null.
    6969     * @param monitor ProgressMonitor to use, or null to create a new one
    7070     */
  • trunk/src/org/openstreetmap/josm/gui/io/importexport/FileExporter.java

    r15662 r16553  
    2727     * @param filter The extension file filter
    2828     */
    29     public FileExporter(ExtensionFileFilter filter) {
     29    protected FileExporter(ExtensionFileFilter filter) {
    3030        this.filter = filter;
    3131        this.enabled = true;
  • trunk/src/org/openstreetmap/josm/gui/io/importexport/FileImporter.java

    r16084 r16553  
    4141     * @param filter The extension file filter
    4242     */
    43     public FileImporter(ExtensionFileFilter filter) {
     43    protected FileImporter(ExtensionFileFilter filter) {
    4444        this.filter = filter;
    4545        this.enabled = true;
Note: See TracChangeset for help on using the changeset viewer.