From fd8a9b4de6552c6f4441621e5740fb5aff1ce229 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 9 Jun 2018 22:48:45 +0700 Subject: [PATCH] Make sure to parse large numbers --- source/net/filebot/License.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/License.java b/source/net/filebot/License.java index 57995857..353afe3f 100644 --- a/source/net/filebot/License.java +++ b/source/net/filebot/License.java @@ -95,7 +95,7 @@ public class License implements Serializable { private void verifyLicense() throws Exception { Cache cache = CacheManager.getInstance().getCache("license", CacheType.Persistent); - String message = new CachedResource(id, i -> new URL("https://license.filebot.net/verify/" + id), (url, modified) -> WebRequest.post(url, bytes, "application/octet-stream", null), getText(UTF_8), String.class::cast, Cache.ONE_MONTH, cache).get().trim(); + String message = new CachedResource(id, i -> new URL("https://license.filebot.net/verify/" + id), (url, modified) -> WebRequest.post(url, bytes, "application/octet-stream", null), getText(UTF_8), String.class::cast, Cache.ONE_MONTH, cache).get().trim(); if (!message.equals("OK")) { throw new PGPException(message);