Expectation
Tooling builds without errors or warnings
Actual Experience
Tooling supplied library builds with warning
Warning
[INFO] Compiling javascript: ti.cloud.js
[DEBUG] java -jar "/Users/sfeather/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA2/android/lib/closure-compiler.jar" --js /development/test4/build/android/bin/assets/Resources/ti.cloud.js --js_output_file /development/test4/build/android/bin/assets/Resources/ti.cloud.js-compiled --jscomp_off=internetExplorerChecks
[WARN] /development/test4/build/android/bin/assets/Resources/ti.cloud.js:68: WARNING - If this if/for/while really shouldnt have a body, use {}
progress:b.progress})},onerror:function(a){var b={},d=this.responseText;try{var c=d;if(!c||0>=c.length)d=!1;else{for(var c=c.replace(/^\s\s*/,""),e=/\s/,g=c.length;e.test(c.charAt(--g)););d=c.slice(0,g+1)}d&&0<d.length&&(b=JSON.parse(d))}catch(h){b=h}b.message||(b.message=a.error);b.error=!0;b.statusText=this.statusText;b.status=this.status;b.meta&&(b.metaString=JSON.stringify(b.meta));f(b)},onload:function(){var a=JSON.parse(this.responseText);a&&a.meta&&(a.metaString=JSON.stringify(a.meta),c.acs.js.sdk.utils.storeSessionId(a.meta.session_id));
^
0 error(s), 1 warning(s)
For queueing purposes: Issue is non-critical. Issue does not prevent binary build Issue does not seem to affect binary performance. Issue however is distracting.
Moved from TIDOC; this is a TIMOB tooling or Android error.
This seems to no longer be an issue since ti.cloud 2.1.0 (and newer) distributed js file is already Closure compiled.
Closing ticket as fixed.