All pastes #459647 Raw Edit

Anonymous

public text v1 · immutable
#459647 ·published 2007-04-26 16:34 UTC
rendered paste body
int persistminusone = Iterator.persistPrintIndex;
        int persisttemp = Iterator.persistPrintIndex;
        this.loanList[0] = null;
        while (persisttemp > 0) {
            persistminusone = persistminusone - 1;
            if (this.loanList[persisttemp] instanceof ShortLoan) {
                ShortLoan clipboard;
                clipboard = (ShortLoan) this.loanList[persisttemp].clone();
                this.loanList[persistminusone] = (ShortLoan) clipboard.clone();
                clipboard = null;
                persisttemp = persisttemp - 1;
            } else if (this.loanList[persisttemp] instanceof LongLoan) {
                LongLoan clipboard;
                clipboard = (LongLoan) this.loanList[persisttemp].clone();
                this.loanList[persistminusone] = (LongLoan) clipboard.clone();
                clipboard = null;
                persisttemp = persisttemp - 1;
            }