Changeset 15412


Ignore:
Timestamp:
10/14/20 07:07:21 (3 years ago)
Author:
Mark Evenson
Message:

pathname: further cleanup to use of copyFrom()

File:
1 edited

Legend:

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

    r15411 r15412  
    314314        || getType() != NIL) {
    315315     
    316       Pathname withoutDevice = new Pathname();
    317       Pathname.ncoerce(this, withoutDevice);
    318       withoutDevice.setDevice(NIL);
     316      Pathname withoutDevice = new Pathname();
     317      withoutDevice
     318  .copyFrom(this)
     319        .setDevice(NIL);
    319320
    320321      String withoutDeviceNamestring = withoutDevice.getNamestring(); // need to URI encode?
Note: See TracChangeset for help on using the changeset viewer.