Skip to content

Commit

Permalink
fix javadoc failure to document parameters (#2432)
Browse files Browse the repository at this point in the history
* fix javadoc failure to document parameters

* fix checkstyle
  • Loading branch information
davecramer committed Feb 1, 2022
1 parent 2de239f commit 728c04e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pgjdbc/src/main/java/org/postgresql/util/ObjectFactory.java
Expand Up @@ -23,6 +23,9 @@ public class ObjectFactory {
* single String argument is searched if it fails, or tryString is true a no argument constructor
* is tried.
*
* @param <T> type of expected class
* @param expectedClass expected class of type T, if the classname instantiated doesn't match
* the expected type of this class this method will fail
* @param classname name of the class to instantiate
* @param info parameter to pass as Properties
* @param tryString whether to look for a single String argument constructor
Expand Down
Expand Up @@ -5,18 +5,18 @@

package org.postgresql.test.util;

import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;

import org.postgresql.PGProperty;
import org.postgresql.jdbc.SslMode;
import org.postgresql.test.TestUtil;
import org.postgresql.util.ObjectFactory;
import org.postgresql.util.PSQLState;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.opentest4j.MultipleFailuresError;

import java.sql.SQLException;
Expand Down

0 comments on commit 728c04e

Please sign in to comment.