< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/DCONST.java

Print this page

        

@@ -24,10 +24,11 @@
  * DCONST - Push 0.0 or 1.0, other values cause an exception
  *
  * <PRE>Stack: ... -&gt; ..., </PRE>
  *
  * @version $Id: DCONST.java 1747278 2016-06-07 17:28:43Z britter $
+ * @LastModified: Nov 2017
  */
 public class DCONST extends Instruction implements ConstantPushInstruction {
 
     private double value;
 

@@ -53,11 +54,11 @@
     }
 
 
     @Override
     public Number getValue() {
-        return new Double(value);
+        return value;
     }
 
 
     /** @return Type.DOUBLE
      */
< prev index next >