diff options
author | Dani Megert | 2012-03-12 14:46:23 +0000 |
---|---|---|
committer | Dani Megert | 2012-03-12 14:46:23 +0000 |
commit | 71d390104fa841ee4ef08b068f78a060ecabb019 (patch) | |
tree | 8c0d62244f87789717df13696ec222903a01ef08 /org.eclipse.text | |
parent | ab31f1a2507f1497a0f78a48fe2faaed037040c4 (diff) | |
download | eclipse.platform.text-71d390104fa841ee4ef08b068f78a060ecabb019.tar.gz eclipse.platform.text-71d390104fa841ee4ef08b068f78a060ecabb019.tar.xz eclipse.platform.text-71d390104fa841ee4ef08b068f78a060ecabb019.zip |
Revert "fTextStore doesn't need to be protected"v20120312-1446
This reverts commit fb8fa0a233409c255039912f4bc4171d4b00eccd.
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 acbe1e266af..7bb46eed83e 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, 2012 IBM Corporation and others. + * Copyright (c) 2005, 2010 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 */ - private ITextStore fTextStore; + protected ITextStore fTextStore= new StringTextStore(); /** A modifiable <code>ITextStore</code> instance */ private final ITextStore fModifiableTextStore; |