You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/01/11 03:50:58 UTC
(commons-bcel) 12/47: Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit 7e21059854ea8873969a7d6a131e8d93da5883c3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:34:48 2026 -0500
Javadoc
---
src/main/java/org/apache/bcel/generic/DCONST.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main/java/org/apache/bcel/generic/DCONST.java b/src/main/java/org/apache/bcel/generic/DCONST.java
index cee2d608..1f5f327d 100644
--- a/src/main/java/org/apache/bcel/generic/DCONST.java
+++ b/src/main/java/org/apache/bcel/generic/DCONST.java
@@ -36,6 +36,12 @@ public class DCONST extends Instruction implements ConstantPushInstruction {
this(0);
}
+ /**
+ * Constructs a DCONST instruction.
+ *
+ * @param f the constant value (must be 0.0 or 1.0).
+ * @throws ClassGenException if f is not 0.0 or 1.0.
+ */
public DCONST(final double f) {
super(org.apache.bcel.Const.DCONST_0, (short) 1);
if (f == 0.0) {