mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 23:25:26 +02:00
bug 149117 - remove prints to stdout from the PropertyFileProvider
This commit is contained in:
parent
d80367e6d8
commit
1f855d1fb2
1 changed files with 4 additions and 4 deletions
|
@ -252,7 +252,7 @@ public class PropertyFileProvider implements IRSEPersistenceProvider {
|
|||
* @param monitor The progress monitor.
|
||||
*/
|
||||
private void writeProperties(Properties properties, String header, IFile file) {
|
||||
System.out.println("writing "+file.getFullPath()+"...");
|
||||
// System.out.println("writing "+file.getFullPath()+"...");
|
||||
ByteArrayOutputStream outStream = new ByteArrayOutputStream(500);
|
||||
PrintWriter out = new PrintWriter(outStream);
|
||||
out.println("# " + header);
|
||||
|
@ -263,11 +263,11 @@ public class PropertyFileProvider implements IRSEPersistenceProvider {
|
|||
String key = (String) z.next();
|
||||
String value = (String)map.get(key);
|
||||
String keyvalue = key + "=" + escapeValue(value);
|
||||
System.out.println("writing "+keyvalue);
|
||||
out.println(keyvalue);
|
||||
// System.out.println("writing "+keyvalue);
|
||||
// out.println(keyvalue);
|
||||
}
|
||||
out.close();
|
||||
System.out.println("...wrote "+file.getFullPath());
|
||||
// System.out.println("...wrote "+file.getFullPath());
|
||||
ByteArrayInputStream inStream = new ByteArrayInputStream(outStream.toByteArray());
|
||||
try {
|
||||
if (!file.exists()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue