Author: jalkanen
Date: Sat Jun 14 14:00:34 2008
New Revision: 667881
URL: http://svn.apache.org/viewvc?rev=667881&view=rev
Log:
Javadoc fix.
Modified:
incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/attachment/AttachmentManager.java
Modified:
incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/attachment/AttachmentManager.java
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/attachment/AttachmentManager.java?rev=667881&r1=667880&r2=667881&view=diff
==============================================================================
---
incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/attachment/AttachmentManager.java
(original)
+++
incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/attachment/AttachmentManager.java
Sat Jun 14 14:00:34 2008
@@ -591,11 +591,12 @@
}
/**
- * Validates the filename and makes sure it is legal.
+ * Validates the filename and makes sure it is legal. It trims and splits
+ * and replaces bad characters.
*
* @param filename
- * @return
- * @throws WikiException If the filename is not legal.
+ * @return A validated name with annoying characters replaced.
+ * @throws WikiException If the filename is not legal (e.g. empty)
*/
static String validateFileName( String filename )
throws WikiException