1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

remove on unused method

This commit is contained in:
Alain Magloire 2003-09-24 15:07:30 +00:00
parent b91a9b0446
commit 7c16d44639

View file

@ -5,10 +5,6 @@ package org.eclipse.cdt.internal.ui;
* All Rights Reserved.
*/
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.cdt.core.model.CModelException;
import org.eclipse.cdt.core.model.IBuffer;
import org.eclipse.cdt.core.model.IBufferChangedListener;
@ -211,25 +207,6 @@ public class CFileElementWorkingCopy extends WorkingCopy {
super.setLocation(storage.getFullPath());
}
/* (non-Javadoc)
* @see org.eclipse.cdt.core.model.ITranslationUnit#parse()
*/
public Map parse() {
IDocument doc = fProvider.getDocument(input);
if (doc != null) {
DocumentInputStream dis = new DocumentInputStream(doc);
try {
return parse(dis);
} finally {
try {
dis.close();
} catch (IOException e) {
}
}
}
return new HashMap();
}
/* (non-Javadoc)
* @see org.eclipse.cdt.core.model.IOpenable#getBuffer()
*/