< prev index next >
src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/FCONST.java
Print this page
@@ -24,10 +24,11 @@
* FCONST - Push 0.0, 1.0 or 2.0, other values cause an exception
*
* <PRE>Stack: ... -> ..., </PRE>
*
* @version $Id: FCONST.java 1747278 2016-06-07 17:28:43Z britter $
+ * @LastModified: Nov 2017
*/
public class FCONST extends Instruction implements ConstantPushInstruction {
private float value;
@@ -55,11 +56,11 @@
}
@Override
public Number getValue() {
- return new Float(value);
+ return value;
}
/** @return Type.FLOAT
*/
< prev index next >