mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
9c930dfff3
commit
5dfe553d80
1 changed files with 2 additions and 8 deletions
|
@ -62,19 +62,13 @@ public class WorkingCopy extends TranslationUnit implements IWorkingCopy {
|
|||
|
||||
public WorkingCopy(ICElement parent, IFile file, String id, IBufferFactory bufferFactory, IProblemRequestor requestor) {
|
||||
super(parent, file, id);
|
||||
this.bufferFactory =
|
||||
bufferFactory == null ?
|
||||
getBufferManager() :
|
||||
bufferFactory;
|
||||
this.bufferFactory = bufferFactory == null ? getBufferManager() : bufferFactory;
|
||||
problemRequestor = requestor;
|
||||
}
|
||||
|
||||
public WorkingCopy(ICElement parent, URI uri, String id, IBufferFactory bufferFactory) {
|
||||
super(parent, uri, id);
|
||||
this.bufferFactory =
|
||||
bufferFactory == null ?
|
||||
getBufferManager() :
|
||||
bufferFactory;
|
||||
this.bufferFactory = bufferFactory == null ? getBufferManager() : bufferFactory;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue