Changeset 10831 in josm for trunk/src/oauth/signpost/basic


Ignore:
Timestamp:
2016-08-18T00:21:03+02:00 (5 years ago)
Author:
Don-vip
Message:

see #13232 - cleanup OAuth signpost code:

  • remove classes unused by JOSM
  • add missing @Override annotations
Location:
trunk/src/oauth/signpost/basic
Files:
4 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oauth/signpost/basic/UrlStringRequestAdapter.java

    r4231 r10831  
    1616    }
    1717
     18    @Override
    1819    public String getMethod() {
    1920        return "GET";
    2021    }
    2122
     23    @Override
    2224    public String getRequestUrl() {
    2325        return url;
    2426    }
    2527
     28    @Override
    2629    public void setRequestUrl(String url) {
    2730        this.url = url;
    2831    }
    2932
     33    @Override
    3034    public void setHeader(String name, String value) {
    3135    }
    3236
     37    @Override
    3338    public String getHeader(String name) {
    3439        return null;
    3540    }
    3641
     42    @Override
    3743    public Map<String, String> getAllHeaders() {
    3844        return Collections.emptyMap();
    3945    }
    4046
     47    @Override
    4148    public InputStream getMessagePayload() throws IOException {
    4249        return null;
    4350    }
    4451
     52    @Override
    4553    public String getContentType() {
    4654        return null;
    4755    }
    4856
     57    @Override
    4958    public Object unwrap() {
    5059        return url;
Note: See TracChangeset for help on using the changeset viewer.