click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r790757 [1/2] - in /incubator/click/trunk/click: extras/src/org/apache/click/extras/cayenne/ extras/src/org/apache/click/extras/control/ extras/src/org/apache/click/extras/filter/ extras/src/org/apache/click/extras/gae/ extras/src/org/apach...
Date Thu, 02 Jul 2009 23:07:11 GMT
Author: medgar
Date: Thu Jul  2 23:07:07 2009
New Revision: 790757

URL: http://svn.apache.org/viewvc?rev=790757&view=rev
Log:
removed @author attribution Javadoc tags

Modified:
    incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneForm.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneUtils.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/DataContextFilter.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/PropertySelect.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/QuerySelect.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/TabbedCayenneForm.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AbstractContainerField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CheckList.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ColorPicker.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CountrySelect.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CreditCardField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DoubleField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/EmailField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ExternalLink.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/FieldColumn.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HiddenList.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlFieldSet.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlForm.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LinkDecorator.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/NumberField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageButton.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageSubmit.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/RegexField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/SubmitLink.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TabbedForm.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TelephoneField.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/VirtualKeyboard.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionFilter.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionServletResponseWrapper.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItem.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItemFactory.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionContext.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionFilter.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/security/AccessController.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/security/RoleAccessController.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/service/JdkLogService.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Log4JLogService.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Slf4jLogService.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/PageScopeResolver.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/SpringClickServlet.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/CheckboxTree.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/Tree.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/TreeListener.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/TreeNode.java
    incubator/click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java
    incubator/click/trunk/click/framework/src/org/apache/click/ActionListener.java
    incubator/click/trunk/click/framework/src/org/apache/click/ClickRequestWrapper.java
    incubator/click/trunk/click/framework/src/org/apache/click/Context.java
    incubator/click/trunk/click/framework/src/org/apache/click/Control.java
    incubator/click/trunk/click/framework/src/org/apache/click/Page.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractContainer.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/ActionButton.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/ActionLink.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Button.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Checkbox.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Column.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Container.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Decorator.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Field.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/FieldSet.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/FileField.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Form.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/HiddenField.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/ImageSubmit.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Label.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Option.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/OptionGroup.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/PageLink.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Panel.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/PasswordField.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Radio.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Renderable.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Reset.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Select.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Submit.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Table.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/TablePaginator.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/TextArea.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/TextField.java
    incubator/click/trunk/click/framework/src/org/apache/click/element/CssImport.java
    incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java
    incubator/click/trunk/click/framework/src/org/apache/click/element/Element.java
    incubator/click/trunk/click/framework/src/org/apache/click/element/JsImport.java
    incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java
    incubator/click/trunk/click/framework/src/org/apache/click/element/ResourceElement.java
    incubator/click/trunk/click/framework/src/org/apache/click/service/CommonsFileUploadService.java
    incubator/click/trunk/click/framework/src/org/apache/click/service/FileUploadService.java
    incubator/click/trunk/click/framework/src/org/apache/click/service/LogService.java
    incubator/click/trunk/click/framework/src/org/apache/click/service/TemplateService.java
    incubator/click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/ActionListenerAdaptor.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/Bindable.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/ContainerUtils.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/ErrorPage.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/ErrorReport.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/FlashAttribute.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/Format.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/HtmlStringBuffer.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/MessagesMap.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/PropertyUtils.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/RequestTypeConverter.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/SessionMap.java
    incubator/click/trunk/click/mock/src/org/apache/click/MockContainer.java
    incubator/click/trunk/click/mock/src/org/apache/click/MockContext.java
    incubator/click/trunk/click/mock/src/org/apache/click/servlet/MockRequest.java
    incubator/click/trunk/click/mock/src/org/apache/click/servlet/MockRequestDispatcher.java
    incubator/click/trunk/click/mock/src/org/apache/click/servlet/MockResponse.java
    incubator/click/trunk/click/mock/src/org/apache/click/servlet/MockServletConfig.java
    incubator/click/trunk/click/mock/src/org/apache/click/servlet/MockServletContext.java
    incubator/click/trunk/click/mock/src/org/apache/click/servlet/MockSession.java

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneForm.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneForm.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneForm.java Thu Jul  2 23:07:07 2009
@@ -178,9 +178,6 @@
  * <p/>
  * <b>Alternatively</b> use the {@link DataContextFilter} which will
  * automatically rollback any uncommitted changes at the end of each request.
- *
- * @author Malcolm Edgar
- * @author Andrus Adamchik
  */
 public class CayenneForm extends Form {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java Thu Jul  2 23:07:07 2009
@@ -56,9 +56,6 @@
  * <p/>
  * CayenneTemplate provides many convience DataContext methods using the
  * DataContext object bound to the current thread.
- *
- * @author Malcolm Edgar
- * @author Andrei Adamchik
  */
 public class CayenneTemplate {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneUtils.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneUtils.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneUtils.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneUtils.java Thu Jul  2 23:07:07 2009
@@ -39,8 +39,6 @@
  * primary key.
  * <p/>
  * This class was derived from the Cayenne <tt>DataObjectUtils</tt> class.
- *
- * @author Malcolm Edgar
  */
 public final class CayenneUtils {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/DataContextFilter.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/DataContextFilter.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/DataContextFilter.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/DataContextFilter.java Thu Jul  2 23:07:07 2009
@@ -171,8 +171,6 @@
  * <p/>
  * This class is adapted from the Cayenne
  * {@link org.apache.cayenne.conf.WebApplicationContextFilter}.
- *
- * @author Malcolm Edgar
  */
 public class DataContextFilter implements Filter {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/PropertySelect.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/PropertySelect.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/PropertySelect.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/PropertySelect.java Thu Jul  2 23:07:07 2009
@@ -123,8 +123,6 @@
  *
  * @see CayenneForm
  * @see QuerySelect
- *
- * @author Malcolm Edgar
  */
 public class PropertySelect extends Select {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/QuerySelect.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/QuerySelect.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/QuerySelect.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/QuerySelect.java Thu Jul  2 23:07:07 2009
@@ -103,8 +103,6 @@
  *
  * @see CayenneForm
  * @see PropertySelect
- *
- * @author Malcolm Edgar
  */
 public class QuerySelect extends Select {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/TabbedCayenneForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/TabbedCayenneForm.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/TabbedCayenneForm.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/cayenne/TabbedCayenneForm.java Thu Jul  2 23:07:07 2009
@@ -53,10 +53,6 @@
  * To import these TabbedCayenneForm files simply reference the variables
  * <span class="blue">$headElements</span> and
  * <span class="blue">$jsElements</span> in the page template.
- *
- * <p>&nbsp;</p>
- *
- * @author Malcolm Edgar
  */
 public class TabbedCayenneForm extends CayenneForm {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AbstractContainerField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AbstractContainerField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AbstractContainerField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AbstractContainerField.java Thu Jul  2 23:07:07 2009
@@ -55,8 +55,6 @@
  *         return getContainer().addControl(button);
  *     }
  * } </pre>
- *
- * @author Bob Schellink
  */
 public abstract class AbstractContainerField extends Field implements Container {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java Thu Jul  2 23:07:07 2009
@@ -80,8 +80,6 @@
  * See also the W3C HTML reference:
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Malcolm Edgar
  */
 public abstract class AutoCompleteTextField extends TextField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CheckList.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CheckList.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CheckList.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CheckList.java Thu Jul  2 23:07:07 2009
@@ -107,8 +107,6 @@
  * <span class="blue">$jsElements</span> in the page template.
  *
  * @see org.apache.click.control.Option
- *
- * @author Christian Essl
  */
 public class CheckList extends Field {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ColorPicker.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ColorPicker.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ColorPicker.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ColorPicker.java Thu Jul  2 23:07:07 2009
@@ -82,8 +82,6 @@
  *
  * The color picker popup is based on JS script code from
  * <a target="_blank" href="http://www.dhtmlgoodies.com/index.html?whichScript=submitted-color-picker">www.dhtmlgoodies.com</a>.
- *
- * @author Christian Essl
  */
 public class ColorPicker extends Field {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CountrySelect.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CountrySelect.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CountrySelect.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CountrySelect.java Thu Jul  2 23:07:07 2009
@@ -50,8 +50,6 @@
  * <i>Note:</i> Newer versions of the JDK seems to support more <code>Locale</code>s.
  * <p/>
  * <i>Obs.:</i> Especially practial for registration forms.
- *
- * @author Ahmed Mohombe
  */
 public class CountrySelect extends Select {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CreditCardField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CreditCardField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CreditCardField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/CreditCardField.java Thu Jul  2 23:07:07 2009
@@ -120,8 +120,6 @@
  * See also W3C HTML reference
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Malcolm Edgar
  */
 public class CreditCardField extends TextField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java Thu Jul  2 23:07:07 2009
@@ -130,9 +130,6 @@
  * See also W3C HTML reference
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Malcolm Edgar
- * @author Bob Schellink
  */
 public class DateField extends TextField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DoubleField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DoubleField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DoubleField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/DoubleField.java Thu Jul  2 23:07:07 2009
@@ -56,8 +56,6 @@
  * See also W3C HTML reference
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Malcolm Edgar
  */
 public class DoubleField extends NumberField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/EmailField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/EmailField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/EmailField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/EmailField.java Thu Jul  2 23:07:07 2009
@@ -54,8 +54,6 @@
  * See also W3C HTML reference
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Malcolm Edgar
  */
 public class EmailField extends TextField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ExternalLink.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ExternalLink.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ExternalLink.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/ExternalLink.java Thu Jul  2 23:07:07 2009
@@ -37,8 +37,6 @@
  * See also the W3C HTML reference:
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/struct/links.html#h-12.2">A Links</a>
- *
- * @author Malcolm Edgar
  */
 public class ExternalLink extends AbstractLink {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/FieldColumn.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/FieldColumn.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/FieldColumn.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/FieldColumn.java Thu Jul  2 23:07:07 2009
@@ -58,8 +58,6 @@
  *
  * @see Column
  * @see FormTable
- *
- * @author Malcolm Edgar
  */
 public class FieldColumn extends Column {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HiddenList.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HiddenList.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HiddenList.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HiddenList.java Thu Jul  2 23:07:07 2009
@@ -49,7 +49,6 @@
  * &lt;input type="hidden" name="customerId" id="form-customerId_1" value="123"/&gt;
  * &lt;input type="hidden" name="customerId" id="form-customerId_2" value="678"/&gt; </pre>
  *
- * @author Naoki Takezoe
  * @since 2.1.0
  */
 public class HiddenList extends Field {

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlFieldSet.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlFieldSet.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlFieldSet.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlFieldSet.java Thu Jul  2 23:07:07 2009
@@ -38,8 +38,6 @@
  * <p/>
  * Also see this <a href="http://www.avoka.com/click-examples/form/contact-details.htm">example</a>
  * of how HtmlFieldSet is used to provide a custom layout.
- *
- * @author Bob Schellink
  */
 public class HtmlFieldSet extends FieldSet {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlForm.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlForm.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/HtmlForm.java Thu Jul  2 23:07:07 2009
@@ -45,8 +45,6 @@
  * <p/>
  * <b>Please note</b>, for most cases {@link Form} is the better option as
  * it provides automatic layout and error reporting.
- *
- * @author Bob Schellink
  */
 public class HtmlForm extends Form {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/IntegerField.java Thu Jul  2 23:07:07 2009
@@ -56,8 +56,6 @@
  * See also W3C HTML reference
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Malcolm Edgar
  */
 public class IntegerField extends NumberField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LinkDecorator.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LinkDecorator.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LinkDecorator.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LinkDecorator.java Thu Jul  2 23:07:07 2009
@@ -151,8 +151,6 @@
  *
  * @see org.apache.click.control.ActionLink
  * @see org.apache.click.control.PageLink
- *
- * @author Malcolm Edgar
  */
 public class LinkDecorator implements Decorator, Serializable {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/LongField.java Thu Jul  2 23:07:07 2009
@@ -56,8 +56,6 @@
  * See also W3C HTML reference
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Malcolm Edgar
  */
 public class LongField extends NumberField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java Thu Jul  2 23:07:07 2009
@@ -194,8 +194,6 @@
  * <span class="blue">$jsElements</span> in the page template.
  *
  * @see org.apache.click.extras.security.AccessController
- *
- * @author Malcolm Edgar
  */
 public class Menu extends AbstractControl {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/NumberField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/NumberField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/NumberField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/NumberField.java Thu Jul  2 23:07:07 2009
@@ -90,9 +90,6 @@
  * See also W3C HTML reference
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Christian Essl
- * @author Malcolm Edgar
  */
 public class NumberField extends TextField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageButton.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageButton.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageButton.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageButton.java Thu Jul  2 23:07:07 2009
@@ -55,8 +55,6 @@
  * </ul>
  * <p/>
  * <b>Note:</b> this control is related to {@link PageLink} and not to {@link org.apache.click.extras.control.PageSubmit}.
- *
- * @author Ahmed Mohombe
  */
 public class PageButton extends PageLink {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageSubmit.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageSubmit.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageSubmit.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PageSubmit.java Thu Jul  2 23:07:07 2009
@@ -50,8 +50,6 @@
  * See also the W3C HTML reference
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Malcolm Edgar
  */
 public class PageSubmit extends Submit {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java Thu Jul  2 23:07:07 2009
@@ -106,8 +106,6 @@
  * To import these CheckList files simply reference the variables
  * <span class="blue">$headElements</span> and
  * <span class="blue">$jsElements</span> in the page template.
- *
- * @author Naoki Takezoe
  */
 public class PickList extends Field {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/RegexField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/RegexField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/RegexField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/RegexField.java Thu Jul  2 23:07:07 2009
@@ -78,8 +78,6 @@
  * See also the W3C HTML reference:
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Naoki Takezoe
  */
 public class RegexField extends TextField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/SubmitLink.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/SubmitLink.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/SubmitLink.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/SubmitLink.java Thu Jul  2 23:07:07 2009
@@ -100,8 +100,6 @@
  * <ul>
  * <li>/click/extras-control.js</li>
  * </ul>
- *
- * @author Bob Schellink
  */
 public class SubmitLink extends ActionLink {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TabbedForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TabbedForm.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TabbedForm.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TabbedForm.java Thu Jul  2 23:07:07 2009
@@ -128,8 +128,6 @@
  * To import these TabbedForm files simply reference the variables
  * <span class="blue">$headElements</span> and
  * <span class="blue">$jsElements</span> in the page template.
- *
- * @author Malcolm Edgar
  */
 public class TabbedForm extends Form {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java Thu Jul  2 23:07:07 2009
@@ -36,8 +36,6 @@
  * </td>
  * </tr>
  * </table>
- *
- * @author Malcolm Edgar
  */
 public class TableInlinePaginator extends TablePaginator {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TelephoneField.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TelephoneField.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TelephoneField.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/TelephoneField.java Thu Jul  2 23:07:07 2009
@@ -55,8 +55,6 @@
  * See also W3C HTML reference
  * <a class="external" target="_blank" title="W3C HTML 4.01 Specification"
  *    href="http://www.w3.org/TR/html401/interact/forms.html#h-17.4">INPUT</a>
- *
- * @author Malcolm Edgar
  */
 public class TelephoneField extends TextField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/VirtualKeyboard.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/VirtualKeyboard.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/VirtualKeyboard.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/VirtualKeyboard.java Thu Jul  2 23:07:07 2009
@@ -61,10 +61,6 @@
  *
  * <h4>Credits</h4>
  * This control based on the <a href="http://www.greywyvern.com/code/js/keyboard.html">Greywyvern</a> JavaScript library.
- *
- * TODO: add support for password fields and textareas too.
- *
- * @author Ahmed Mohombe
  */
 public class VirtualKeyboard extends TextField {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionFilter.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionFilter.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionFilter.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionFilter.java Thu Jul  2 23:07:07 2009
@@ -61,10 +61,6 @@
  * This package is derived from the Jakarta
  * <a href="http://jakarta.apache.org/tomcat">Tomcat</a>
  * examples compression filter and is distributed in Click Extras for convenience.
- *
- * @author Amy Roh
- * @author Dmitri Valdin
- * @author Malcolm Edgar
  */
 public class CompressionFilter implements Filter {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java Thu Jul  2 23:07:07 2009
@@ -29,10 +29,6 @@
  * <p/>
  * Note this Jakarta Tomcat examples Filter is packaged in Click Extras for
  * convenience.
- *
- * @author Amy Roh
- * @author Dmitri Valdin
- * @version Revision: 1.3 , Date: 2004/03/18 16:40:28
  */
 public class CompressionResponseStream extends ServletOutputStream {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionServletResponseWrapper.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionServletResponseWrapper.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionServletResponseWrapper.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionServletResponseWrapper.java Thu Jul  2 23:07:07 2009
@@ -30,10 +30,6 @@
  * <p/>
  * Note this Jakarta Tomcat examples Filter is packaged in Click Extras for
  * convenience.
- *
- * @author Amy Roh
- * @author Dmitri Valdin
- * @version Revision: 1.3, Date: 2004/03/18 16:40:28
  */
 public class CompressionServletResponseWrapper extends HttpServletResponseWrapper {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/PerformanceFilter.java Thu Jul  2 23:07:07 2009
@@ -253,10 +253,6 @@
  * <h3>Acknowledgments</h3>
  * This class is adapted from the Jakarta CompressionFilter from
  * <a href="http://jakarta.apache.org/tomcat">Tomcat</a>.
- * <p/>
- *
- * @author Malcolm Edgar
- * @author Bob Schellink
  */
 public class PerformanceFilter implements Filter {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/GoogleAppEngineListener.java Thu Jul  2 23:07:07 2009
@@ -142,8 +142,6 @@
  * "<tt>/click</tt>" folder with all the resources packaged for that jar. Simple
  * copy the content of the "<tt>/click</tt>" folder to your GAE folder:
  * "<tt>/war/click</tt>".
- *
- * @author Bob Schellink
  */
 public class GoogleAppEngineListener implements ServletContextListener {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItem.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItem.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItem.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItem.java Thu Jul  2 23:07:07 2009
@@ -1,318 +1,316 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.click.extras.gae;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.UnsupportedEncodingException;
-
-import java.util.Map;
-import org.apache.commons.fileupload.FileItem;
-import org.apache.commons.fileupload.FileItemHeaders;
-import org.apache.commons.fileupload.FileItemHeadersSupport;
-import org.apache.commons.fileupload.ParameterParser;
-
-/**
- * Provides an In-Memory FileItem implementation which represents a file or
- * form item that was received within a <tt>multipart/form-data</tt> POST
- * request.
- * <p/>
- * This FileItem implementation can safely be used with Google App Engine (GAE)
- * since the file content is not written to disk.
- * <p/>
- * The MemoryFileItem is based on the
- * <a class="external" target="_blank" href="http://commons.apache.org/fileupload/">Commons FileUpload</a>
- * project.
- *
- * @author Bob Schellink
- */
-public class MemoryFileItem implements FileItem, FileItemHeadersSupport {
-
-    // -------------------------------------------------------------- Constants
-
-    /**
-     * Default content charset to be used when no explicit charset
-     * parameter is provided by the sender. Media subtypes of the
-     * "text" type are defined to have a default charset value of
-     * "ISO-8859-1" when received via HTTP.
-     */
-    public static final String DEFAULT_CHARSET = "ISO-8859-1";
-
-    // -------------------------------------------------------------- Variables
-
-    /**
-     * The name of the form field as provided by the browser.
-     */
-    private String fieldName;
-
-    /**
-     * The content type passed by the browser, or null if not defined.
-     */
-    private String contentType;
-
-    /**
-     * Whether or not this item is a simple form field.
-     */
-    private boolean isFormField;
-
-    /**
-     * The original filename in the user's filesystem.
-     */
-    private String fileName;
-
-    /**
-     * The file items headers.
-     */
-    private FileItemHeaders headers;
-
-    /**
-     * The file item's uploaded content.
-     */
-    private ByteArrayOutputStream content;
-
-    // ----------------------------------------------------------- Constructors
-
-    /**
-     * Constructs a new MemoryFileItem for the given fieldName, contentType
-     * isFormField and fileName parameters.
-     *
-     * @param fieldName the name of the form field as provided by the browser
-     * @param contentType the content type passed by the browser
-     * @param isFormField specifies whether or not this item is a simple form field
-     * @param fileName the original filename in the user's filesystem
-     */
-    public MemoryFileItem(String fieldName, String contentType, boolean isFormField,
-        String fileName) {
-
-        this.fieldName = fieldName;
-        this.contentType = contentType;
-        this.isFormField = isFormField;
-        this.fileName = fileName;
-        this.content = new ByteArrayOutputStream();
-    }
-
-    // --------------------------------------------------------- Public Methods
-
-    /**
-     * This method does nothing since the file is stored in memory only.
-     */
-    public void delete() {
-    }
-
-    /**
-     * Returns the contents of the file item as an array of bytes.
-     *
-     * @return the contents of the file item as an array of bytes
-     */
-    public byte[] get() {
-        return content.toByteArray();
-    }
-
-    /**
-     * Returns the content type passed by the browser or null if not defined.
-     *
-     * @return the content type passed by the browser or null if not defined
-     */
-    public String getContentType() {
-        return contentType;
-    }
-
-    /**
-     * Returns the name of the field in the multipart form corresponding to
-     * this file item.
-     *
-     * @return the name of the form field
-     */
-    public String getFieldName() {
-        return fieldName;
-    }
-
-    /**
-     * Sets the field name used to reference this file item.
-     *
-     * @param fieldName the name of the form field
-     */
-    public void setFieldName(String fieldName) {
-        this.fieldName = fieldName;
-    }
-
-    /**
-     * Determines whether or not a <tt>FileItem</tt> instance represents
-     * a simple form field.
-     *
-     * @return true if the instance represents a simple form field; false if it
-     * represents an uploaded file
-     */
-    public boolean isFormField() {
-        return isFormField;
-    }
-
-    /**
-     * Specifies whether or not a <tt>FileItem</tt> instance represents
-     * a simple form field.
-     *
-     * @param isFormField true if the instance represents a simple form field;
-     * false if it represents an uploaded file
-     */
-    public void setFormField(boolean isFormField) {
-        this.isFormField = isFormField;
-    }
-
-    /**
-     * Returns an {@link java.io.InputStream InputStream} that can be used to
-     * retrieve the contents of the file.
-     *
-     * @return an {@link java.io.InputStream InputStream} that can be used to
-     * retrieve the contents of the file
-     * @throws IOException if an error occurs
-     */
-    public InputStream getInputStream() throws IOException {
-        return new ByteArrayInputStream(get());
-    }
-
-    /**
-     * Returns the original filename in the client's filesystem, as provided by
-     * the browser (or other client software). In most cases, this will be the
-     * base file name, without path information. However, some clients, such as
-     * Internet Explorer, do include path information.
-     * <p/>
-     * You can easily remove the path information with the following snippet:
-     *
-     * <pre class="prettyprint">
-     * String fileName = fileItem.getName();
-     * if (fileName != null) {
-     *     filename = FilenameUtils.getName(filename);
-     * } </pre>
-     *
-     * @return the original filename in the client's filesystem.
-     */
-    public String getName() {
-        return fileName;
-    }
-
-    /**
-     * Returns an {@link java.io.OutputStream OutputStream} that can be used for
-     * storing the contents of the file.
-     *
-     * @return an {@link java.io.OutputStream OutputStream} that can be used
-     * for storing the contensts of the file
-     * @throws IOException if an error occurs
-     */
-    public OutputStream getOutputStream() throws IOException {
-        return content;
-    }
-
-    /**
-     * Returns the size of the file item, in bytes.
-     *
-     * @return the size of the file item, in bytes
-     */
-    public long getSize() {
-        return content.size();
-    }
-
-    /**
-     * Returns the contents of the file as a String, using the default
-     * character encoding.  This method uses {@link #get()} to retrieve the
-     * contents of the file.
-     *
-     * @return the contents of the file, as a string.
-     */
-    public String getString() {
-        byte[] rawdata = get();
-        String charset = getCharSet();
-        if (charset == null) {
-            charset = DEFAULT_CHARSET;
-        }
-        try {
-            return new String(rawdata, charset);
-        } catch (UnsupportedEncodingException e) {
-            return new String(rawdata);
-        }
-    }
-
-    /**
-     * Returns the contents of the file as a String, using the specified
-     * encoding. This method uses {@link #get()} to retrieve the contents of the
-     * file.
-     *
-     * @param charset the charset to use
-     * @return the contents of the file, as a string
-     * @throws UnsupportedEncodingException if the requested character
-     * encoding is not available.
-     */
-    public String getString(final String charset)
-        throws UnsupportedEncodingException {
-        return new String(get(), charset);
-    }
-
-    /**
-     * Provides a hint as to whether or not the file contents will be read
-     * from memory. This method always returns true.
-     *
-     * @return true to indicate that the file contents will be read from memory
-     */
-    public boolean isInMemory() {
-        return true;
-    }
-
-    /**
-     * This method does nothing since the file is stored in memory only.
-     *
-     * @param file the File into which the uploaded item should be stored
-     * @throws Exception if an error occurs
-     */
-    public void write(File file) throws Exception {
-    }
-
-    /**
-     * Returns the file item headers.
-     *
-     * @return the file items headers
-     */
-    public FileItemHeaders getHeaders() {
-        return headers;
-    }
-
-    /**
-     * Sets the file item headers.
-     *
-     * @param headers the file items headers
-     */
-    public void setHeaders(FileItemHeaders headers) {
-        this.headers = headers;
-    }
-
-    /**
-     * Returns the content charset passed by the agent or null if not defined.
-     *
-     * @return The content charset passed by the agent or null if not defined
-     */
-    public String getCharSet() {
-        ParameterParser parser = new ParameterParser();
-        parser.setLowerCaseNames(true);
-        // Parameter parser can handle null input
-        Map params = parser.parse(getContentType(), ';');
-        return (String) params.get("charset");
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.click.extras.gae;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.UnsupportedEncodingException;
+
+import java.util.Map;
+import org.apache.commons.fileupload.FileItem;
+import org.apache.commons.fileupload.FileItemHeaders;
+import org.apache.commons.fileupload.FileItemHeadersSupport;
+import org.apache.commons.fileupload.ParameterParser;
+
+/**
+ * Provides an In-Memory FileItem implementation which represents a file or
+ * form item that was received within a <tt>multipart/form-data</tt> POST
+ * request.
+ * <p/>
+ * This FileItem implementation can safely be used with Google App Engine (GAE)
+ * since the file content is not written to disk.
+ * <p/>
+ * The MemoryFileItem is based on the
+ * <a class="external" target="_blank" href="http://commons.apache.org/fileupload/">Commons FileUpload</a>
+ * project.
+ */
+public class MemoryFileItem implements FileItem, FileItemHeadersSupport {
+
+    // -------------------------------------------------------------- Constants
+
+    /**
+     * Default content charset to be used when no explicit charset
+     * parameter is provided by the sender. Media subtypes of the
+     * "text" type are defined to have a default charset value of
+     * "ISO-8859-1" when received via HTTP.
+     */
+    public static final String DEFAULT_CHARSET = "ISO-8859-1";
+
+    // -------------------------------------------------------------- Variables
+
+    /**
+     * The name of the form field as provided by the browser.
+     */
+    private String fieldName;
+
+    /**
+     * The content type passed by the browser, or null if not defined.
+     */
+    private String contentType;
+
+    /**
+     * Whether or not this item is a simple form field.
+     */
+    private boolean isFormField;
+
+    /**
+     * The original filename in the user's filesystem.
+     */
+    private String fileName;
+
+    /**
+     * The file items headers.
+     */
+    private FileItemHeaders headers;
+
+    /**
+     * The file item's uploaded content.
+     */
+    private ByteArrayOutputStream content;
+
+    // ----------------------------------------------------------- Constructors
+
+    /**
+     * Constructs a new MemoryFileItem for the given fieldName, contentType
+     * isFormField and fileName parameters.
+     *
+     * @param fieldName the name of the form field as provided by the browser
+     * @param contentType the content type passed by the browser
+     * @param isFormField specifies whether or not this item is a simple form field
+     * @param fileName the original filename in the user's filesystem
+     */
+    public MemoryFileItem(String fieldName, String contentType, boolean isFormField,
+        String fileName) {
+
+        this.fieldName = fieldName;
+        this.contentType = contentType;
+        this.isFormField = isFormField;
+        this.fileName = fileName;
+        this.content = new ByteArrayOutputStream();
+    }
+
+    // --------------------------------------------------------- Public Methods
+
+    /**
+     * This method does nothing since the file is stored in memory only.
+     */
+    public void delete() {
+    }
+
+    /**
+     * Returns the contents of the file item as an array of bytes.
+     *
+     * @return the contents of the file item as an array of bytes
+     */
+    public byte[] get() {
+        return content.toByteArray();
+    }
+
+    /**
+     * Returns the content type passed by the browser or null if not defined.
+     *
+     * @return the content type passed by the browser or null if not defined
+     */
+    public String getContentType() {
+        return contentType;
+    }
+
+    /**
+     * Returns the name of the field in the multipart form corresponding to
+     * this file item.
+     *
+     * @return the name of the form field
+     */
+    public String getFieldName() {
+        return fieldName;
+    }
+
+    /**
+     * Sets the field name used to reference this file item.
+     *
+     * @param fieldName the name of the form field
+     */
+    public void setFieldName(String fieldName) {
+        this.fieldName = fieldName;
+    }
+
+    /**
+     * Determines whether or not a <tt>FileItem</tt> instance represents
+     * a simple form field.
+     *
+     * @return true if the instance represents a simple form field; false if it
+     * represents an uploaded file
+     */
+    public boolean isFormField() {
+        return isFormField;
+    }
+
+    /**
+     * Specifies whether or not a <tt>FileItem</tt> instance represents
+     * a simple form field.
+     *
+     * @param isFormField true if the instance represents a simple form field;
+     * false if it represents an uploaded file
+     */
+    public void setFormField(boolean isFormField) {
+        this.isFormField = isFormField;
+    }
+
+    /**
+     * Returns an {@link java.io.InputStream InputStream} that can be used to
+     * retrieve the contents of the file.
+     *
+     * @return an {@link java.io.InputStream InputStream} that can be used to
+     * retrieve the contents of the file
+     * @throws IOException if an error occurs
+     */
+    public InputStream getInputStream() throws IOException {
+        return new ByteArrayInputStream(get());
+    }
+
+    /**
+     * Returns the original filename in the client's filesystem, as provided by
+     * the browser (or other client software). In most cases, this will be the
+     * base file name, without path information. However, some clients, such as
+     * Internet Explorer, do include path information.
+     * <p/>
+     * You can easily remove the path information with the following snippet:
+     *
+     * <pre class="prettyprint">
+     * String fileName = fileItem.getName();
+     * if (fileName != null) {
+     *     filename = FilenameUtils.getName(filename);
+     * } </pre>
+     *
+     * @return the original filename in the client's filesystem.
+     */
+    public String getName() {
+        return fileName;
+    }
+
+    /**
+     * Returns an {@link java.io.OutputStream OutputStream} that can be used for
+     * storing the contents of the file.
+     *
+     * @return an {@link java.io.OutputStream OutputStream} that can be used
+     * for storing the contensts of the file
+     * @throws IOException if an error occurs
+     */
+    public OutputStream getOutputStream() throws IOException {
+        return content;
+    }
+
+    /**
+     * Returns the size of the file item, in bytes.
+     *
+     * @return the size of the file item, in bytes
+     */
+    public long getSize() {
+        return content.size();
+    }
+
+    /**
+     * Returns the contents of the file as a String, using the default
+     * character encoding.  This method uses {@link #get()} to retrieve the
+     * contents of the file.
+     *
+     * @return the contents of the file, as a string.
+     */
+    public String getString() {
+        byte[] rawdata = get();
+        String charset = getCharSet();
+        if (charset == null) {
+            charset = DEFAULT_CHARSET;
+        }
+        try {
+            return new String(rawdata, charset);
+        } catch (UnsupportedEncodingException e) {
+            return new String(rawdata);
+        }
+    }
+
+    /**
+     * Returns the contents of the file as a String, using the specified
+     * encoding. This method uses {@link #get()} to retrieve the contents of the
+     * file.
+     *
+     * @param charset the charset to use
+     * @return the contents of the file, as a string
+     * @throws UnsupportedEncodingException if the requested character
+     * encoding is not available.
+     */
+    public String getString(final String charset)
+        throws UnsupportedEncodingException {
+        return new String(get(), charset);
+    }
+
+    /**
+     * Provides a hint as to whether or not the file contents will be read
+     * from memory. This method always returns true.
+     *
+     * @return true to indicate that the file contents will be read from memory
+     */
+    public boolean isInMemory() {
+        return true;
+    }
+
+    /**
+     * This method does nothing since the file is stored in memory only.
+     *
+     * @param file the File into which the uploaded item should be stored
+     * @throws Exception if an error occurs
+     */
+    public void write(File file) throws Exception {
+    }
+
+    /**
+     * Returns the file item headers.
+     *
+     * @return the file items headers
+     */
+    public FileItemHeaders getHeaders() {
+        return headers;
+    }
+
+    /**
+     * Sets the file item headers.
+     *
+     * @param headers the file items headers
+     */
+    public void setHeaders(FileItemHeaders headers) {
+        this.headers = headers;
+    }
+
+    /**
+     * Returns the content charset passed by the agent or null if not defined.
+     *
+     * @return The content charset passed by the agent or null if not defined
+     */
+    public String getCharSet() {
+        ParameterParser parser = new ParameterParser();
+        parser.setLowerCaseNames(true);
+        // Parameter parser can handle null input
+        Map params = parser.parse(getContentType(), ';');
+        return (String) params.get("charset");
+    }
+}

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItemFactory.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItemFactory.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItemFactory.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileItemFactory.java Thu Jul  2 23:07:07 2009
@@ -1,49 +1,47 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.click.extras.gae;
-
-import org.apache.commons.fileupload.FileItem;
-import org.apache.commons.fileupload.FileItemFactory;
-
-/**
- * Provides a FileItemFactory implementation that creates {@link MemoryFileItem}
- * instances which always keep their content in memory.
- *
- * @author Bob Schellink
- */
-public class MemoryFileItemFactory implements FileItemFactory {
-
-    /**
-     * Create a new {@link MemoryFileItem} instance from the supplied parameters.
-     *
-     * @param fieldName the name of the form field
-     * @param contentType the content type of the form field
-     * @param isFormField true if this is a plain form field, false otherwise
-     * @param fileName the name of the uploaded file, if any, as supplied by the
-     * browser or other client
-     * @return the newly created file item
-     */
-    public FileItem createItem(String fieldName, String contentType,
-        boolean isFormField, String fileName) {
-
-        FileItem result =
-            new MemoryFileItem(fieldName, contentType, isFormField, fileName);
-        return result;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.click.extras.gae;
+
+import org.apache.commons.fileupload.FileItem;
+import org.apache.commons.fileupload.FileItemFactory;
+
+/**
+ * Provides a FileItemFactory implementation that creates {@link MemoryFileItem}
+ * instances which always keep their content in memory.
+ */
+public class MemoryFileItemFactory implements FileItemFactory {
+
+    /**
+     * Create a new {@link MemoryFileItem} instance from the supplied parameters.
+     *
+     * @param fieldName the name of the form field
+     * @param contentType the content type of the form field
+     * @param isFormField true if this is a plain form field, false otherwise
+     * @param fileName the name of the uploaded file, if any, as supplied by the
+     * browser or other client
+     * @return the newly created file item
+     */
+    public FileItem createItem(String fieldName, String contentType,
+        boolean isFormField, String fileName) {
+
+        FileItem result =
+            new MemoryFileItem(fieldName, contentType, isFormField, fileName);
+        return result;
+    }
+}

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java Thu Jul  2 23:07:07 2009
@@ -1,67 +1,65 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.click.extras.gae;
-
-import javax.servlet.http.HttpServletRequest;
-import org.apache.click.service.CommonsFileUploadService;
-import org.apache.commons.fileupload.FileItemFactory;
-
-/**
- * Provides an Apache Commons In-Memory FileUploadService class.
- * <p/>
- * This service creates an {@link MemoryFileItemFactory} for creating
- * {@link MemoryFileItem In-Memory FileItem instances} which content is never
- * written to disk.
- * <p/>
- * This service is recommended to be used with Google App Engine (GAE) which
- * doesn't allow Web Application access to disk.
- * <p/>
- * To use this service in your GAE applications, add the following to your
- * <tt>click.xml</tt> config:
- *
- * <pre class="prettyprint">
- * &lt;file-upload-service classname="org.apache.click.extras.gae.MemoryFileUploadService"&gt;
- *     &lt;!-- Set the total request maximum size to 10mb (10 x 1024 x 1024 = 10485760). --&gt;
- *     &lt;property name="sizeMax" value="10485760"/&gt;
- *
- *     &lt;!-- Set the maximum individual file size to 2mb (2 x 1024 x 1024 = 2097152). --&gt;
- *     &lt;property name="fileSizeMax" value="2097152"/&gt;
- * &lt;/file-upload-service&gt; </pre>
- *
- * To prevent users from uploading exceedingly large files you can configure
- * MemoryFileUploadService through the properties {@link #setSizeMax(long)} and
- * {@link #setFileSizeMax(long)}, as demonstrated above.
- * <p/>
- * <b>Please note:</b> Google App Engine further restricts the size of file
- * uploads as well. Currently the limit is 10MB.
- *
- * @author Bob Schellink
- */
-public class MemoryFileUploadService extends CommonsFileUploadService {
-
-    /**
-     * Create and return a new {@link MemoryFileItemFactory} instance.
-     *
-     * @param request the servlet request
-     * @return a new MemoryFileItemFactory instance
-     */
-    public FileItemFactory createFileItemFactory(HttpServletRequest request) {
-        return new MemoryFileItemFactory();
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.click.extras.gae;
+
+import javax.servlet.http.HttpServletRequest;
+import org.apache.click.service.CommonsFileUploadService;
+import org.apache.commons.fileupload.FileItemFactory;
+
+/**
+ * Provides an Apache Commons In-Memory FileUploadService class.
+ * <p/>
+ * This service creates an {@link MemoryFileItemFactory} for creating
+ * {@link MemoryFileItem In-Memory FileItem instances} which content is never
+ * written to disk.
+ * <p/>
+ * This service is recommended to be used with Google App Engine (GAE) which
+ * doesn't allow Web Application access to disk.
+ * <p/>
+ * To use this service in your GAE applications, add the following to your
+ * <tt>click.xml</tt> config:
+ *
+ * <pre class="prettyprint">
+ * &lt;file-upload-service classname="org.apache.click.extras.gae.MemoryFileUploadService"&gt;
+ *     &lt;!-- Set the total request maximum size to 10mb (10 x 1024 x 1024 = 10485760). --&gt;
+ *     &lt;property name="sizeMax" value="10485760"/&gt;
+ *
+ *     &lt;!-- Set the maximum individual file size to 2mb (2 x 1024 x 1024 = 2097152). --&gt;
+ *     &lt;property name="fileSizeMax" value="2097152"/&gt;
+ * &lt;/file-upload-service&gt; </pre>
+ *
+ * To prevent users from uploading exceedingly large files you can configure
+ * MemoryFileUploadService through the properties {@link #setSizeMax(long)} and
+ * {@link #setFileSizeMax(long)}, as demonstrated above.
+ * <p/>
+ * <b>Please note:</b> Google App Engine further restricts the size of file
+ * uploads as well. Currently the limit is 10MB.
+ */
+public class MemoryFileUploadService extends CommonsFileUploadService {
+
+    /**
+     * Create and return a new {@link MemoryFileItemFactory} instance.
+     *
+     * @param request the servlet request
+     * @return a new MemoryFileItemFactory instance
+     */
+    public FileItemFactory createFileItemFactory(HttpServletRequest request) {
+        return new MemoryFileItemFactory();
+    }
+}

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java Thu Jul  2 23:07:07 2009
@@ -121,8 +121,6 @@
  *
  * @see SessionContext
  * @see SessionFilter
- *
- * @author Malcolm Edgar
  */
 public class HibernateForm extends Form {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionContext.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionContext.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionContext.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionContext.java Thu Jul  2 23:07:07 2009
@@ -46,8 +46,6 @@
  *
  * @see SessionFilter
  * @see HibernateForm
- *
- * @author Malcolm Edgar
  */
 public class SessionContext {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionFilter.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionFilter.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionFilter.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/SessionFilter.java Thu Jul  2 23:07:07 2009
@@ -56,8 +56,6 @@
  *
  * @see SessionContext
  * @see HibernateForm
- *
- * @author Malcolm Edgar
  */
 public class SessionFilter implements Filter {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java Thu Jul  2 23:07:07 2009
@@ -33,9 +33,6 @@
  *     &lt;/div&gt;
  *   <span class="red">#end</span>
  * &lt;/div&gt; </pre>
- *
- * @author Phil Barnes
- * @author Malcolm Edgar
  */
 public class ListPanel extends Panel {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java Thu Jul  2 23:07:07 2009
@@ -132,9 +132,6 @@
  * <span class="blue">$jsElements</span>
  * &lt;/body&gt;
  * &lt;/html&gt; </pre>
- *
- * @author Phil Barnes
- * @author Malcolm Edgar
  */
 public class TabbedPanel extends Panel {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/security/AccessController.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/security/AccessController.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/security/AccessController.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/security/AccessController.java Thu Jul  2 23:07:07 2009
@@ -24,8 +24,6 @@
  * Provides an interface for controlling request access to security
  * resources. A security resource is an abstract term which may refer to a
  * role, permission or authority.
- *
- * @author Malcolm Edgar
  */
 public interface AccessController {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/security/RoleAccessController.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/security/RoleAccessController.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/security/RoleAccessController.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/security/RoleAccessController.java Thu Jul  2 23:07:07 2009
@@ -26,8 +26,6 @@
  * to a specified role.
  * <p/>
  * This class is used as the default AccessController by the Menu class.
- *
- * @author Malcolm Edgar
  */
 public class RoleAccessController implements AccessController {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java Thu Jul  2 23:07:07 2009
@@ -113,8 +113,6 @@
  *   &lt;/body&gt;
  * &lt;/html&gt;
  * </pre>
- *
- * @author Malcolm Edgar
  */
 public class FreemarkerTemplateService implements TemplateService {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/service/JdkLogService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/service/JdkLogService.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/service/JdkLogService.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/service/JdkLogService.java Thu Jul  2 23:07:07 2009
@@ -43,8 +43,6 @@
  *     &lt;<span class="red">log-service</span> classname="<span class="blue">org.apache.click.extras.service.JdkLogService</span>"/&gt;
  *
  * &lt;/click-app&gt; </pre>
- *
- * @author Malcolm Edgar
  */
 public class JdkLogService implements LogService {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Log4JLogService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Log4JLogService.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Log4JLogService.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Log4JLogService.java Thu Jul  2 23:07:07 2009
@@ -41,8 +41,6 @@
  *     &lt;<span class="red">log-service</span> classname="<span class="blue">org.apache.click.extras.service.Log4JLogService</span>"/&gt;
  *
  * &lt;/click-app&gt; </pre>
- *
- * @author Malcolm Edgar
  */
 public class Log4JLogService implements LogService {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Slf4jLogService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Slf4jLogService.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Slf4jLogService.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/service/Slf4jLogService.java Thu Jul  2 23:07:07 2009
@@ -43,8 +43,6 @@
  *     &lt;<span class="red">log-service</span> classname="<span class="blue">org.apache.click.extras.service.Slf4jLogService</span>"/&gt;
  *
  * &lt;/click-app&gt; </pre>
- *
- * @author Malcolm Edgar
  */
 public class Slf4jLogService implements LogService {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/PageScopeResolver.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/PageScopeResolver.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/PageScopeResolver.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/PageScopeResolver.java Thu Jul  2 23:07:07 2009
@@ -77,8 +77,6 @@
  * includes the &#64;Component annotation will have "prototype" scope.
  *
  * @see SpringClickServlet
- *
- * @author Malcolm Edgar
  */
 public class PageScopeResolver implements ScopeMetadataResolver {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/SpringClickServlet.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/SpringClickServlet.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/SpringClickServlet.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/spring/SpringClickServlet.java Thu Jul  2 23:07:07 2009
@@ -258,10 +258,6 @@
  * &lt;/web-app&gt; </pre>
  *
  * @see PageScopeResolver
- *
- * @author Malcolm Edgar
- * @author Paul Rule
- * @author Phil Barnes
  */
 public class SpringClickServlet extends ClickServlet {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/CheckboxTree.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/CheckboxTree.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/CheckboxTree.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/CheckboxTree.java Thu Jul  2 23:07:07 2009
@@ -122,8 +122,6 @@
  * <span class="blue">$jsElements</span> in the page template.
  *
  * @see Tree
- *
- * @author Bob Schellink
  */
 public class CheckboxTree extends Tree {
 

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/Tree.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/Tree.java?rev=790757&r1=790756&r2=790757&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/Tree.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/Tree.java Thu Jul  2 23:07:07 2009
@@ -161,8 +161,6 @@
  *      <li>images/folder-open.png</li>
  *      <li>images/item.png</li>
  * </ul>
- *
- * @author Bob Schellink
  */
 public class Tree extends AbstractControl {
 



Mime
View raw message