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:
parent
b91a9b0446
commit
7c16d44639
1 changed files with 0 additions and 23 deletions
|
@ -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()
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue