*) Bugfix for GuiHandler sorting problem

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2773 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent fd94aa4bef
commit de5e233766

@ -193,10 +193,12 @@ public class GuiHandler extends Handler{
if ((lineCount > this.count)||(lineCount < 0)) lineCount = this.count;
ArrayList logMessages = new ArrayList(this.count);
logMessages.add("Testmessage:\r\nline1\r\nline2");
Formatter logFormatter = getFormatter();
try {
int theStart = (reversed)?this.start+lineCount-1:this.start;
int theStart = (reversed)?this.start+this.count-1:this.start+this.count-lineCount;
LogRecord record=null;
for (int i = 0; i < lineCount; i++) {
int ix = (reversed) ?

Loading…
Cancel
Save