mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-04-26 17:55:20 +02:00
GP-5819 - Help - Added validation code to check all Ghidra TOC files after help is built
This commit is contained in:
@@ -17,7 +17,8 @@ package help;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.file.*;
|
||||
import java.util.*;
|
||||
import java.util.Collection;
|
||||
import java.util.Date;
|
||||
|
||||
import ghidra.util.exception.AssertException;
|
||||
import help.validator.LinkDatabase;
|
||||
@@ -135,9 +136,7 @@ public class JavaHelpFilesBuilder {
|
||||
out.println("<map version=\"1.0\">");
|
||||
|
||||
Collection<AnchorDefinition> anchors = help.getAllAnchorDefinitions();
|
||||
Iterator<AnchorDefinition> iterator = anchors.iterator();
|
||||
while (iterator.hasNext()) {
|
||||
AnchorDefinition a = iterator.next();
|
||||
for (AnchorDefinition a : anchors) {
|
||||
String anchorTarget = a.getHelpPath();
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user