NPE fixes
This commit is contained in:
parent
3db881a93b
commit
899eb788f3
|
@ -111,11 +111,15 @@ public class ComparisonRenderer implements IEvaluationContext {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void dumpBinaries() throws IOException {
|
private void dumpBinaries() throws IOException {
|
||||||
for (String k : contextLeft.getBinaries().keySet()) {
|
if (contextLeft != null && contextLeft.getBinaries() != null) {
|
||||||
TextFile.bytesToFile(contextLeft.getBinaries().get(k), Utilities.path(folder, k));
|
for (String k : contextLeft.getBinaries().keySet()) {
|
||||||
|
TextFile.bytesToFile(contextLeft.getBinaries().get(k), Utilities.path(folder, k));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (String k : contextRight.getBinaries().keySet()) {
|
if (contextRight != null && contextRight.getBinaries() != null) {
|
||||||
TextFile.bytesToFile(contextRight.getBinaries().get(k), Utilities.path(folder, k));
|
for (String k : contextRight.getBinaries().keySet()) {
|
||||||
|
TextFile.bytesToFile(contextRight.getBinaries().get(k), Utilities.path(folder, k));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue