< prev index next >

src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/GetPropertyAction.java

Print this page

        

@@ -33,11 +33,11 @@
  *
  * <p>An instance of this class can be used as the argument of
  * <code>AccessController.doPrivileged</code>.
  *
  * <p>The following code retrieves the value of the system
- * property named <code>"prop"</code> as a privileged action: <p>
+ * property named <code>"prop"</code> as a privileged action:
  *
  * <pre>
  * String s = (String) java.security.AccessController.doPrivileged(
  *                         new GetPropertyAction("prop"));
  * </pre>

@@ -65,11 +65,11 @@
     /**
      * Constructor that takes the name of the system property and the default
      * value of that property.
      *
      * @param theProp the name of the system property.
-     * @param defaulVal the default value.
+     * @param defaultVal the default value.
      */
     public GetPropertyAction(String theProp, String defaultVal) {
         this.theProp = theProp;
         this.defaultVal = defaultVal;
     }
< prev index next >