From 6471c07fdaac6e3e82f333fa326df5dd6c0d2d0f Mon Sep 17 00:00:00 2001 From: adyen-git-manager Date: Tue, 2 Apr 2019 14:48:49 +0200 Subject: [PATCH] 2.4.2 --- build.gradle | 4 +- checkout-threeds/build.gradle | 2 +- .../threeds/Card3DS2Authenticator.java | 2 +- config/checkstyle/checkstyle-rules-adyen.xml | 321 +++++++++--------- 4 files changed, 162 insertions(+), 167 deletions(-) diff --git a/build.gradle b/build.gradle index 36be252bf2..6a711e24ef 100644 --- a/build.gradle +++ b/build.gradle @@ -28,8 +28,8 @@ ext { "com.tencent.mm.opensdk:wechat-sdk-android-without-mta:9a15154c07c05eadba8351c110647c1754316e32d8f12f55e24679891b52739c:SHA-256", ] - versionCode = 210 - versionName = "2.4.1" + versionCode = 211 + versionName = "2.4.2" testCoverageEnabled = true } diff --git a/checkout-threeds/build.gradle b/checkout-threeds/build.gradle index 7c68b91ff2..142e1cf146 100644 --- a/checkout-threeds/build.gradle +++ b/checkout-threeds/build.gradle @@ -30,7 +30,7 @@ android { dependencies { implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}" - implementation "com.adyen.threeds:adyen-3ds2:0.9.3" + implementation "com.adyen.threeds:adyen-3ds2:0.9.4" implementation project(":checkout-base") } diff --git a/checkout-threeds/src/main/java/com/adyen/checkout/threeds/Card3DS2Authenticator.java b/checkout-threeds/src/main/java/com/adyen/checkout/threeds/Card3DS2Authenticator.java index e786dd3d51..442b0ba4f7 100644 --- a/checkout-threeds/src/main/java/com/adyen/checkout/threeds/Card3DS2Authenticator.java +++ b/checkout-threeds/src/main/java/com/adyen/checkout/threeds/Card3DS2Authenticator.java @@ -103,7 +103,7 @@ public String createFingerprint(@NonNull String encodedFingerprintToken) throws @SuppressWarnings("WeakerAccess") @NonNull public String createFingerprint(@NonNull String directoryServerId, @NonNull String directoryServerPublicKey) throws ThreeDS2Exception { - ConfigParameters configParameters = AdyenConfigParameters.from(directoryServerId, directoryServerPublicKey); + ConfigParameters configParameters = new AdyenConfigParameters.Builder(directoryServerId, directoryServerPublicKey).build(); try { ThreeDS2Service.INSTANCE.initialize(mActivity, configParameters, null, mUiCustomization); diff --git a/config/checkstyle/checkstyle-rules-adyen.xml b/config/checkstyle/checkstyle-rules-adyen.xml index abab17bb21..163ec59b76 100644 --- a/config/checkstyle/checkstyle-rules-adyen.xml +++ b/config/checkstyle/checkstyle-rules-adyen.xml @@ -1,5 +1,4 @@ - - @@ -9,88 +8,90 @@ Based on the Google coding conventions from Google Java Style that can be found at https://google.github.io/styleguide/javaguide.html. Original check can be found at https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml --> - - + + - + - + - + - - + + - - + + - + - + - + - - + + - + - + - + + value="Member name ''{0}'' must match pattern ''{1}''." /> - - + + - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - + + + + + + + + + - + - - - + + + - - + + - - - + + + - + - + - + - - - - - - - - + + + + - - - - - - - + + + + + + + - - - + + + - + - + + value="\\u00(09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)" /> + value="Consider using special escape sequence instead of octal value or Unicode escaped value." /> - - - + + + - - - + + + - + + value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH" /> - - + + - + + value="LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE" /> - - - + + + - - - - + + + + + value="WhitespaceAround: ''{0}'' is not followed by whitespace. Empty blocks may only be represented as '{}' when not part of a multi-block statement (4.1.3)" /> - - - - - - - - + value="WhitespaceAround: ''{0}'' is not preceded with whitespace." /> + + + + + + + + - + - - - + + + - - - + + + - - - + + + - - - + + + - + + value="Package name ''{0}'' must match pattern ''{1}''." /> + value="Type name ''{0}'' must match pattern ''{1}''." /> - + + value="Parameter name ''{0}'' must match pattern ''{1}''." /> - + + value="Catch parameter name ''{0}'' must match pattern ''{1}''." /> - - + + + value="Local variable name ''{0}'' must match pattern ''{1}''." /> - + + value="Class type name ''{0}'' must match pattern ''{1}''." /> - + + value="Method type name ''{0}'' must match pattern ''{1}''." /> - + + value="Interface type name ''{0}'' must match pattern ''{1}''." /> - + + value="GenericWhitespace ''{0}'' is followed by whitespace." /> + value="GenericWhitespace ''{0}'' is preceded with whitespace." /> + value="GenericWhitespace ''{0}'' should followed by whitespace." /> + value="GenericWhitespace ''{0}'' is not preceded with whitespace." /> - - - + + + - + - + - + - + + value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF" /> - - - + + + - - - + + + - + + value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF" /> - + + value="Method name ''{0}'' must match pattern ''{1}''." /> - + - + - +