Skip to content

Commit

Permalink
blupp
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3759 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
(no author) committed May 24, 2007
1 parent 651b05b commit a29cb2e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions htroot/js/WatchCrawler.js
Expand Up @@ -33,7 +33,7 @@ function countdown(){
document.getElementById("nextUpdate").innerHTML=wait;
wait--;
if(wait==0){
refresh()
refresh();
}
}
function refresh(){
Expand All @@ -43,13 +43,13 @@ function refresh(){
}

function requestStatus(){
statusRPC=createRequestObject()
statusRPC=createRequestObject();
statusRPC.open('get', '/xml/status_p.xml');
statusRPC.onreadystatechange = handleStatus;
statusRPC.send(null)
statusRPC.send(null);
}
function requestQueues(){
queuesRPC=createRequestObject()
queuesRPC=createRequestObject();
queuesRPC.open('get', '/xml/queues_p.xml');
queuesRPC.onreadystatechange = handleQueues;
queuesRPC.send(null);
Expand All @@ -61,9 +61,9 @@ function handleStatus(){
return;
}
var statusResponse = statusRPC.responseXML;
statusTag=getFirstChild(statusResponse, "status")
statusTag=getFirstChild(statusResponse, "status");

ppm=getValue(getFirstChild(statusTag, "ppm"))
ppm=getValue(getFirstChild(statusTag, "ppm"));

var ppmNum = document.getElementById("ppmNum");
removeAllChildren(ppmNum);
Expand Down
4 changes: 2 additions & 2 deletions htroot/js/html.js
Expand Up @@ -31,6 +31,6 @@ function createLinkCol(url, linktext){
link.setAttribute("target", "_blank");
text=document.createTextNode(linktext);
link.appendChild(text);
col.appendChild(link)
return col
col.appendChild(link);
return col;
}
2 changes: 1 addition & 1 deletion htroot/js/yacysearch.js
Expand Up @@ -60,7 +60,7 @@ function handleTextState(req) {
var urlHash = response.getElementsByTagName("urlHash")[0].firstChild.data;
var status = response.getElementsByTagName("status")[0].firstChild.data;

var span = document.getElementById("h" + urlHash)
var span = document.getElementById("h" + urlHash);
removeAllChildren(span);
//span.removeChild(span.firstChild);

Expand Down
2 changes: 1 addition & 1 deletion source/de/anomic/kelondro/kelondroAbstractOrder.java
Expand Up @@ -75,7 +75,7 @@ public int compare(Object a, Object b) {
} /* else if ((a instanceof Integer) && (b instanceof Integer)) {
return ((Integer) a).compareTo((Integer) b);
} */ else
throw new IllegalArgumentException("Object type or Object type combination not supported: a=" + a + "[" + a.getClass().getName() + "], b=" + b + "[" + b.getClass().getName() + "]");
throw new IllegalArgumentException("Object type or Object type combination not supported: a=" + a + ((a != null) ? "[" + a.getClass().getName() + "]" : "") + ", b=" + b + ((b != null) ? "[" + b.getClass().getName() + "]" : ""));
}

public byte[] zero() {
Expand Down
3 changes: 2 additions & 1 deletion source/de/anomic/plasma/plasmaDHTChunk.java
Expand Up @@ -286,7 +286,8 @@ private int selectTransferContainersResource(String hash, boolean ram, int maxco
this.status = chunkStatus_FILLED;
return refcount;
} catch (kelondroException e) {
log.logSevere("selectTransferIndexes database corrupted: " + e.getMessage(), e);
//log.logSevere("selectTransferIndexes database corrupted: " + e.getMessage(), e);
log.logSevere("selectTransferIndexes database corrupted: " + e.getMessage());
indexContainers = new indexContainer[0];
urlCache = new HashMap();
this.status = chunkStatus_FAILED;
Expand Down

0 comments on commit a29cb2e

Please sign in to comment.