diff --git a/js/rhino/src/org/mozilla/javascript/WrapFactory.java b/js/rhino/src/org/mozilla/javascript/WrapFactory.java index 94ae0295c4a..40aa583329a 100644 --- a/js/rhino/src/org/mozilla/javascript/WrapFactory.java +++ b/js/rhino/src/org/mozilla/javascript/WrapFactory.java @@ -65,6 +65,7 @@ public class WrapFactory *
  • org.mozilla.javascript.Scriptable objects
  • *
  • The value returned by Context.getUndefinedValue()
  • *
  • null
  • + * * @param cx the current Context for this thread * @param scope the scope of the executing script * @param obj the object to be wrapped. Note it can be null. @@ -156,12 +157,12 @@ public class WrapFactory /** * Return false if result of Java method, which is instance of - * String, Number, Boolean and - * Character, should be used directly as JavaScript primitive + * String, Number, Boolean and + * Character, should be used directly as JavaScript primitive * type. * By default the method returns true to indicate that instances of - * String, Number, Boolean and - * Character should be wrapped as any other Java object and + * String, Number, Boolean and + * Character should be wrapped as any other Java object and * scripts can access any Java method available in these objects. * Use {@link #setJavaPrimitiveWrap(boolean)} to change this. */