Skip to content

Commit

Permalink
Changes generated by 8643e799954b1bea7fb832b4df8f6338713640a7
Browse files Browse the repository at this point in the history
This commit was automatically created from gocardless/gocardless-pro-java-template@8643e79
by the `push-files` action.

Workflow run: https://github.com/gocardless/gocardless-pro-java-template/actions/runs/9910910713
  • Loading branch information
gocardless-ci-robot[bot] committed Jul 12, 2024
1 parent 4a41f45 commit 3f0b244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/gocardless/http/HttpClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class HttpClient {
private static final String DISALLOWED_USER_AGENT_CHARACTERS =
"[^\\w!#$%&'\\*\\+\\-\\.\\^`\\|~]";
private static final String USER_AGENT =
String.format("gocardless-pro-java/5.25.0 java/%s %s/%s %s/%s",
String.format("gocardless-pro-java/5.26.0 java/%s %s/%s %s/%s",
cleanUserAgentToken(System.getProperty("java.vm.specification.version")),
cleanUserAgentToken(System.getProperty("java.vm.name")),
cleanUserAgentToken(System.getProperty("java.version")),
Expand All @@ -49,7 +49,7 @@ public class HttpClient {
builder.put("GoCardless-Version", "2015-07-06");
builder.put("Accept", "application/json");
builder.put("GoCardless-Client-Library", "gocardless-pro-java");
builder.put("GoCardless-Client-Version", "5.25.0");
builder.put("GoCardless-Client-Version", "5.26.0");
HEADERS = builder.build();
}
private final OkHttpClient rawClient;
Expand Down

0 comments on commit 3f0b244

Please sign in to comment.