MCPcopy Index your code
hub / github.com/processing/processing / UpdateCheck

Method UpdateCheck

app/src/processing/app/UpdateCheck.java:65–83  ·  view source on GitHub ↗
(Base base)

Source from the content-addressed store, hash-verified

63
64
65 public UpdateCheck(Base base) {
66 this.base = base;
67
68 if (isAllowed()) {
69 new Thread(new Runnable() {
70 public void run() {
71 try {
72 Thread.sleep(5 * 1000); // give the PDE time to get rolling
73 updateCheck();
74
75 } catch (Exception e) {
76 // This can safely be ignored, too many situations where no net
77 // connection is available that behave in strange ways.
78 // Covers likely IOException, InterruptedException, and any others.
79 }
80 }
81 }, "Update Checker").start();
82 }
83 }
84
85
86 /**

Callers

nothing calls this directly

Calls 2

isAllowedMethod · 0.95
startMethod · 0.45

Tested by

no test coverage detected