Merging Source v1.7.2: item changes
This commit is contained in:
@@ -36,13 +36,6 @@ public class Key extends Item {
|
||||
return item.getClass() == getClass() && ((Key)item).depth == depth;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item detach( Bag container ) {
|
||||
Key key = (Key)super.detach( container );
|
||||
key.depth = depth;
|
||||
return key;
|
||||
}
|
||||
|
||||
private static final String DEPTH = "depth";
|
||||
|
||||
@Override
|
||||
@@ -66,4 +59,10 @@ public class Key extends Item {
|
||||
public boolean isIdentified() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String status() {
|
||||
return depth + "*";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user