Code cleanup and formatting. Migrated to java 1.8.
[svjatoslav_commons.git] / src / test / java / eu / svjatoslav / commons / data / HexConverterTest.java
old mode 100644 (file)
new mode 100755 (executable)
index 2525f9b..92fc0e6
@@ -1,18 +1,27 @@
-package eu.svjatoslav.commons.data;
+/*
+ * Svjatoslav Commons - shared library of common functionality.
+ * Copyright ©2012-2014, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 3 of the GNU Lesser General Public License
+ * or later as published by the Free Software Foundation.
+ */
 
-import static org.junit.Assert.assertEquals;
+package eu.svjatoslav.commons.data;
 
 import org.junit.Test;
 
+import static org.junit.Assert.assertEquals;
+
 public class HexConverterTest {
 
-       @Test
-       public void test() {
+    @Test
+    public void test() {
 
-               final String string = HexConverter.byteArrayToHex(new byte[] { 1, 2,
-                               (byte) 255 });
+        final String string = HexConverter.byteArrayToHex(new byte[]{1, 2,
+                (byte) 255});
 
-               assertEquals("0102FF", string);
+        assertEquals("0102FF", string);
 
-       }
+    }
 }