Ignore:
Timestamp:
2016-05-16T04:05:58+02:00 (10 years ago)
Author:
Don-vip
Message:

findbugs: DP_DO_INSIDE_DO_PRIVILEGED + UWF_UNWRITTEN_FIELD + RC_REF_COMPARISON + OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE

File:
1 edited

Legend:

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

    r9935 r10223  
    9191        if (provider != null) {
    9292            try {
    93                 // TODO
    94                 Field f =  provider.getClass().getDeclaredField("connection");
    95                 f.setAccessible(true);
     93                Field f = provider.getClass().getDeclaredField("connection");
     94                Utils.setObjectsAccessible(f);
    9695                HttpURLConnection con = (HttpURLConnection) f.get(provider);
    9796                if (con != null) {
Note: See TracChangeset for help on using the changeset viewer.