Merge remote-tracking branch 'origin/patch'

This commit is contained in:
Ryan Kurtz
2025-12-30 17:48:42 -05:00
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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