X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2FTraceHandler.java;h=309e8af6d393f31823a4200e719ec051e1570ad3;hp=d7f604667f8976c8afe595a81620b5665d4981aa;hb=f157aed840bdd5b8ef04902d2326d916f71139da;hpb=08a58812f12617289463b00161c98d7c59490bf2 diff --git a/src/be/nikiroo/utils/TraceHandler.java b/src/be/nikiroo/utils/TraceHandler.java index d7f6046..309e8af 100644 --- a/src/be/nikiroo/utils/TraceHandler.java +++ b/src/be/nikiroo/utils/TraceHandler.java @@ -67,7 +67,7 @@ public class TraceHandler { /** * A trace happened, show it. *

- * Will only be effective if {@link TraceHandler#isShowTraces()} is true. + * Will only be effective if {@link TraceHandler#showTraces} is true. * * @param message * the trace message @@ -77,4 +77,28 @@ public class TraceHandler { System.out.println(message); } } + + // old stuff: + + /** + * Use the parameters in the constructor instead. + * + * @param showTraces + * show the traces + */ + @Deprecated + public void setShowTraces(boolean showTraces) { + this.showTraces = showTraces; + } + + /** + * Use the parameters in the constructor instead. + * + * @param showErrorDetails + * show the details on errors + */ + @Deprecated + public void setShowErrorDetails(boolean showErrorDetails) { + this.showErrorDetails = showErrorDetails; + } }