Nit: fix comment
git-svn-id: svn://10.0.0.236/trunk@227251 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2130,7 +2130,7 @@ public abstract class ScriptableObject implements Scriptable, Serializable,
|
||||
break;
|
||||
if (name != null && indexOrHash == slot.indexOrHash) {
|
||||
if (name.equals(sname)) {
|
||||
// This will eleminate String.equals when
|
||||
// This will avoid calling String.equals when
|
||||
// slot is accessed with same string object
|
||||
// next time.
|
||||
slot.name = name;
|
||||
|
||||
Reference in New Issue
Block a user