Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325862

Summary: print statements in queries
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: fabien.giquel, gdupe, hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.