Changeset 12375


Ignore:
Timestamp:
01/13/10 22:01:14 (12 years ago)
Author:
ehuelsmann
Message:

Harmonize Symbol printing with what stream already does;

same for packages.

Location:
trunk/abcl/src/org/armedbear/lisp
Files:
2 edited

Legend:

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

    r12298 r12375  
    830830            sb.append("\")");
    831831            return sb.toString();
    832         } else if (name != null) {
     832        } else
     833            return toString();
     834    }
     835   
     836    @Override
     837    public String toString() {
     838         if (name != null) {
    833839            FastStringBuffer sb = new FastStringBuffer("#<PACKAGE \"");
    834840            sb.append(name);
  • trunk/abcl/src/org/armedbear/lisp/Symbol.java

    r12374 r12375  
    269269  @Override
    270270  public String toString() {
    271       return "(Symbol)" + getQualifiedName();
     271      return getQualifiedName();
    272272  }
    273273
Note: See TracChangeset for help on using the changeset viewer.