diff options
author | Deepak Azad | 2012-03-09 20:20:53 +0000 |
---|---|---|
committer | Markus Keller | 2012-03-09 20:20:53 +0000 |
commit | fb8fa0a233409c255039912f4bc4171d4b00eccd (patch) | |
tree | 8bcede8e2b3ae8a88c3416c56c0eee530c9c9a4f /org.eclipse.text | |
parent | 810532407badf64e9ddaa89e81c3a6d04ac891bf (diff) | |
download | eclipse.platform.text-fb8fa0a233409c255039912f4bc4171d4b00eccd.tar.gz eclipse.platform.text-fb8fa0a233409c255039912f4bc4171d4b00eccd.tar.xz eclipse.platform.text-fb8fa0a233409c255039912f4bc4171d4b00eccd.zip |
fTextStore doesn't need to be protectedv20120309-2020
Diffstat (limited to 'org.eclipse.text')
-rw-r--r-- | org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java b/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java index 7bb46eed83e..acbe1e266af 100644 --- a/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java +++ b/org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005, 2010 IBM Corporation and others. + * Copyright (c) 2005, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -107,7 +107,7 @@ public class CopyOnWriteTextStore implements ITextStore { } /** The underlying "real" text store */ - protected ITextStore fTextStore= new StringTextStore(); + private ITextStore fTextStore; /** A modifiable <code>ITextStore</code> instance */ private final ITextStore fModifiableTextStore; |