Skip to content

Commit d387386

Browse files
committed
Fix 9 javadoc errors in o.p.p.internal module
1 parent b2aa816 commit d387386

6 files changed

Lines changed: 16 additions & 18 deletions

File tree

pljava/src/main/java/org/postgresql/pljava/internal/DualState.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018-2020 Tada AB and other contributors, as listed below.
2+
* Copyright (c) 2018-2025 Tada AB and other contributors, as listed below.
33
*
44
* All rights reserved. This program and the accompanying materials
55
* are made available under the terms of the The BSD 3-Clause License
@@ -378,9 +378,9 @@ protected Manager initialValue()
378378
* Increment a thread-local count of pins for a DualState object.
379379
* @return null if there was already at least one pin counted for
380380
* the object (that is, no real pin will need to be taken; this is
381-
* a reentrant pin); otherwise, a Supplier<Queue<Thread>> that can
382-
* supply a preallocated queue prepopulated with the current thread,
383-
* in case inflation is needed.
381+
* a reentrant pin); otherwise, a {@code Supplier<Queue<Thread>>}
382+
* that can supply a preallocated queue prepopulated with
383+
* the current thread, in case inflation is needed.
384384
*/
385385
Supplier<Queue<Thread>> pin(DualState<?> s)
386386
{

pljava/src/main/java/org/postgresql/pljava/internal/EntryPoints.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020-2021 Tada AB and other contributors, as listed below.
2+
* Copyright (c) 2020-2025 Tada AB and other contributors, as listed below.
33
*
44
* All rights reserved. This program and the accompanying materials
55
* are made available under the terms of the The BSD 3-Clause License
@@ -170,8 +170,8 @@ private static Object invoke(Invocable<PrivilegedAction<Object>> target)
170170
* as ordinary function calls are, and the {@code ParameterFrame} save and
171171
* restore mechanism relies on those, so it is better for this entry point
172172
* also to be handled specially.
173-
* @param t Invocable carrying the appropriate AccessControlContext (t's
174-
* action is unused and expected to be null)
173+
* @param target Invocable carrying the appropriate AccessControlContext
174+
* (<var>target</var>'s action is unused and expected to be null)
175175
* @param o the UDT instance
176176
* @param stream the SQLOutput stream on which the type's internal
177177
* representation will be written
@@ -269,8 +269,8 @@ private static SQLData udtReadInvoke(
269269
* NUL-terminated storage form, and without being separately wrapped in
270270
* {@code pushInvocation}/{@code popInvocation}, so it gets its own entry
271271
* point here to avoid use of the static parameter area.
272-
* @param mh a MethodHandle to the class's static parse method, which will
273-
* allocate and return an instance.
272+
* @param target a MethodHandle to the class's static parse method, which
273+
* will allocate and return an instance.
274274
* @param textRep the text representation
275275
* @param typeName the SQL type name to be associated with the instance
276276
* @return the allocated and initialized instance

pljava/src/main/java/org/postgresql/pljava/internal/Function.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,8 +2019,9 @@ else if ( t instanceof TypeBindings )
20192019

20202020
/**
20212021
* A class recording the bindings made in a ParameterizedType to the type
2022-
* parameters in a GenericDeclaration<Class>. Implements {@code Type} so it
2023-
* can be added to the {@code pending} queue in {@code specialization}.
2022+
* parameters in a {@code GenericDeclaration<Class>}. Implements
2023+
* {@code Type} so it can be added to the {@code pending} queue in
2024+
* {@code specialization}.
20242025
*<p>
20252026
* In {@code specialization}, the tree of superclasses/superinterfaces will
20262027
* be searched breadth-first, with all of a node's immediate supers enqueued

pljava/src/main/java/org/postgresql/pljava/internal/ObjectPoolImpl.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2004-2020 Tada AB and other contributors, as listed below.
2+
* Copyright (c) 2004-2025 Tada AB and other contributors, as listed below.
33
*
44
* All rights reserved. This program and the accompanying materials
55
* are made available under the terms of the The BSD 3-Clause License
@@ -62,9 +62,6 @@ private ObjectPoolImpl(Class<T> c)
6262

6363
/**
6464
* Obtain a pool for the given class.
65-
* @param cls
66-
* @return
67-
* @throws SQLException
6865
*/
6966
@SuppressWarnings("unchecked")
7067
public static <T extends PooledObject> ObjectPoolImpl<T>

pljava/src/main/java/org/postgresql/pljava/jdbc/SQLXMLImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4215,7 +4215,8 @@ protected Exception exceptions()
42154215
}
42164216

42174217
/**
4218-
* Common factor of subclass {@link #lax() lax()} instance methods.
4218+
* Common factor of subclass {@link #lax(boolean) lax(boolean)}
4219+
* instance methods.
42194220
*<p>
42204221
* The work is done here, but the instance methods are implemented
42214222
* per-subclass to avoid unchecked casting of 'this'.

pljava/src/main/java/org/postgresql/pljava/management/Commands.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,6 @@ public static void aliasJavaLanguage(
12371237
* jar.
12381238
*
12391239
* @param jarName The name to check.
1240-
* @throws IOException
12411240
*/
12421241
private static void assertJarName(String jarName) throws SQLException
12431242
{
@@ -1406,7 +1405,7 @@ private static int getJarId(String jarName, AclId[] ownerRet)
14061405
/**
14071406
* Returns the Oid for the given Schema.
14081407
*
1409-
* @param schemaName The name of the schema.
1408+
* @param schema The name of the schema.
14101409
* @return The Oid of the given schema or <code>null</code> if no such
14111410
* schema is found.
14121411
* @throws SQLException

0 commit comments

Comments
 (0)