commit | 999add38b8d5fa6cc4aa3b3f87134c904adfd565 | [log] [tgz] |
---|---|---|
author | Jeanne Waldman <jwaldman@apache.org> | Tue Jan 28 22:26:14 2014 +0000 |
committer | Jeanne Waldman <jwaldman@apache.org> | Tue Jan 28 22:26:14 2014 +0000 |
tree | 207d4be6e33ecb128f347909e79fd3d48ccad95c | |
parent | c5eb2fe8e8994767f947abec2f1cd63359e42456 [diff] |
TRINIDAD-2448 Optimize ChangeManager.createDocumentChange() implementation Currently the implementation of org.apache.myfaces.trinidad.change ChangeManager.createDocumentChange( ComponentChange change) does not account for fact that the supplied ComponentChange implementation can also be implementing DocumentChange. Improvement is to do this check first, type cast the supplied component to DocumentChange and return. Thanks to Prakash Udupa for the patch