Mercurial > projects > dwt-addons
comparison dwtx/jface/text/formatter/FormattingContext.d @ 134:51e6e63f930e
Regex fix for casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:46:20 +0200 |
parents | c4fb132a086c |
children | 02cd5f1224d3 |
comparison
equal
deleted
inserted
replaced
133:7d818bd32d63 | 134:51e6e63f930e |
---|---|
116 String preference= null; | 116 String preference= null; |
117 | 117 |
118 for (int index= 0; index < preferences.length; index++) { | 118 for (int index= 0; index < preferences.length; index++) { |
119 | 119 |
120 preference= preferences[index]; | 120 preference= preferences[index]; |
121 result= (String)map.get(preference); | 121 result= cast(String)map.get(preference); |
122 | 122 |
123 if (result !is null) { | 123 if (result !is null) { |
124 | 124 |
125 try { | 125 try { |
126 if (isBooleanPreference(preference)) { | 126 if (isBooleanPreference(preference)) { |