< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantDouble.java

Print this page

        

@@ -30,10 +30,11 @@
  * This class is derived from the abstract  {@link Constant}
  * and represents a reference to a Double object.
  *
  * @version $Id: ConstantDouble.java 1747278 2016-06-07 17:28:43Z britter $
  * @see     Constant
+ * @LastModified: Nov 2017
  */
 public final class ConstantDouble extends Constant implements ConstantObject {
 
     private double bytes;
 

@@ -119,8 +120,8 @@
 
     /** @return Double object
      */
     @Override
     public Object getConstantValue( final ConstantPool cp ) {
-        return new Double(bytes);
+        return bytes;
     }
 }
< prev index next >