From 58033598c79fb0577082942c87170be78e2b44d3 Mon Sep 17 00:00:00 2001 From: odenix Date: Fri, 3 Apr 2026 14:32:34 -0700 Subject: [PATCH] Fix Javadoc and kotlinc warnings (#1490) --- pkl-core/src/main/java/org/pkl/core/util/paguro/RrbTree.java | 4 ++-- .../src/main/java/org/pkl/core/util/paguro/package-info.java | 2 +- pkl-doc/src/main/kotlin/org/pkl/doc/PageGenerator.kt | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkl-core/src/main/java/org/pkl/core/util/paguro/RrbTree.java b/pkl-core/src/main/java/org/pkl/core/util/paguro/RrbTree.java index 1433a81f..660c38a4 100644 --- a/pkl-core/src/main/java/org/pkl/core/util/paguro/RrbTree.java +++ b/pkl-core/src/main/java/org/pkl/core/util/paguro/RrbTree.java @@ -1,5 +1,5 @@ /* - * Copyright © 2016-2025 Apple Inc. and the Pkl project authors. All rights reserved. + * Copyright © 2016-2026 Apple Inc. and the Pkl project authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1016,7 +1016,7 @@ public abstract class RrbTree implements BaseList, Indented { * Can we put focus at the given index without reshuffling nodes? * * @param index the index we want to insert at - * @param size the number of items to insert. Must be size < MAX_NODE_LENGTH + * @param size the number of items to insert. Must be {@code size < MAX_NODE_LENGTH} * @return true if we can do so without otherwise adjusting the tree. */ boolean hasRelaxedCapacity(int index, int size); diff --git a/pkl-core/src/main/java/org/pkl/core/util/paguro/package-info.java b/pkl-core/src/main/java/org/pkl/core/util/paguro/package-info.java index 899d0f6b..772c5240 100644 --- a/pkl-core/src/main/java/org/pkl/core/util/paguro/package-info.java +++ b/pkl-core/src/main/java/org/pkl/core/util/paguro/package-info.java @@ -8,7 +8,7 @@ * *

Original license: * - *

Copyright 2016-05-28 PlanBase Inc. & Glen Peterson + *

Copyright 2016-05-28 PlanBase Inc. & Glen Peterson * *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. diff --git a/pkl-doc/src/main/kotlin/org/pkl/doc/PageGenerator.kt b/pkl-doc/src/main/kotlin/org/pkl/doc/PageGenerator.kt index 4894ff4e..0dd921aa 100644 --- a/pkl-doc/src/main/kotlin/org/pkl/doc/PageGenerator.kt +++ b/pkl-doc/src/main/kotlin/org/pkl/doc/PageGenerator.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2024-2025 Apple Inc. and the Pkl project authors. All rights reserved. + * Copyright © 2024-2026 Apple Inc. and the Pkl project authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,7 +35,7 @@ internal abstract class PageGenerator( consoleOut: OutputStream, ) : AbstractGenerator(consoleOut) where S : PageScope { companion object { - private val json = Json {} + private val json = Json } private val markdownInlineParserFactory = MarkdownParserFactory(pageScope)