Mercurial > projects > dwt-addons
diff dwtx/jface/text/templates/TemplateTranslator.d @ 147:000f9136b8f7
final
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 22:35:05 +0200 |
parents | 02cd5f1224d3 |
children | f70d9508c95c |
line wrap: on
line diff
--- a/dwtx/jface/text/templates/TemplateTranslator.d Sun Aug 24 22:34:04 2008 +0200 +++ b/dwtx/jface/text/templates/TemplateTranslator.d Sun Aug 24 22:35:05 2008 +0200 @@ -71,25 +71,25 @@ * Regex pattern for qualifiedname * @since 3.4 */ - private static final String QUALIFIED_NAME= "(?:\\w++\\.)*\\w++"; //$NON-NLS-1$ + private static const String QUALIFIED_NAME= "(?:\\w++\\.)*\\w++"; //$NON-NLS-1$ /** * Regex pattern for argumenttext * @since 3.4 */ - private static final String ARGUMENT_TEXT= "'(?:(?:'')|(?:[^']))*'"; //$NON-NLS-1$ + private static const String ARGUMENT_TEXT= "'(?:(?:'')|(?:[^']))*'"; //$NON-NLS-1$ /** * Regex pattern for argument * @since 3.4 */ - private static final String ARGUMENT= "(?:" + QUALIFIED_NAME + ")|(?:" + ARGUMENT_TEXT + ")"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + private static const String ARGUMENT= "(?:" + QUALIFIED_NAME + ")|(?:" + ARGUMENT_TEXT + ")"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ /** * Precompiled regex pattern for qualified names. * @since 3.3 */ - private static final Pattern PARAM_PATTERN= Pattern.compile(ARGUMENT); + private static const Pattern PARAM_PATTERN= Pattern.compile(ARGUMENT); /** * Precompiled regex pattern for valid dollar escapes (dollar literals and variables) and * (invalid) single dollars.