Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3378357f authored by Ludovic Le Frioux's avatar Ludovic Le Frioux
Browse files

Fix coding style

parent af58366d
No related branches found
No related tags found
No related merge requests found
......@@ -33,8 +33,8 @@ import crdtlib.crdt.DeltaCRDT
open class CObject<T>(private val id: CObjectUId<T>, private val readOnly: Boolean) {
/**
* The encapsulated CRDT.
*/
* The encapsulated CRDT.
*/
protected var crdt: DeltaCRDT<T>? = null
protected fun beforeUpdate(): OperationUId {
......
......@@ -46,6 +46,5 @@ class Collection(private val id: CollectionUId, private val readOnly: Boolean) {
/**
* Closes this collection.
*/
fun close() {
}
fun close() { }
}
......@@ -33,19 +33,19 @@ import crdtlib.utils.VersionVector
class Session {
/**
* The client unique identifier
*/
* The client unique identifier
*/
private val clientUId: ClientUId
/**
* The environment linked to the session
*/
* The environment linked to the session
*/
public val environment: SimpleEnvironment
/**
* Private constructor.
* @param clientUId the client unique identifier.
*/
* Private constructor.
* @param clientUId the client unique identifier.
*/
private constructor(clientUId: ClientUId) {
this.clientUId = clientUId
this.environment = SimpleEnvironment(this.clientUId)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment