Re: Arquillian tests and pull request for performance improvements

Splash Forums PrettyFaces Users Arquillian tests and pull request for performance improvements Re: Arquillian tests and pull request for performance improvements

#21655

Frank Caputo
Participant

The issue is created: https://github.com/ocpsoft/prettyfaces/issues/13

The pattern is not precompiled because you don’t use Pattern.

if (requestUrl.matches(JSESSIONID_REGEX))

{

requestUrl = requestUrl.replaceFirst(JSESSIONID_REGEX, JSESSIONID_REPLACEMENT);

}

Here the pattern is compiled twice, if it matches.

Ciao Frank