Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325862 - print statements in queries
Summary: print statements in queries
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: 0.9.0 M2   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 10:39 EDT by Nicolas Bros CLA
Modified: 2010-10-18 08:41 EDT (History)
4 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2010-09-21 10:39:28 EDT
org.eclipse.gmt.modisco.infra.browser.custom.examples.java.jdk.Utils for example uses System.err.println to print errors.

MoDisco queries should not use print statements for errors, since they can't be seen unless in debug, and they don't provide a stack trace.

This should be replaced by use of the MoDiscoLogger.
Comment 1 Nicolas Bros CLA 2010-09-28 05:18:03 EDT
Fixed in revision 3245. I replaced printlns by invocations of the MoDiscoLogger where applicable.
Comment 2 Hugo Bruneliere CLA 2010-10-05 05:14:26 EDT
Bug fixed.