fix typo breaks 2.2.eap5 build.
Merge pull request #1597 from soul2zimate/2.2.eap5

fix typo breaks 2.2.eap5 build.
backport changes in pull request #1037 to 2.2.eap5 branch for JBPAPP-11049.