Changeset 11125


Ignore:
Timestamp:
01/22/07 16:34:34 (15 years ago)
Author:
piso
Message:

needsEscape(): cleanup

File:
1 edited

Legend:

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

    r11103 r11125  
    22 * Symbol.java
    33 *
    4  * Copyright (C) 2002-2006 Peter Graves
    5  * $Id: Symbol.java,v 1.246 2006-10-05 16:57:45 piso Exp $
     4 * Copyright (C) 2002-2007 Peter Graves
     5 * $Id: Symbol.java,v 1.247 2007-01-22 16:34:34 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    607607    if (!seenNonDigit)
    608608      return true;
    609     if (s.length() > 0 && s.charAt(0) == '.')
     609    if (s.charAt(0) == '.')
    610610      {
    611611        boolean allDots = true;
    612         for (int i = s.length(); i-- > 1;)
     612        for (int i = length; i-- > 1;)
    613613          {
    614614            if (s.charAt(i) != '.')
Note: See TracChangeset for help on using the changeset viewer.