Changeset 4874 in josm for trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
- Timestamp:
- 2012-01-26T21:52:34+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
r4729 r4874 6 6 import java.io.BufferedReader; 7 7 import java.io.DataOutputStream; 8 import java.io.IOException; 8 9 import java.io.InputStreamReader; 9 import java.io.IOException;10 10 import java.io.UnsupportedEncodingException; 11 11 import java.lang.reflect.Field; … … 46 46 private HttpURLConnection connection; 47 47 48 private class SessionId {48 private static class SessionId { 49 49 String id; 50 50 String token; … … 209 209 while((c = r.readLine()) != null) { 210 210 Matcher m = p.matcher(c); 211 if(m.find()) {211 if(m.find()) 212 212 return m.group(1); 213 }214 213 } 215 214 } catch (IOException e) {
Note:
See TracChangeset
for help on using the changeset viewer.