mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0 Minor cleanup of unused AbstractDataType DuplicateNameException use
This commit is contained in:
parent
aa8bffe707
commit
f080fb70a1
2 changed files with 3 additions and 11 deletions
|
@ -63,9 +63,6 @@ public abstract class AbstractDataType implements DataType {
|
|||
return categoryPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ghidra.program.model.data.DataType#getDataTypeManager()
|
||||
*/
|
||||
@Override
|
||||
public final DataTypeManager getDataTypeManager() {
|
||||
return dataMgr;
|
||||
|
@ -108,7 +105,7 @@ public abstract class AbstractDataType implements DataType {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getPathName() {
|
||||
public final String getPathName() {
|
||||
return getDataTypePath().getPath();
|
||||
}
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -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
|
||||
* result consistent with the C/C++ {@code sizeof(type)} operation. Use of this method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue