Ignore:
Timestamp:
2014-03-21T17:31:18+01:00 (10 years ago)
Author:
Don-vip
Message:

fix #9778, fix #9806 - access OSM API and JOSM website in HTTPS by default + other HTTPS links where applicable + update CONTRIBUTION

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java

    r6850 r6920  
    7272        Shortcut.registerSystemShortcut("system:resetX", tr("reserved"), KeyEvent.VK_BACK_SPACE, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK).setAutomatic();
    7373    }
    74    
     74
    7575    /**
    7676     * This should work for all platforms. Yeah, should.
     
    122122        }
    123123    }
    124    
     124
    125125    /**
    126126     * Get the package name including detailed version.
     
    137137        }
    138138    }
    139    
     139
    140140    /**
    141141     * Get the Java package name including detailed version.
     
    166166        return null;
    167167    }
    168    
     168
    169169    /**
    170170     * Get the Web Start package name including detailed version.
    171171     *
    172      * Debian and Ubuntu OpenJDK packages are shipped with icedtea-web package, 
     172     * Debian and Ubuntu OpenJDK packages are shipped with icedtea-web package,
    173173     * but its version does not match main java package version.
    174      * 
     174     *
    175175     * Only Debian based distributions are covered at the moment.
    176176     * This can be extended to other distributions if needed.
    177      * 
     177     *
    178178     * Simply return {@code null} if there's no separate package for Java WebStart.
    179179     *
     
    323323        }
    324324    }
    325    
     325
    326326    protected void askUpdateJava(String version) {
    327327        try {
     
    339339                        "<b>"+tr("JOSM will soon stop working with this version; we highly recommend you to update to Java {0}.", "7")+"</b><br><br>"+
    340340                        tr("Would you like to update now ?"));
    341    
     341
    342342                if (ed.showDialog().getValue() == 1) {
    343                     openUrl("http://www.java.com/download");
     343                    openUrl("https://www.java.com/download");
    344344                }
    345345            }
Note: See TracChangeset for help on using the changeset viewer.