124 lines
5.3 KiB
Diff
124 lines
5.3 KiB
Diff
--- bsf-2.4.0/src/org/apache/bsf/BSFEngine.java 2022-03-19 21:53:07.721111965 +0100
|
|
+++ bsf-2.4.0/src/org/apache/bsf/BSFEngine.java 2022-03-19 21:59:41.811383819 +0100
|
|
@@ -114,7 +114,7 @@
|
|
/**
|
|
* This is used by an application to compile a value-returning expression.
|
|
* The expr may be string or some other type, depending on the language.
|
|
- * The generated code is dumped into the <tt>CodeBuffer</tt>.
|
|
+ * The generated code is dumped into the <code>CodeBuffer</code>.
|
|
*
|
|
* @param source (context info) the source of this expression
|
|
* (e.g., filename)
|
|
@@ -136,7 +136,7 @@
|
|
/**
|
|
* This is used by an application to compile some script. The
|
|
* script may be string or some other type, depending on the
|
|
- * language. The generated code is dumped into the <tt>CodeBuffer</tt>.
|
|
+ * language. The generated code is dumped into the <code>CodeBuffer</code>.
|
|
*
|
|
* @param source (context info) the source of this script
|
|
* (e.g., filename)
|
|
--- bsf-2.4.0/src/org/apache/bsf/BSFManager.java 2022-03-19 21:53:07.721111965 +0100
|
|
+++ bsf-2.4.0/src/org/apache/bsf/BSFManager.java 2022-03-19 22:00:25.391638418 +0100
|
|
@@ -228,7 +228,7 @@
|
|
|
|
/**
|
|
* Compile the application of the given anonymous function of the given
|
|
- * language to the given parameters into the given <tt>CodeBuffer</tt>.
|
|
+ * language to the given parameters into the given <code>CodeBuffer</code>.
|
|
*
|
|
* @param lang language identifier
|
|
* @param source (context info) the source of this expression
|
|
@@ -279,7 +279,7 @@
|
|
|
|
/**
|
|
* Compile the given expression of the given language into the given
|
|
- * <tt>CodeBuffer</tt>.
|
|
+ * <code>CodeBuffer</code>.
|
|
*
|
|
* @param lang language identifier
|
|
* @param source (context info) the source of this expression
|
|
@@ -322,7 +322,7 @@
|
|
|
|
/**
|
|
* Compile the given script of the given language into the given
|
|
- * <tt>CodeBuffer</tt>.
|
|
+ * <code>CodeBuffer</code>.
|
|
*
|
|
* @param lang language identifier
|
|
* @param source (context info) the source of this script
|
|
--- bsf-2.4.0/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java 2022-03-19 21:53:07.721111965 +0100
|
|
+++ bsf-2.4.0/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java 2022-03-19 21:54:50.465693150 +0100
|
|
@@ -41,7 +41,7 @@
|
|
* The original version of this code was first written by Adam Peller
|
|
* for use in LotusXSL. Sanjiva took his code and adapted it for BSF.
|
|
*
|
|
- * @author Adam Peller <peller@lotus.com>
|
|
+ * @author Adam Peller <peller@lotus.com>
|
|
* @author Sanjiva Weerawarana
|
|
* @author Matthew J. Duftler
|
|
* @author Norris Boyd
|
|
--- bsf-2.4.0/src/org/apache/bsf/util/BSFEngineImpl.java 2022-03-19 21:53:07.721111965 +0100
|
|
+++ bsf-2.4.0/src/org/apache/bsf/util/BSFEngineImpl.java 2022-03-19 21:55:30.569919997 +0100
|
|
@@ -28,7 +28,6 @@
|
|
* This is a base implementation of the BSFEngine interface which
|
|
* engine implementations may choose to extend to get the basic
|
|
* methods of the interface implemented.
|
|
- * <p>
|
|
*
|
|
* @author Sanjiva Weerawarana
|
|
* @author Olivier Gruber (added original debugging support)
|
|
--- bsf-2.4.0/src/org/apache/bsf/util/BSFFunctions.java 2022-03-19 21:53:07.721111965 +0100
|
|
+++ bsf-2.4.0/src/org/apache/bsf/util/BSFFunctions.java 2022-03-19 21:55:46.218008509 +0100
|
|
@@ -24,7 +24,7 @@
|
|
* This is a utility that engine implementors may use as the Java
|
|
* object they expose in the scripting language as "bsf". This has
|
|
* essentially a subset of the methods in BSFManager plus some
|
|
- * stuff from the utils. Currently used by Javascript (Rhino) & BML.
|
|
+ * stuff from the utils. Currently used by Javascript (Rhino) & BML.
|
|
*
|
|
* @author Sanjiva Weerawarana
|
|
*/
|
|
--- bsf-2.4.0/src/org/apache/bsf/util/cf/CFDriver.java 2022-03-19 21:53:07.721111965 +0100
|
|
+++ bsf-2.4.0/src/org/apache/bsf/util/cf/CFDriver.java 2022-03-19 22:02:02.892204773 +0100
|
|
@@ -52,18 +52,18 @@
|
|
* A driver for <code>CodeFormatter</code>.
|
|
*<p>
|
|
* Usage:
|
|
- *<code><pre>
|
|
+ *<pre><code>
|
|
* java org.apache.cf.CFDriver [args]
|
|
- *<p>
|
|
+ *
|
|
* args:
|
|
- *<p>
|
|
+ *
|
|
* [-in fileName] default: <STDIN>
|
|
* [-out fileName] default: <STDOUT>
|
|
* [-maxLine length] default: 74
|
|
* [-step size] default: 2
|
|
* [-delim group] default: (+
|
|
* [-sdelim group] default: ,
|
|
- *</pre></code>
|
|
+ *</code></pre>
|
|
*/
|
|
public static void main(String[] argv)
|
|
{
|
|
--- bsf-2.4.0/src/org/apache/bsf/util/event/EventAdapterRegistry.java 2022-03-19 21:53:07.721111965 +0100
|
|
+++ bsf-2.4.0/src/org/apache/bsf/util/event/EventAdapterRegistry.java 2022-03-19 21:59:08.155186817 +0100
|
|
@@ -30,12 +30,11 @@
|
|
* and if it doesn't find one looks for a standard implementation of
|
|
* that adapter in the org.apache.bsf.util.event.adapters package with a
|
|
* standard naming convention. The naming convention it assumes is the
|
|
- * following: for event listener type <tt>a.b.c.FooListener</tt>,
|
|
+ * following: for event listener type <code>a.b.c.FooListener</code>,
|
|
* it loads an adapter of type
|
|
- * <tt>org.apache.bsf.util.event.adapters.a_b_c_FooAdapter</tt>.
|
|
+ * <code>org.apache.bsf.util.event.adapters.a_b_c_FooAdapter</code>.
|
|
* If both the loading and the dynamic generation fail, then a
|
|
* <code>null</code> is returned.
|
|
- * <p>
|
|
*
|
|
* @author Sanjiva Weerawarana
|
|
* @author Matthew J. Duftler
|