use the type String and do not clone explicitely (Strings are final and unmodifable)

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806530 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2009-08-21 12:43:21 +00:00
parent cf8689ba22
commit 59d358e68f
1 changed files with 1 additions and 1 deletions

View File

@ -69,6 +69,6 @@ public class TypeAttributeImpl extends AttributeImpl implements TypeAttribute, C
public void copyTo(AttributeImpl target) {
TypeAttribute t = (TypeAttribute) target;
t.setType(new String(type));
t.setType(type);
}
}