Verified Commit f065b625 authored by AtjonTV's avatar AtjonTV

ffdb: Make writeBuffer read-only for Public

parent 9d9f61d4
......@@ -23,7 +23,16 @@ import klib.extensions.objectOutputStream
*/
@Experimental
class FFDB(val storageFile: File, val schemaVersion: Int = Version.V2.version) {
val writeBuffer: MutableList<Any> = ArrayList()
private val writeBuffer: MutableList<Any> = ArrayList()
/**
* Read only access to Buffer
*
* @since 5.0.0
* @author Thomas Obernosterer
*/
val buffer: List<Any>
get() = writeBuffer
companion object {
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment