Author: markt
Date: Wed Oct 15 10:13:11 2014
New Revision: 1631987

URL: http://svn.apache.org/r1631987
Log:
Java 8 isn't complaining about these but Eclipse is so fix them as well

Modified:
    tomcat/trunk/java/javax/el/BeanNameResolver.java
    tomcat/trunk/java/javax/websocket/RemoteEndpoint.java

Modified: tomcat/trunk/java/javax/el/BeanNameResolver.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/BeanNameResolver.java?rev=1631987&r1=1631986&r2=1631987&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/BeanNameResolver.java (original)
+++ tomcat/trunk/java/javax/el/BeanNameResolver.java Wed Oct 15 10:13:11 2014
@@ -54,10 +54,12 @@ public abstract class BeanNameResolver {
      * is created with the given value.
      *
      * @param beanName The name of the bean to be set/create
-     * @param value    The value of the bean to set/create
+     * @param value    The value of the bean to set/create]
+     *
+     * @throws PropertyNotWritableException if the bean is read only
      */
     public void setBeanValue(String beanName, Object value)
-            throws PropertyNotWritableException{
+            throws PropertyNotWritableException {
         throw new PropertyNotWritableException();
     }
 

Modified: tomcat/trunk/java/javax/websocket/RemoteEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/websocket/RemoteEndpoint.java?rev=1631987&r1=1631986&r2=1631987&view=diff
==============================================================================
--- tomcat/trunk/java/javax/websocket/RemoteEndpoint.java (original)
+++ tomcat/trunk/java/javax/websocket/RemoteEndpoint.java Wed Oct 15 10:13:11 
2014
@@ -173,6 +173,8 @@ public interface RemoteEndpoint {
      * @param applicationData   The payload for the ping message
      *
      * @throws IOException If an I/O error occurs while sending the ping
+     * @throws IllegalArgumentException if the applicationData is too large for
+     *         a control message (max 125 bytes)
      */
     void sendPing(ByteBuffer applicationData)
             throws IOException, IllegalArgumentException;
@@ -185,6 +187,8 @@ public interface RemoteEndpoint {
      * @param applicationData   The payload for the pong message
      *
      * @throws IOException If an I/O error occurs while sending the pong
+     * @throws IllegalArgumentException if the applicationData is too large for
+     *         a control message (max 125 bytes)
      */
     void sendPong(ByteBuffer applicationData)
             throws IOException, IllegalArgumentException;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to