You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/08/20 13:28:00 UTC

svn commit: r1696765 - /commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java

Author: sebb
Date: Thu Aug 20 11:28:00 2015
New Revision: 1696765

URL: http://svn.apache.org/r1696765
Log:
BCEL-127 Document that Instruction Factory returns singleton instances

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java?rev=1696765&r1=1696764&r2=1696765&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java Thu Aug 20 11:28:00 2015
@@ -24,9 +24,13 @@ import org.apache.commons.bcel6.Constant
  * versions of instructions. Its main purpose is to be used as the
  * byte code generating backend of a compiler. You can subclass it to
  * add your own create methods.
+ * <p>
+ * Note: The static createXXX methods return singleton instances
+ * from the {@link InstructionConstants} class.
  *
  * @version $Id$
  * @see Constants
+ * @see InstructionConstants
  */
 public class InstructionFactory {