Commit 53dd1332 authored by Lukasz Budryk's avatar Lukasz Budryk

fix ClientSecretHelper for eclipse

parent 4e591c0d
......@@ -30,7 +30,7 @@ public class ClientSecretHelper {
}
public static String prepareClientSecret(String uuid, String clientName, String versionName, int versionCode, long time, String clientSecret) {
String clientSecretSource = String.format("%s_%s_%s_%s_%s_%s", uuid, clientName, versionName, versionCode, time, clientSecret);
String clientSecretSource = String.format("%s_%s_%s_%s_%s_%s", new Object[] {uuid, clientName, versionName, Integer.valueOf(versionCode), Long.valueOf(time), clientSecret});
return calculateSha256Hash(clientSecretSource);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment