< prev index next >

jdk/src/jdk.jline/share/classes/jdk/internal/jline/console/history/FileHistory.java

Print this page

        

*** 4,14 **** * This software is distributable under the BSD license. See the terms of the * BSD license in the documentation provided with this software. * * http://www.opensource.org/licenses/bsd-license.php */ ! package jline.console.history; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; --- 4,14 ---- * This software is distributable under the BSD license. See the terms of the * BSD license in the documentation provided with this software. * * http://www.opensource.org/licenses/bsd-license.php */ ! package jdk.internal.jline.console.history; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream;
*** 18,30 **** import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintStream; import java.io.Reader; ! import jline.internal.Log; ! ! import static jline.internal.Preconditions.checkNotNull; /** * {@link History} using a file for persistent backing. * <p/> * Implementers should install shutdown hook to call {@link FileHistory#flush} --- 18,29 ---- import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintStream; import java.io.Reader; ! import jdk.internal.jline.internal.Log; ! import static jdk.internal.jline.internal.Preconditions.checkNotNull; /** * {@link History} using a file for persistent backing. * <p/> * Implementers should install shutdown hook to call {@link FileHistory#flush}
< prev index next >