mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-2303: fixes
This commit is contained in:
parent
d3583b508d
commit
e92b1793d1
1 changed files with 1 additions and 4 deletions
|
@ -227,7 +227,7 @@ public class DbgModel2TargetObjectImpl extends DefaultTargetObject<TargetObject,
|
|||
}
|
||||
if (value != null && !value.equals("")) {
|
||||
attrs.put(VALUE_ATTRIBUTE_NAME, value);
|
||||
if (!kind.equals(ModelObjectKind.OBJECT_PROPERTY_ACCESSOR)) {
|
||||
if (!Objects.equals(kind, ModelObjectKind.OBJECT_PROPERTY_ACCESSOR)) {
|
||||
synchronized (attributes) {
|
||||
String oldval = (String) attributes.get(DISPLAY_ATTRIBUTE_NAME);
|
||||
String newval = getName() + " : " + value;
|
||||
|
@ -419,9 +419,6 @@ public class DbgModel2TargetObjectImpl extends DefaultTargetObject<TargetObject,
|
|||
|
||||
@Override
|
||||
public DbgModelTargetSession getParentSession() {
|
||||
if (this instanceof DbgModelTargetSession) {
|
||||
return (DbgModelTargetSession) this;
|
||||
}
|
||||
DbgModelTargetObject test = (DbgModelTargetObject) parent;
|
||||
while (test != null && !(test.getProxy() instanceof DbgModelTargetSession)) {
|
||||
test = (DbgModelTargetObject) test.getParent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue