Changeset 10104


Ignore:
Timestamp:
10/15/05 15:45:24 (16 years ago)
Author:
piso
Message:

psxhash(): iterate up to limit, not capacity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/ComplexString.java

    r9790 r10104  
    33 *
    44 * Copyright (C) 2002-2005 Peter Graves
    5  * $Id: ComplexString.java,v 1.28 2005-08-04 18:09:12 piso Exp $
     5 * $Id: ComplexString.java,v 1.29 2005-10-15 15:45:24 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    449449        int hashCode = 0;
    450450        final int limit = length();
    451         for (int i = 0; i < capacity; i++) {
     451        for (int i = 0; i < limit; i++) {
    452452            try {
    453453                hashCode += Character.toUpperCase(charAt(i));
Note: See TracChangeset for help on using the changeset viewer.