Changeset 3095


Ignore:
Timestamp:
07/26/03 17:53:26 (18 years ago)
Author:
piso
Message:

Removed obsolete method find(Buffer, Position).

File:
1 edited

Legend:

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

    r3092 r3095  
    33 *
    44 * Copyright (C) 1998-2002 Peter Graves
    5  * $Id: Search.java,v 1.2 2003-07-26 17:06:21 piso Exp $
     5 * $Id: Search.java,v 1.3 2003-07-26 17:53:26 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    166166    protected Position findInBuffer(Buffer buffer)
    167167    {
    168         return find(buffer, new Position(buffer.getFirstLine(), 0));
    169     }
    170 
    171     public final Position find(Buffer buffer, Position start)
    172     {
    173         return regularExpression ? findRegExp(buffer, start) : findString(buffer, start);
     168        return find(buffer.getMode(), new Position(buffer.getFirstLine(), 0));
    174169    }
    175170
Note: See TracChangeset for help on using the changeset viewer.