From 71d390104fa841ee4ef08b068f78a060ecabb019 Mon Sep 17 00:00:00 2001 From: Dani Megert Date: Mon, 12 Mar 2012 15:46:23 +0100 Subject: Revert "fTextStore doesn't need to be protected" This reverts commit fb8fa0a233409c255039912f4bc4171d4b00eccd. --- org.eclipse.text/src/org/eclipse/jface/text/CopyOnWriteTextStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'org.eclipse.text') 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 ITextStore instance */ private final ITextStore fModifiableTextStore; -- cgit v1.2.3