Startup message to display VM version and size. Also display warnings if not version 1.5 or max. heap size less than (approx) 500MB.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2006-01-04 12:53:23 +00:00
parent f943c23e83
commit a1c99bb5f4

View File

@@ -65,6 +65,6 @@ public class UISystemProperties extends BaseDebugComponent
{
float f = bytes / 1024l;
f = f / 1024l;
return String.format("%.3f MB (%d bytes)", f, bytes);
return String.format("%.3fMB (%d bytes)", f, bytes);
}
}