ctf: Fix some Sonar warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / trace / Utils.java
index 90f8958606bbe43979ab10b3f9a94b631b94aee1..d0cb11e3eb8dbda01200201e78acddfcb601cdbd 100644 (file)
@@ -16,13 +16,15 @@ import java.util.UUID;
 
 /**
  * Various utilities.
- * 
+ *
  * @version 1.0
  * @author Matthew Khouzam
  * @author Simon Marchi
  */
 public class Utils {
 
+    private Utils() {}
+
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
@@ -30,27 +32,27 @@ public class Utils {
     /**
      * CTF magic number. (sort of looks like CTF CTF CT)
      */
-    public final static int CTF_MAGIC = 0xC1FC1FC1;
+    public static final int CTF_MAGIC = 0xC1FC1FC1;
 
     /**
      * TSDL magic number. (sort of looks like TSDL LSDT)
      */
-    public final static int TSDL_MAGIC = 0x75D11D57;
+    public static final int TSDL_MAGIC = 0x75D11D57;
 
     /**
      * TSDL magic number length in bytes.
      */
-    public final static int TSDL_MAGIC_LEN = 4;
+    public static final int TSDL_MAGIC_LEN = 4;
 
     /**
      * Directory separator on the current platform.
      */
-    public final static String SEPARATOR = System.getProperty("file.separator"); //$NON-NLS-1$
+    public static final String SEPARATOR = System.getProperty("file.separator"); //$NON-NLS-1$
 
     /**
      * Length in bytes of a UUID value.
      */
-    public final static int UUID_LEN = 16;
+    public static final int UUID_LEN = 16;
 
     // ------------------------------------------------------------------------
     // Operations
This page took 0.024244 seconds and 5 git commands to generate.