diff options
author | Karen Butzke | 2012-09-05 17:56:55 +0000 |
---|---|---|
committer | Karen Butzke | 2012-09-05 17:56:55 +0000 |
commit | 2604bd43e2f8521b4eb61916f4847d2100b830f0 (patch) | |
tree | 58b494d16809e3b06760e982cf37cf5c08475840 /common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common | |
parent | 4c3a402fc4287b06f8941f31d6479d86e0c1ad5b (diff) | |
download | webtools.dali-2604bd43e2f8521b4eb61916f4847d2100b830f0.tar.gz webtools.dali-2604bd43e2f8521b4eb61916f4847d2100b830f0.tar.xz webtools.dali-2604bd43e2f8521b4eb61916f4847d2100b830f0.zip |
Revert "Fixed filtering of completion proposals after my recent refactoring - adding quotes as necessary in the proposal computer itself"
This reverts commit 8e884ee1f86ca2c7512ecac40c74a4db156a09b9.
Diffstat (limited to 'common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common')
-rw-r--r-- | common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java index 06d8068f60..093e713da9 100644 --- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java +++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005, 2012 Oracle. All rights reserved. + * Copyright (c) 2005, 2011 Oracle. 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 http://www.eclipse.org/legal/epl-v10.html. @@ -4939,6 +4939,7 @@ public final class StringTools { */ private static void convertToJavaStringLiteralOn_(char[] string, StringBuilder sb, int len) { sb.ensureCapacity(sb.length() + len + 5); + sb.append(QUOTE); for (char c : string) { switch (c) { case '\b': // backspace @@ -4970,6 +4971,7 @@ public final class StringTools { break; } } + sb.append(QUOTE); } public static void convertToJavaStringLiteralOn(String string, Writer writer) { |