From 6652fa7b2d0c803f6cf5ae5fd6eebdfbb044eaa2 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Thu, 3 Nov 2016 11:25:23 -0400 Subject: [PATCH] what is this method? --- app/src/processing/app/UpdateCheck.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/processing/app/UpdateCheck.java b/app/src/processing/app/UpdateCheck.java index f76f3750a..5103f5d85 100644 --- a/app/src/processing/app/UpdateCheck.java +++ b/app/src/processing/app/UpdateCheck.java @@ -83,6 +83,11 @@ public class UpdateCheck { } + /** + * Turned into a separate method so that anyone needed update.id will get + * a legit answer. Had a problem with the contribs script where the id + * wouldn't be set so a null id would be sent to the contribs server. + */ static public long getUpdateID() { // generate a random id in case none exists yet Random r = new Random();