From bc078b754de8ec57438649c519cea6dcf0f35437 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Thu, 6 Jul 2023 15:13:51 +0200 Subject: [PATCH] Path: Allow public get access for root and residualDepth --- .../src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Path.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wot-dijkstra/src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Path.kt b/wot-dijkstra/src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Path.kt index d7cdc16f..a87b188e 100644 --- a/wot-dijkstra/src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Path.kt +++ b/wot-dijkstra/src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Path.kt @@ -15,9 +15,9 @@ import kotlin.math.min * @param residualDepth residual depth that is decreased each time another edge is appended */ class Path( - private val root: CertSynopsis, + val root: CertSynopsis, private val edges: MutableList, - private var residualDepth: Depth + var residualDepth: Depth ) { /**