Ignore:
Timestamp:
2012-01-26T21:52:34+01:00 (12 years ago)
Author:
jttt
Message:

Use static class were appropriate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java

    r4729 r4874  
    66import java.io.BufferedReader;
    77import java.io.DataOutputStream;
     8import java.io.IOException;
    89import java.io.InputStreamReader;
    9 import java.io.IOException;
    1010import java.io.UnsupportedEncodingException;
    1111import java.lang.reflect.Field;
     
    4646    private HttpURLConnection connection;
    4747
    48     private class SessionId {
     48    private static class SessionId {
    4949        String id;
    5050        String token;
     
    209209            while((c = r.readLine()) != null) {
    210210                Matcher m = p.matcher(c);
    211                 if(m.find()) {
     211                if(m.find())
    212212                    return m.group(1);
    213                 }
    214213            }
    215214        } catch (IOException e) {
Note: See TracChangeset for help on using the changeset viewer.