updated build.xml
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / formatter / OptimizedReplaceEdit.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 International Business Machines Corp. and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v1.0 
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  ******************************************************************************/
11 package net.sourceforge.phpdt.internal.formatter;
12
13 class OptimizedReplaceEdit {
14         
15         int offset;
16         int length;
17         String replacement;
18         
19         OptimizedReplaceEdit(int offset, int length, String replacement) {
20                 this.offset = offset;
21                 this.length = length;
22                 this.replacement = replacement;
23         }
24         
25         public String toString() {
26                 return "(" + this.offset + ", length " + this.length + " :>" + this.replacement + "<"; //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$//$NON-NLS-4$
27         }
28 }