Skip to content

Commit 95d50fc

Browse files
committed
remove warnings
1 parent a46dd97 commit 95d50fc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

java/src/processing/mode/java/Commander.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/*
44
Part of the Processing project - http://processing.org
55
6+
Copyright (c) 2012-15 The Processing Foundation
67
Copyright (c) 2008-12 Ben Fry and Casey Reas
78
89
This program is free software; you can redistribute it and/or modify
@@ -35,7 +36,6 @@
3536
import processing.app.Util;
3637
import processing.app.contrib.ModeContribution;
3738
import processing.core.PApplet;
38-
import processing.core.PConstants;
3939
import processing.mode.java.runner.Runner;
4040

4141

@@ -96,8 +96,7 @@ public Commander(String[] args) {
9696
boolean force = false; // replace that no good output folder
9797
// String preferencesPath = null;
9898
int platform = PApplet.platform; // default to this platform
99-
// int platformBits = 0;
100-
int platformBits = Base.getNativeBits();
99+
// int platformBits = Base.getNativeBits();
101100
int task = HELP;
102101
boolean embedJava = true;
103102

@@ -153,7 +152,7 @@ public Commander(String[] args) {
153152
}
154153

155154
} else if (arg.startsWith(bitsArg)) {
156-
complainAndQuit("The --bits option has been removed from Processing 2.1.", false);
155+
complainAndQuit("The --bits option has been removed.", false);
157156
// String bitsStr = arg.substring(bitsArg.length());
158157
// if (bitsStr.equals("32")) {
159158
// platformBits = 32;

0 commit comments

Comments
 (0)