File tree Expand file tree Collapse file tree 3 files changed +3
-19
lines changed
java/com/google/auth/oauth2 Expand file tree Collapse file tree 3 files changed +3
-19
lines changed Original file line number Diff line number Diff line change 6464import com .google .common .collect .ImmutableMap ;
6565import com .google .common .collect .ImmutableSet ;
6666import com .google .errorprone .annotations .CanIgnoreReturnValue ;
67- import com .google .gson .Gson ;
6867import java .io .IOException ;
6968import java .io .InputStream ;
7069import java .io .ObjectInputStream ;
@@ -99,7 +98,6 @@ public class ServiceAccountCredentials extends GoogleCredentials
9998 private static final int TWELVE_HOURS_IN_SECONDS = 43200 ;
10099 private static final int DEFAULT_LIFETIME_IN_SECONDS = 3600 ;
101100 private static final Logger LOGGER = LoggingUtils .getLogger (ServiceAccountCredentials .class );
102- private static final Gson gson = new Gson ();
103101
104102 private final String clientId ;
105103 private final String clientEmail ;
Original file line number Diff line number Diff line change 5050import com .google .auth .oauth2 .MetricsUtils .RequestType ;
5151import com .google .common .base .MoreObjects ;
5252import com .google .errorprone .annotations .CanIgnoreReturnValue ;
53- import com .google .gson .Gson ;
5453import java .io .ByteArrayInputStream ;
5554import java .io .IOException ;
5655import java .io .InputStream ;
@@ -71,7 +70,6 @@ public class UserCredentials extends GoogleCredentials implements IdTokenProvide
7170 private static final String PARSE_ERROR_PREFIX = "Error parsing token refresh response. " ;
7271 private static final long serialVersionUID = -4800758775038679176L ;
7372 private static final Logger LOGGER = LoggingUtils .getLogger (UserCredentials .class );
74- private static final Gson gson = new Gson ();
7573
7674 private final String clientId ;
7775 private final String clientSecret ;
Original file line number Diff line number Diff line change 257257 <dependency >
258258 <groupId >ch.qos.logback</groupId >
259259 <artifactId >logback-classic</artifactId >
260- <version >1.5.11</version >
260+ <!-- Latest version with java8 support -->
261+ <version >1.3.14</version >
261262 <scope >test</scope >
262263 </dependency >
263264 <dependency >
264265 <groupId >ch.qos.logback</groupId >
265266 <artifactId >logback-core</artifactId >
266- <version >1.5.11</version >
267- <scope >test</scope >
268- </dependency >
269- <!-- For formatting and filtering, may remove after setting up tests -->
270- <dependency >
271- <groupId >net.logstash.logback</groupId >
272- <artifactId >logstash-logback-encoder</artifactId >
273- <version >8.0</version >
274- <scope >test</scope >
275- </dependency >
276- <dependency >
277- <groupId >org.codehaus.janino</groupId >
278- <artifactId >janino</artifactId >
279- <version >3.1.9</version >
267+ <version >1.3.14</version >
280268 <scope >test</scope >
281269 </dependency >
282270
You can’t perform that action at this time.
0 commit comments