Skip to content

Commit 16d22ff

Browse files
richardmtaylorivolz
authored andcommitted
Fix typo and time output ordering
1 parent a438cbb commit 16d22ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android/src/main/java/com/criticalblue/approov_service_flutter_httpclient/ApproovHttpClientPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
// MethodChannel to call various methods within the SDK. A facility is also provided to probe the certificates
4848
// presented on any particular URL to implement the pinning.
4949
public class ApproovHttpClientPlugin implements FlutterPlugin, MethodCallHandler {
50-
// CertificatePrefetcher is a Runnable that fetches the certificates for a given URL. This allows the
50+
// CertificateFetcher is a Runnable that fetches the certificates for a given URL. This allows the
5151
// certificates to be fetched on a background thread in parallel with other fetches, and with an Approov
5252
// token fetch.
5353
private class CertificateFetcher implements Runnable {

lib/approov_service_flutter_httpclient.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ class ApproovHttpClient implements HttpClient {
15101510
_TokenFetchResult fetchResult = await approovToken;
15111511
tokenFinishTime = stopWatch.elapsedMilliseconds - tokenStartTime - certStartTime;
15121512
Log.d(
1513-
"$TAG: pinning setup fetch token for ${url.host}: ${fetchResult.tokenFetchStatus.name}, tokenStart ${tokenStartTime}ms, certStart ${certStartTime}ms, tokenFinish ${tokenFinishTime}ms");
1513+
"$TAG: pinning setup fetch token for ${url.host}: ${fetchResult.tokenFetchStatus.name}, certStart ${certStartTime}ms, tokenStart ${tokenStartTime}ms, tokenFinish ${tokenFinishTime}ms");
15141514

15151515
// if the config has changed (and therefore pins may have updated) then clear any cached certificates - fetching the
15161516
// config clears the config changed state)

0 commit comments

Comments
 (0)