mirror of https://github.com/apache/lucene.git
Improve performance of attribute cloning and clearing by removing synthetic access$nnn()-methods needed for access to private inner class field. Made the State members package private.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@917154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f447adb549
commit
d333d94922
|
@ -285,8 +285,8 @@ public class AttributeSource {
|
|||
* @see #restoreState
|
||||
*/
|
||||
public static final class State implements Cloneable {
|
||||
private AttributeImpl attribute;
|
||||
private State next;
|
||||
AttributeImpl attribute;
|
||||
State next;
|
||||
|
||||
@Override
|
||||
public Object clone() {
|
||||
|
|
Loading…
Reference in New Issue