Author: lindner
Date: Mon Apr 19 23:08:09 2010
New Revision: 935767

URL: http://svn.apache.org/viewvc?rev=935767&view=rev
Log:
jsdoc/closure-compiler prefer the question mark at the beginning

Modified:
    
shindig/trunk/features/src/main/javascript/features/opensocial-jsonrpc/jsonrpccontainer.js
    
shindig/trunk/features/src/main/javascript/features/opensocial-reference/collection.js
    
shindig/trunk/features/src/main/javascript/features/opensocial-templates/jsTemplate/jsevalcontext.js
    shindig/trunk/features/src/main/javascript/features/xhrwrapper/xhrwrapper.js
    
shindig/trunk/features/src/test/javascript/features/opensocial-templates/template_test.js

Modified: 
shindig/trunk/features/src/main/javascript/features/opensocial-jsonrpc/jsonrpccontainer.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/opensocial-jsonrpc/jsonrpccontainer.js?rev=935767&r1=935766&r2=935767&view=diff
==============================================================================
--- 
shindig/trunk/features/src/main/javascript/features/opensocial-jsonrpc/jsonrpccontainer.js
 (original)
+++ 
shindig/trunk/features/src/main/javascript/features/opensocial-jsonrpc/jsonrpccontainer.js
 Mon Apr 19 23:08:09 2010
@@ -106,7 +106,7 @@ var JsonRpcRequestItem = function(rpc, o
    *
    * @param {boolean} success if false, the message will not be sent
    * @param {string=} opt_errorCode an error code if success is false
-   * @param {Array.<string>?} recipientIds an array of recipient IDs,
+   * @param {?Array.<string>} recipientIds an array of recipient IDs,
    *     if success is true
    * @private
    */

Modified: 
shindig/trunk/features/src/main/javascript/features/opensocial-reference/collection.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/opensocial-reference/collection.js?rev=935767&r1=935766&r2=935767&view=diff
==============================================================================
--- 
shindig/trunk/features/src/main/javascript/features/opensocial-reference/collection.js
 (original)
+++ 
shindig/trunk/features/src/main/javascript/features/opensocial-reference/collection.js
 Mon Apr 19 23:08:09 2010
@@ -57,7 +57,7 @@ opensocial.Collection = function(array, 
 /**
  * Finds the entry with the given ID value, or returns null if none is found.
  * @param {string} id The ID to look for
- * @return {Object?} The data
+ * @return {?Object} The data
  */
 opensocial.Collection.prototype.getById = function(id) {
    // TODO(doll): A non-linear search would be better

Modified: 
shindig/trunk/features/src/main/javascript/features/opensocial-templates/jsTemplate/jsevalcontext.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/opensocial-templates/jsTemplate/jsevalcontext.js?rev=935767&r1=935766&r2=935767&view=diff
==============================================================================
--- 
shindig/trunk/features/src/main/javascript/features/opensocial-templates/jsTemplate/jsevalcontext.js
 (original)
+++ 
shindig/trunk/features/src/main/javascript/features/opensocial-templates/jsTemplate/jsevalcontext.js
 Mon Apr 19 23:08:09 2010
@@ -275,7 +275,7 @@ JsEvalContext.prototype.clone = function
  *
  * @param {string} name
  *
- * @param {Object?} value
+ * @param {?Object} value
  */
 JsEvalContext.prototype.setVariable = function(name, value) {
   this.vars_[name] = value;
@@ -290,7 +290,7 @@ JsEvalContext.prototype.setVariable = fu
  *
  * @param {string} name
  *
- * @return {Object?} value
+ * @return {?Object} value
  */
 JsEvalContext.prototype.getVariable = function(name) {
   return this.vars_[name];
@@ -304,7 +304,7 @@ JsEvalContext.prototype.getVariable = fu
  * @param {string} expr A javascript expression
  * @param {Element=} opt_template An optional node to serve as "this"
  *
- * @return {Object?} value
+ * @return {?Object} value
  */
 JsEvalContext.prototype.evalExpression = function(expr, opt_template) {
   var exprFunction = jsEvalToFunction(expr);

Modified: 
shindig/trunk/features/src/main/javascript/features/xhrwrapper/xhrwrapper.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/xhrwrapper/xhrwrapper.js?rev=935767&r1=935766&r2=935767&view=diff
==============================================================================
--- 
shindig/trunk/features/src/main/javascript/features/xhrwrapper/xhrwrapper.js 
(original)
+++ 
shindig/trunk/features/src/main/javascript/features/xhrwrapper/xhrwrapper.js 
Mon Apr 19 23:08:09 2010
@@ -89,7 +89,7 @@ shindig.xhrwrapper = shindig.xhrwrapper 
   /**
    * Returns all response headers as a string.
    * 
-   * @return {string?} The text of all response headers, or null if no response
+   * @return {?string} The text of all response headers, or null if no response
    *     has been received.
    */
   shindig.xhrwrapper.XhrWrapper.prototype.getAllResponseHeaders = function() {
@@ -108,7 +108,7 @@ shindig.xhrwrapper = shindig.xhrwrapper 
    * Returns the value of a particular response header.
    * 
    * @param {string} The name of the header to return.
-   * @return {string?} The value of the header, or null if no response has
+   * @return {?string} The value of the header, or null if no response has
    *     been received or the header doesn't exist in the response.
    */
   shindig.xhrwrapper.XhrWrapper.prototype.getResponseHeader = function(header) 
{

Modified: 
shindig/trunk/features/src/test/javascript/features/opensocial-templates/template_test.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/test/javascript/features/opensocial-templates/template_test.js?rev=935767&r1=935766&r2=935767&view=diff
==============================================================================
--- 
shindig/trunk/features/src/test/javascript/features/opensocial-templates/template_test.js
 (original)
+++ 
shindig/trunk/features/src/test/javascript/features/opensocial-templates/template_test.js
 Mon Apr 19 23:08:09 2010
@@ -148,8 +148,8 @@ function assertTemplateDomEquals(lhs, rh
  *
  * @param {string} templateText The text of the inline template to evaluate
  * @param {string} output The expected output
- * @param {Object?} context The data context
- * @param {Array<String>?} namedTemplates Array of text of namedTemplates
+ * @param {?Object} context The data context
+ * @param {?Array<String>} namedTemplates Array of text of namedTemplates
  */
 function assertTemplateOutput(templateText, output, context,
     namedTemplates) {


Reply via email to