Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2012-03-12 14:46:23 +0000
committerDani Megert2012-03-12 14:46:23 +0000
commit71d390104fa841ee4ef08b068f78a060ecabb019 (patch)
tree8c0d62244f87789717df13696ec222903a01ef08 /org.eclipse.text/src/org/eclipse/jface/text
parentab31f1a2507f1497a0f78a48fe2faaed037040c4 (diff)
downloadeclipse.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
Diffstat (limited to 'org.eclipse.text/src/org/eclipse/jface/text')
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java4
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;

Back to the top