OAuth2AccessToken (String code) { OAuth20Service service = <warning descr="'OAuth20Service' used without 'try'-with-resources statement">makeOAuth2Service</warning>(); try { return service.getAccessToken(code); } catch (RuntimeException e) { return null; } }