mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-09 14:08:03 -05:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
@@ -236,7 +236,7 @@ public class ListingPanelTest extends AbstractGhidraHeadedIntegrationTest {
|
||||
assertEquals(EolCommentFieldLocation.class, loc.getClass());
|
||||
bfloc = (EolCommentFieldLocation) loc;
|
||||
assertEquals(0, bfloc.getRow());
|
||||
assertEquals(70, bfloc.getCharOffset());
|
||||
assertEquals(72, bfloc.getCharOffset());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -273,7 +273,7 @@ public class ListingPanelTest extends AbstractGhidraHeadedIntegrationTest {
|
||||
assertEquals(EolCommentFieldLocation.class, loc.getClass());
|
||||
bfloc = (EolCommentFieldLocation) loc;
|
||||
assertEquals(1, bfloc.getRow());
|
||||
assertEquals(42, bfloc.getCharOffset());
|
||||
assertEquals(43, bfloc.getCharOffset());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
package ghidra.program.model.data;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
||||
import ghidra.docking.settings.Settings;
|
||||
import ghidra.program.model.mem.MemBuffer;
|
||||
@@ -182,7 +183,7 @@ public abstract class AbstractDataType implements DataType {
|
||||
@Override
|
||||
public Collection<DataType> getParents() {
|
||||
// not-applicable
|
||||
return null;
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user