Author: hlship
Date: Thu Apr 2 23:12:49 2009
New Revision: 761468
URL: http://svn.apache.org/viewvc?rev=761468&view=rev
Log:
TAP5-596: Misleading description of allowNull parameter of Parameter annotation
in javadoc
Modified:
tapestry/tapestry5/trunk/src/site/apt/guide/secure.apt
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/Parameter.java
Modified: tapestry/tapestry5/trunk/src/site/apt/guide/secure.apt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/apt/guide/secure.apt?rev=761468&r1=761467&r2=761468&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/apt/guide/secure.apt (original)
+++ tapestry/tapestry5/trunk/src/site/apt/guide/secure.apt Thu Apr 2 23:12:49
2009
@@ -1,4 +1,4 @@
- ----
+) ----
Securing the application with HTTPS
----
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/Parameter.java
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/Parameter.java?rev=761468&r1=761467&r2=761468&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/Parameter.java
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/Parameter.java
Thu Apr 2 23:12:49 2009
@@ -45,8 +45,9 @@
boolean required() default false;
/**
- * If true, and the parameter <em>is</em> bound, then the value for the
parameter must not be null. The default is
- * to allow nulls. This is different than required, in that the parameter
may be bound, but bound to a null value.
+ * If false, and the parameter <em>is</em> bound, then the value for the
parameter must not be null. The default is
+ * true, to allow nulls. This is different than required, in that the
parameter may be bound, but bound to a null
+ * value.
*/
boolean allowNull() default true;