int exitCode = 0;
for (int i = 0; exitCode == 0 && i < args.length; i++) {
+ if (args[i] == null)
+ continue;
+
// Action (--) handling:
if (!noMoreActions && args[i].startsWith("--")) {
if (args[i].equals("--")) {
}
/**
- * Will check if updates are available.
+ * Will check if updates are available, synchronously.
* <p>
* For this, it will simply forward the call to
* {@link Main#checkUpdates(String)} with a value of "nikiroo/fanfix".
+ * <p>
+ * You may want to override it so you call the forward method with the right
+ * parameters (or also if you want it to be asynchronous).
*
* @return the newer version information or NULL if nothing new
*/