--- /dev/null
+/*******************************************************************************\r
+ * Copyright (c) 2007, 2011 Association for Decentralized Information Management in\r
+ * Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ * VTT Technical Research Centre of Finland - initial API and implementation\r
+ *******************************************************************************/\r
+package org.simantics.history.test;\r
+\r
+import java.util.Formatter;\r
+\r
+public class Scratch1 {\r
+\r
+ public static void main(String[] args) {\r
+ Formatter f = new Formatter( System.out );\r
+ f.format("%08X\n", 500);\r
+ System.out.println( String.format("%08X", 500) );\r
+ }\r
+ \r
+}\r