Skip to content

Commit

Permalink
Added private no args constructor to credential factory and made clas…
Browse files Browse the repository at this point in the history
…s final.

[resolves r2dbc#273]

Signed-off-by: calebcodesgud <[email protected]>
  • Loading branch information
calebcodesgud committed Sep 8, 2022
1 parent de9c40a commit 9ce228d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion r2dbc-spi/src/main/java/io/r2dbc/spi/CredentialFactory.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package io.r2dbc.spi;

/** Factory for creating {@link Credential} objects */
public class CredentialFactory {
public final class CredentialFactory {

private CredentialFactory() { }

/**
* Returns a new {@link UserPasswordCredential}
Expand Down

0 comments on commit 9ce228d

Please sign in to comment.