Skip to content

Commit

Permalink
Remove version number
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Mar 5, 2024
1 parent f4e3e75 commit 866eb39
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import org.apache.hc.core5.pool.PoolReusePolicy;
import org.apache.hc.core5.util.TimeValue;
import org.apache.hc.core5.util.Timeout;
import org.opentripplanner.model.projectinfo.OtpProjectInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -139,7 +138,7 @@ private OtpHttpClient(Duration timeout, Duration connectionTtl, int maxConnectio

HttpClientBuilder httpClientBuilder = HttpClients
.custom()
.setUserAgent("OpenTripPlanner %s".formatted(OtpProjectInfo.projectInfo().version.toString()))
.setUserAgent("OpenTripPlanner")
.setConnectionManager(connectionManager)
.setDefaultRequestConfig(requestConfig(timeout));

Expand Down

0 comments on commit 866eb39

Please sign in to comment.