Skip to content

Commit

Permalink
Hide output property from public API
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Jun 9, 2024
1 parent 8ee0573 commit eb38023
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion api/json-schema-validator.api
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ public abstract class io/github/optimumcode/json/schema/OutputCollector {
public static final fun basic ()Lio/github/optimumcode/json/schema/OutputCollector;
public static final fun detailed ()Lio/github/optimumcode/json/schema/OutputCollector;
public static final fun flag ()Lio/github/optimumcode/json/schema/OutputCollector;
public abstract fun getOutput ()Ljava/lang/Object;
protected final fun transformError (Lio/github/optimumcode/json/schema/ValidationError;)Lio/github/optimumcode/json/schema/ValidationError;
public static final fun verbose ()Lio/github/optimumcode/json/schema/OutputCollector;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public sealed class OutputCollector<T> private constructor(
public fun verbose(): OutputCollector<OutputUnit> = Verbose()
}

public abstract val output: T
internal abstract val output: T
private val transformerFunc: OutputErrorTransformer<T> =
parent?.let { p ->
when {
Expand Down

0 comments on commit eb38023

Please sign in to comment.