Clean up code.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / event / types / FloatDeclaration.java
index 89ef7e523b78968c9131f593bb939fbae64b0425..293528f2769e27a48ecaac028304fb2843ff35af 100644 (file)
@@ -23,7 +23,6 @@ public class FloatDeclaration implements IDeclaration {
     private final int mant;
     private final int exp;
     private final ByteOrder byteOrder;
-    private final Encoding encoding;
     private final long alignment;
 
     // ------------------------------------------------------------------------
@@ -31,11 +30,10 @@ public class FloatDeclaration implements IDeclaration {
     // ------------------------------------------------------------------------
 
     public FloatDeclaration(int exponent, int mantissa, ByteOrder byteOrder,
-            Encoding encoding, long alignment) {
+            long alignment) {
         mant = mantissa;
         exp = exponent;
         this.byteOrder = byteOrder;
-        this.encoding = encoding;
         this.alignment = alignment;
 
     }
@@ -65,13 +63,7 @@ public class FloatDeclaration implements IDeclaration {
         return byteOrder;
     }
 
-    /**
-     * @return the encoding
-     */
-    public Encoding getEncoding() {
-        return encoding;
-    }
-
+    @Override
     public long getAlignment() {
         return alignment;
     }
@@ -81,7 +73,7 @@ public class FloatDeclaration implements IDeclaration {
     // ------------------------------------------------------------------------
 
     @Override
-    public Definition createDefinition(IDefinitionScope definitionScope,
+    public FloatDefinition createDefinition(IDefinitionScope definitionScope,
             String fieldName) {
         return new FloatDefinition(this, definitionScope, fieldName);
     }
This page took 0.024239 seconds and 5 git commands to generate.