Dear Rhino developers,

1.
Looking at NativeDate.java in eclipse I see many warnings "Comparing 
identical expressions"
case Id_toDateString:

if (t == t) { // same as if (true) ?

return date_format(t, id);

}

return js_NaN_date_str;  // dead code?




2.  It looks like  NativeDate does not support change of timezone in runtime 
because is it "cached" in static field.
  private static java.util.TimeZone thisTimeZone;
For some applications it could be a problem. Is this caching really brings 
any performance improvment?

Thank you,
Vlad 


_______________________________________________
dev-tech-js-engine-rhino mailing list
dev-tech-js-engine-rhino@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to