Changeset 3804


Ignore:
Timestamp:
09/16/03 00:44:49 (19 years ago)
Author:
piso
Message:

Provide a protected constructor for JLisp.java.

File:
1 edited

Legend:

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

    r2806 r3804  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: LispShell.java,v 1.39 2003-07-06 01:27:55 piso Exp $
     5 * $Id: LispShell.java,v 1.40 2003-09-16 00:44:49 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    2828import javax.swing.SwingUtilities;
    2929
    30 public final class LispShell extends Shell
     30public class LispShell extends Shell
    3131{
    3232    private static final String DEFAULT_PROMPT_PATTERN =
     
    5050    private String resetCommand = null;
    5151    private String exitCommand = "(exit)";
     52
     53    // For JLisp.java.
     54    protected LispShell()
     55    {
     56        setPromptRE(ARMEDBEAR_PROMPT_PATTERN);
     57        this.title = title;
     58    }
    5259
    5360    private LispShell(String shellCommand, String title)
     
    298305    }
    299306
    300     public String getTitle()
    301     {
    302         return title;
    303     }
    304 
    305307    public String getFileNameForDisplay()
    306308    {
Note: See TracChangeset for help on using the changeset viewer.