mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Merge branch 'GP-0_fix-tests'
This commit is contained in:
commit
e73265077c
1 changed files with 4 additions and 1 deletions
|
@ -65,11 +65,14 @@ public class StringIngest implements ByteIngest {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
if (outStream == null) {
|
||||||
|
return "<empty>";
|
||||||
|
}
|
||||||
return outStream.toString();
|
return outStream.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEmpty() {
|
public boolean isEmpty() {
|
||||||
return (outStream.size() == 0);
|
return outStream == null || (outStream.size() == 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue