1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-24 11:57:59 +01:00

Make Depth constructor private

This commit is contained in:
Paul Schaub 2023-07-05 17:38:49 +02:00
parent f27f1133f7
commit 1773bbcd32
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -7,7 +7,7 @@ package org.pgpainless.wot.dijkstra.sq
/**
* Depth of a trust signature.
*/
class Depth(val limit: Int?) : Comparable<Depth> {
class Depth private constructor(val limit: Int?) : Comparable<Depth> {
companion object {
/**