We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae28edf commit da7c755Copy full SHA for da7c755
src/main/java/org/apache/commons/lang3/concurrent/locks/LockingVisitors.java
@@ -64,9 +64,11 @@
64
* public class SimpleLogger {
65
*
66
* private final StampedLockVisitor<PrintStream> lock;
67
+ * private final PrintStream ps;
68
69
* public SimpleLogger(OutputStream out) {
- * lock = LockingVisitors.stampedLockVisitor(new PrintStream(out));
70
+ * ps = new PrintStream(out);
71
+ * lock = LockingVisitors.stampedLockVisitor(ps);
72
* }
73
74
* public void log(String message) {
0 commit comments