Skip to content

Commit

Permalink
NAS-2642: Testinformation
Browse files Browse the repository at this point in the history
  • Loading branch information
Knud Åge Hansen committed Sep 14, 2017
1 parent 903fead commit 1b66e72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ public void frontier_list(HttpServletRequest req, HttpServletResponse resp, List
frontierScript = getDeleteScript(regex, linesPerPage, initials, frontierScript, deleteStr, pageString);
String[] frontierScriptSplitted = frontierScript.split("</p>");
String[] frontierScriptSplittedAgain = frontierScriptSplitted[1].split("<pre>");
String[] frontierScriptSplittedAnotherTime = frontierScriptSplittedAgain[0].split("|");
String[] frontierScriptSplittedAnotherTime = frontierScriptSplittedAgain[1].split("#");
long totalCachedLines = Long.getLong(frontierScriptSplittedAnotherTime[0],1);

Heritrix3JobMonitor h3Job = environment.h3JobMonitorThread.getRunningH3Job(numerics.get(0));
Expand All @@ -719,7 +719,7 @@ public void frontier_list(HttpServletRequest req, HttpServletResponse resp, List
page = pages;

startPagination(totalCachedLines, linesPerPage, page, pages, sb);
showFrontierPage(sb, frontierScript, h3Job, totalCachedLines, frontierScriptSplittedAgain[0]);
showFrontierPage(sb, frontierScript, h3Job, totalCachedLines, frontierScriptSplittedAgain[1]);
endPagination(linesPerPage, page, pages, sb);

} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void listFrontier(String regex, long limit) {
totalCachedLines = pendingUris.pendingUrisDB.count()
totalCachedSize = getPages(totalCachedLines, limit)
content = '<pre>'
content = content + totalCachedLines + "|"
content = content + totalCachedLines + "#"
//iterates over the raw underlying instance of com.sleepycat.je.Database
cursor = pendingUris.pendingUrisDB.openCursor(null, null)
key = new DatabaseEntry()
Expand Down

0 comments on commit 1b66e72

Please sign in to comment.