Get rid of System.out and System.err in v0.1.3

Bug #1209910 reported by Richard Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JQuantLib
New
Medium
Unassigned

Bug Description

Classes should never call System.out and/or System.err directly

Please remove code which makes use of System.out and/or System.err directly, moving it to the testsuite folder or project jquantlib-samples, according to what looks more convenient.

The only class allowed to call System.err directly (but not System.out directly!) is QL.java, which is responsible for delegating messages to a org.slf4j.Logger class and, if not present, emits logging messages directly to System.err.

<b>Classes calling System.out</b>
<pre>
GeneralStatistics
GenericSortingAlgorithms
PairSortingAlgorithms
SortingAlgorithms
</pre>

Tags: code-review
Revision history for this message
Richard Gomes (frgomes) wrote :

These classes need to be finished.

There are main() methods in the referenced classes.
I've added some comments and made sure they cannot be instantiated by accident.

Kicked to v0.1.4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.