Fixed typos

svn path=/trunk/; revision=379
diff --git a/src/jsr311-api/src/javax/ws/rs/ext/ContextResolver.java b/src/jsr311-api/src/javax/ws/rs/ext/ContextResolver.java
index 9b2bb10..e627be8 100644
--- a/src/jsr311-api/src/javax/ws/rs/ext/ContextResolver.java
+++ b/src/jsr311-api/src/javax/ws/rs/ext/ContextResolver.java
@@ -30,7 +30,7 @@
      * Get a context of type <code>T</code> that is applicable to the supplied
      * type.
      * @param type the class of object for which a context is desired 
-     * @return a context for the supplied type or <code>null<code> if a 
+     * @return a context for the supplied type or <code>null</code> if a 
      * context for the supplied type is not available from this provider.
      */
     T getContext(Class<?> type);
diff --git a/src/jsr311-api/src/javax/ws/rs/ext/MessageBodyWriter.java b/src/jsr311-api/src/javax/ws/rs/ext/MessageBodyWriter.java
index 341a3aa..44b1322 100644
--- a/src/jsr311-api/src/javax/ws/rs/ext/MessageBodyWriter.java
+++ b/src/jsr311-api/src/javax/ws/rs/ext/MessageBodyWriter.java
@@ -88,7 +88,7 @@
      * @param mediaType the media type of the HTTP entity.
      * @param httpHeaders a mutable map of the HTTP response headers.
      * @param entityStream the {@link OutputStream} for the HTTP entity. The 
-     * implementation should not close the input stream.
+     * implementation should not close the output stream.
      * @throws java.io.IOException if an IO error arises 
      * @throws javax.ws.rs.WebApplicationException if a specific 
      * HTTP error response needs to be produced. Only effective if thrown prior