https://java.net/jira/browse/JAVASERVERFACES-3547

Port to 2.2.x from trunk:

  ------------------------------------------------------------------------
  r13989 | edburns | 2014-11-26 00:11:23 +0000 (Wed, 26 Nov 2014) | 19 lines

http://java.net/jira/browse/JAVASERVERFACES-3542


SECTION: Modified Files
----------------------------
M       jsf-api/src/main/java/javax/faces/CurrentThreadToServletContext.java

- Take a different approach.  Simplify the search code.

  Tested with new harness in two permutations:

++++++++++++++++++++SECTION: -Dwebapp.projectStage=Development -Dwebapp.stateSavingMethod=server -Dwebapp.partialStateSaving=false
++++++++++++++++++++SECTION: -Dwebapp.projectStage=Development -Dwebapp.stateSavingMethod=client -Dwebapp.partialStateSaving=true

  No errors or failures.

  Also ran through tests from Bug 20064382 on multiple tenants.


------------------------------------------------------------------------


git-svn-id: https://svn.java.net/svn/mojarra~svn@14001 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes https://java.net/jira/browse/JAVASERVERFACES-3555, reverting fix for #3351 as it causes a regression

git-svn-id: https://svn.java.net/svn/mojarra~svn@14002 761efcf2-d34d-6b61-9145-99dcacc3edf1
JAVASERVERFACES-3538:[PORT 2.2.8] Port JAVASERVERFACES-3485 to branches/2.2.8

git-svn-id: https://svn.java.net/svn/mojarra~svn@14003 761efcf2-d34d-6b61-9145-99dcacc3edf1