* clean-up

This commit is contained in:
Reinhard Pointner 2011-09-24 23:54:39 +00:00
parent 69b9dc4693
commit 3f36c1d7a6
1 changed files with 2 additions and 2 deletions

View File

@ -147,9 +147,9 @@ public class Analytics {
private static String getColorDepth(GraphicsDevice[] display) {
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++) {
colorDepth += ", " + display[i].getDisplayMode().getBitDepth();
}