Changeset 14601


Ignore:
Timestamp:
01/11/14 15:36:10 (9 years ago)
Author:
Mark Evenson
Message:

Untabify.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Pathname.java

    r14466 r14601  
    178178            }
    179179        }
    180   if (p.version != NIL) {
    181       if (p.version instanceof Symbol) {
    182     version = p.version;
    183       } else if (p.version instanceof LispInteger) {
    184     version = p.version;
    185       } else {
    186     Debug.assertTrue(false);
    187       }
    188   }
     180    if (p.version != NIL) {
     181        if (p.version instanceof Symbol) {
     182        version = p.version;
     183        } else if (p.version instanceof LispInteger) {
     184        version = p.version;
     185        } else {
     186        Debug.assertTrue(false);
     187        }
     188    }
    189189    }
    190190
     
    377377                String uriPath = uri.getPath();
    378378                if (null == uriPath) {
    379         // We make an exception for forms like "file:z:/foo/path"
    380         uriPath = uri.getSchemeSpecificPart();
    381         if (uriPath == null || uriPath.equals("")) {
    382            error(new LispError("The URI has no path: " + uri));
    383             }
     379            // We make an exception for forms like "file:z:/foo/path"
     380            uriPath = uri.getSchemeSpecificPart();
     381            if (uriPath == null || uriPath.equals("")) {
     382               error(new LispError("The URI has no path: " + uri));
     383                }
    384384                }
    385385                final File file = new File(uriPath);
     
    403403            }
    404404            String authority = uri.getAuthority();
    405       if (authority == null) {
    406     authority = url.getAuthority();
    407     if (authority == null) {
    408         Debug.trace(MessageFormat.format("{0} has a null authority.",
    409                  url));
    410     }
    411       }
     405        if (authority == null) {
     406        authority = url.getAuthority();
     407        if (authority == null) {
     408            Debug.trace(MessageFormat.format("{0} has a null authority.",
     409                             url));
     410        }
     411        }
    412412
    413413            host = NIL;
     
    415415            host = host.push(new SimpleString(scheme));
    416416
    417       if (authority != null) {
    418     host = host.push(AUTHORITY);
    419     host = host.push(new SimpleString(authority));
    420       }
     417        if (authority != null) {
     418        host = host.push(AUTHORITY);
     419        host = host.push(new SimpleString(authority));
     420        }
    421421
    422422            device = NIL;
     
    655655            for (int i = 0; i < jars.length; i++) {
    656656                prefix.append("jar:");
    657     LispObject component = jars[i];
    658     if (!(component instanceof Pathname)) {
    659        return null; // If DEVICE is a CONS, it should only contain Pathname
    660     }
     657        LispObject component = jars[i];
     658        if (!(component instanceof Pathname)) {
     659           return null; // If DEVICE is a CONS, it should only contain Pathname
     660        }
    661661                if (! ((Pathname)component).isURL() && i == 0) {
    662662                    sb.append("file:");
     
    15671567               args="directory &optional (resolve-symlinks t)",
    15681568               returns="pathnames",
    1569     doc="Lists the contents of DIRECTORY, optionally resolving symbolic links.")
     1569               doc="Lists the contents of DIRECTORY, optionally resolving symbolic links.")
    15701570    private static class pf_list_directory extends Primitive {
    15711571        pf_list_directory() {
Note: See TracChangeset for help on using the changeset viewer.