You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/07/03 21:08:59 UTC
svn commit: r1499521 - in /tomcat/trunk/java/javax/el: MethodInfo.java
MethodNotFoundException.java PropertyNotFoundException.java
PropertyNotWritableException.java
Author: markt
Date: Wed Jul 3 19:08:58 2013
New Revision: 1499521
URL: http://svn.apache.org/r1499521
Log:
Re-order to simplify checking against EL spec
Remove pointless javadoc
Modified:
tomcat/trunk/java/javax/el/MethodInfo.java
tomcat/trunk/java/javax/el/MethodNotFoundException.java
tomcat/trunk/java/javax/el/PropertyNotFoundException.java
tomcat/trunk/java/javax/el/PropertyNotWritableException.java
Modified: tomcat/trunk/java/javax/el/MethodInfo.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/MethodInfo.java?rev=1499521&r1=1499520&r2=1499521&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/MethodInfo.java (original)
+++ tomcat/trunk/java/javax/el/MethodInfo.java Wed Jul 3 19:08:58 2013
@@ -14,12 +14,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package javax.el;
-/**
- *
- */
public class MethodInfo {
private final String name;
@@ -28,9 +24,6 @@ public class MethodInfo {
private final Class<?> returnType;
- /**
- *
- */
public MethodInfo(String name, Class<?> returnType, Class<?>[] paramTypes) {
this.name = name;
this.returnType = returnType;
@@ -41,12 +34,11 @@ public class MethodInfo {
return this.name;
}
- public Class<?>[] getParamTypes() {
- return this.paramTypes;
- }
-
public Class<?> getReturnType() {
return this.returnType;
}
+ public Class<?>[] getParamTypes() {
+ return this.paramTypes;
+ }
}
Modified: tomcat/trunk/java/javax/el/MethodNotFoundException.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/MethodNotFoundException.java?rev=1499521&r1=1499520&r2=1499521&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/MethodNotFoundException.java (original)
+++ tomcat/trunk/java/javax/el/MethodNotFoundException.java Wed Jul 3 19:08:58 2013
@@ -14,42 +14,25 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package javax.el;
-/**
- *
- */
public class MethodNotFoundException extends ELException {
private static final long serialVersionUID = -3631968116081480328L;
- /**
- *
- */
public MethodNotFoundException() {
super();
}
- /**
- * @param message
- */
public MethodNotFoundException(String message) {
super(message);
}
- /**
- * @param message
- * @param cause
- */
- public MethodNotFoundException(String message, Throwable cause) {
- super(message, cause);
- }
-
- /**
- * @param cause
- */
public MethodNotFoundException(Throwable cause) {
super(cause);
}
+
+ public MethodNotFoundException(String message, Throwable cause) {
+ super(message, cause);
+ }
}
Modified: tomcat/trunk/java/javax/el/PropertyNotFoundException.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/PropertyNotFoundException.java?rev=1499521&r1=1499520&r2=1499521&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/PropertyNotFoundException.java (original)
+++ tomcat/trunk/java/javax/el/PropertyNotFoundException.java Wed Jul 3 19:08:58 2013
@@ -14,43 +14,25 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package javax.el;
-/**
- *
- */
public class PropertyNotFoundException extends ELException {
private static final long serialVersionUID = -3799200961303506745L;
- /**
- *
- */
public PropertyNotFoundException() {
super();
}
- /**
- * @param message
- */
public PropertyNotFoundException(String message) {
super(message);
}
- /**
- * @param message
- * @param cause
- */
- public PropertyNotFoundException(String message, Throwable cause) {
- super(message, cause);
- }
-
- /**
- * @param cause
- */
public PropertyNotFoundException(Throwable cause) {
super(cause);
}
+ public PropertyNotFoundException(String message, Throwable cause) {
+ super(message, cause);
+ }
}
Modified: tomcat/trunk/java/javax/el/PropertyNotWritableException.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/PropertyNotWritableException.java?rev=1499521&r1=1499520&r2=1499521&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/PropertyNotWritableException.java (original)
+++ tomcat/trunk/java/javax/el/PropertyNotWritableException.java Wed Jul 3 19:08:58 2013
@@ -14,42 +14,25 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package javax.el;
-/**
- *
- */
public class PropertyNotWritableException extends ELException {
private static final long serialVersionUID = 827987155471214717L;
- /**
- *
- */
public PropertyNotWritableException() {
super();
}
- /**
- * @param message
- */
public PropertyNotWritableException(String message) {
super(message);
}
- /**
- * @param message
- * @param cause
- */
- public PropertyNotWritableException(String message, Throwable cause) {
- super(message, cause);
- }
-
- /**
- * @param cause
- */
public PropertyNotWritableException(Throwable cause) {
super(cause);
}
+
+ public PropertyNotWritableException(String message, Throwable cause) {
+ super(message, cause);
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org