mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
Got rid of the debug info logs.
This commit is contained in:
parent
2dd11e7f1e
commit
820ca5640d
1 changed files with 0 additions and 6 deletions
|
@ -48,8 +48,6 @@ public class TranslateAction extends ProvisioningAction {
|
|||
|
||||
// The replacement map
|
||||
String mapString = (String)parameters.get(PARM_MAP);
|
||||
Activator.getDefault().getLog().log(new Status(IStatus.INFO, Activator.PLUGIN_ID,
|
||||
"mapString:" + mapString));
|
||||
String[] mapStrings = mapString.split("!");
|
||||
Map<String, String> map = new HashMap<String, String>();
|
||||
for (int i = 0; i < mapStrings.length; i += 2) {
|
||||
|
@ -57,8 +55,6 @@ public class TranslateAction extends ProvisioningAction {
|
|||
// Odd number of strings
|
||||
break;
|
||||
map.put(mapStrings[i], mapStrings[i + 1]);
|
||||
Activator.getDefault().getLog().log(new Status(IStatus.INFO, Activator.PLUGIN_ID,
|
||||
"map:" + mapStrings[i] + ":" + mapStrings[i + 1]));
|
||||
}
|
||||
|
||||
|
||||
|
@ -71,8 +67,6 @@ public class TranslateAction extends ProvisioningAction {
|
|||
for (String line = reader.readLine(); line != null; line = reader.readLine()) {
|
||||
Matcher matcher = pattern.matcher(line);
|
||||
while (matcher.find()) {
|
||||
Activator.getDefault().getLog().log(new Status(IStatus.INFO, Activator.PLUGIN_ID,
|
||||
"match:" + matcher.group() + ":" + matcher.group(1)));
|
||||
String value = map.get(matcher.group(1));
|
||||
if (value != null) {
|
||||
line = line.replace(matcher.group(), value);
|
||||
|
|
Loading…
Add table
Reference in a new issue