Get rid of System.out and System.err in v0.1.3
Bug #1209910 reported by
Richard Gomes
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
GenericSortingA
PairSortingAlgo
SortingAlgorithms
</pre>
To post a comment you must log in.
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