* clean-up
This commit is contained in:
parent
69b9dc4693
commit
3f36c1d7a6
|
@ -147,9 +147,9 @@ public class Analytics {
|
||||||
|
|
||||||
private static String getColorDepth(GraphicsDevice[] display) {
|
private static String getColorDepth(GraphicsDevice[] display) {
|
||||||
if (display[0] == null)
|
if (display[0] == null)
|
||||||
return null;
|
throw new HeadlessException();
|
||||||
|
|
||||||
String colorDepth = display[0].getDisplayMode().getBitDepth() + "";
|
String colorDepth = "" + display[0].getDisplayMode().getBitDepth();
|
||||||
for (int i = 1; i < display.length; i++) {
|
for (int i = 1; i < display.length; i++) {
|
||||||
colorDepth += ", " + display[i].getDisplayMode().getBitDepth();
|
colorDepth += ", " + display[i].getDisplayMode().getBitDepth();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue