We're updating the issue view to help you get more done. 

Change new XPathParts()...

Description

It is somewhat faster to call getInstance to get a frozen version (the frozen version can also prevent inadvertent errors. While it is probably not worth a concerted effort, people should probably use this when they are writing new code or touching old.

OLD
new XPathParts().set(path)

NEW
XPathParts.getFrozenInstance(path);

or if it allows modification,

XPathParts.getInstance(path);

Environment

xpath

None

locale

None

Status

Assignee

Mark Davis

Reporter

Mark Davis

tracReporter

mark

tracOwner

mark

tracStatus

accepted

phase

rc

tracCreated

May 06, 2015, 1:31 PM

Components

Priority

medium