Update of
/var/cvs/contributions/CMSContainer/cmsc/taglib/src/java/com/finalist/cmsc/taglib/flash
In directory
james.mmbase.org:/tmp/cvs-serv16233/cmsc/taglib/src/java/com/finalist/cmsc/taglib/flash
Modified Files:
ParamTag.java FlashTag.java
Log Message:
CMSC-993 - Forgot to format some of the files to the correct formatting
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/taglib/src/java/com/finalist/cmsc/taglib/flash
See also: http://www.mmbase.org/jira/browse/CMSC-993
Index: ParamTag.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/taglib/src/java/com/finalist/cmsc/taglib/flash/ParamTag.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
Index: FlashTag.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/taglib/src/java/com/finalist/cmsc/taglib/flash/FlashTag.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- FlashTag.java 30 Jun 2008 14:39:04 -0000 1.1
+++ FlashTag.java 1 Jul 2008 08:21:31 -0000 1.2
@@ -63,9 +63,9 @@
/**
* Adds a flashvar - name/value pair - to the map of flashvars. Multiple
- * calls with the same flashvar name will result in a comma separated
list
- * of values for this variable name. A <code>null</code> value or empty
- * string for name will not be stored as a flashvar.
+ * calls with the same flashvar name will result in a comma separated list
of
+ * values for this variable name. A <code>null</code> value or empty string
+ * for name will not be stored as a flashvar.
*
* The parameters added are URLEncoded using the encoding scheme given.
*
@@ -80,11 +80,10 @@
* @throws UnsupportedEncodingException
* if the encoding scheme is not supported.
*/
- protected void addFlashvar(String name, String value, boolean
urlEncode, String urlEncodingScheme)
- throws UnsupportedEncodingException {
+ protected void addFlashvar(String name, String value, boolean urlEncode,
String urlEncodingScheme) throws UnsupportedEncodingException {
String encodedValue = (value == null ? "" : value);
- if(urlEncode) {
+ if (urlEncode) {
encodedValue = URLEncoder.encode(encodedValue,
urlEncodingScheme);
}
@@ -187,8 +186,8 @@
}
/**
- * Returns a JavaScript object notation of the given map. Something
along
- * the lines of;
+ * Returns a JavaScript object notation of the given map. Something along
the
+ * lines of;
*
* <pre>
* {attribute: 'value', attributes2: 'value2', ...}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs