Fix Javadoc and kotlinc warnings (#1490)

This commit is contained in:
odenix
2026-04-03 14:32:34 -07:00
committed by GitHub
parent bc503d4d60
commit 58033598c7
3 changed files with 5 additions and 5 deletions

View File

@@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -1016,7 +1016,7 @@ public abstract class RrbTree<E> implements BaseList<E>, Indented {
* Can we put focus at the given index without reshuffling nodes? * Can we put focus at the given index without reshuffling nodes?
* *
* @param index the index we want to insert at * @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. * @return true if we can do so without otherwise adjusting the tree.
*/ */
boolean hasRelaxedCapacity(int index, int size); boolean hasRelaxedCapacity(int index, int size);

View File

@@ -8,7 +8,7 @@
* *
* <p>Original license: * <p>Original license:
* *
* <p>Copyright 2016-05-28 PlanBase Inc. & Glen Peterson * <p>Copyright 2016-05-28 PlanBase Inc. &amp; Glen Peterson
* *
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. * except in compliance with the License.

View File

@@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@ internal abstract class PageGenerator<out S>(
consoleOut: OutputStream, consoleOut: OutputStream,
) : AbstractGenerator(consoleOut) where S : PageScope { ) : AbstractGenerator(consoleOut) where S : PageScope {
companion object { companion object {
private val json = Json {} private val json = Json
} }
private val markdownInlineParserFactory = MarkdownParserFactory(pageScope) private val markdownInlineParserFactory = MarkdownParserFactory(pageScope)