Ignore:
Timestamp:
2017-05-25T03:01:03+02:00 (7 years ago)
Author:
Don-vip
Message:

findbugs - NM_SAME_SIMPLE_NAME_AS_SUPERCLASS

Location:
trunk/src/org/openstreetmap/josm/io/remotecontrol
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/DNSNameFix.java

    r12244 r12253  
    5757 * @since 7347
    5858 */
    59 public final class DNSName extends sun.security.x509.DNSName {
     59public final class DNSNameFix extends sun.security.x509.DNSName {
    6060
    6161    private static final String alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
     
    6969     * @throws IOException if the name is not a valid DNSName subjectAltName
    7070     */
    71     public DNSName(String name) throws IOException {
     71    public DNSNameFix(String name) throws IOException {
    7272        super("fake");
    7373        if (name == null || name.isEmpty())
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpsServer.java

    r11620 r12253  
    119119        switch (t.toLowerCase(Locale.ENGLISH)) {
    120120            case "uri": gn = new URIName(v); break;
    121             case "dns": gn = new DNSName(v); break;
     121            case "dns": gn = new DNSNameFix(v); break;
    122122            case "ip": gn = new IPAddressName(v); break;
    123123            default: gn = new OIDName(v);
Note: See TracChangeset for help on using the changeset viewer.