Skip to content

Commit

Permalink
#14 Make gson instance static final in BoschHttpClient
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Oeing <[email protected]>
Signed-off-by: Gerd Zanker <[email protected]>
  • Loading branch information
coeing authored and GerdZanker committed Jan 7, 2021
1 parent e22b730 commit bf2f8e7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
*/
@NonNullByDefault
public class BoschHttpClient extends HttpClient {
private static final Gson gson = new Gson();

private final Logger logger = LoggerFactory.getLogger(BoschHttpClient.class);

private String ipAddress;
private String systempassword;

private Gson gson = new Gson();

public BoschHttpClient(String ipAddress, String systempassword, SslContextFactory sslContextFactory) {
super(sslContextFactory);
this.ipAddress = ipAddress;
Expand Down

0 comments on commit bf2f8e7

Please sign in to comment.