GP-0 Minor cleanup of unused AbstractDataType DuplicateNameException use

This commit is contained in:
ghidra1 2025-05-21 10:06:45 -04:00
parent aa8bffe707
commit f080fb70a1
2 changed files with 3 additions and 11 deletions

View file

@ -63,9 +63,6 @@ public abstract class AbstractDataType implements DataType {
return categoryPath; return categoryPath;
} }
/**
* @see ghidra.program.model.data.DataType#getDataTypeManager()
*/
@Override @Override
public final DataTypeManager getDataTypeManager() { public final DataTypeManager getDataTypeManager() {
return dataMgr; return dataMgr;
@ -108,7 +105,7 @@ public abstract class AbstractDataType implements DataType {
} }
@Override @Override
public String getPathName() { public final String getPathName() {
return getDataTypePath().getPath(); return getDataTypePath().getPath();
} }

View file

@ -88,11 +88,6 @@ public abstract class DataTypeImpl extends AbstractDataType {
} }
} }
@Override
public String getPathName() {
return getDataTypePath().getPath();
}
/** /**
* Return the aligned-length for a fixed length datatype. This is intended to produce a * Return the aligned-length for a fixed length datatype. This is intended to produce a
* result consistent with the C/C++ {@code sizeof(type)} operation. Use of this method * result consistent with the C/C++ {@code sizeof(type)} operation. Use of this method