Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: privatize deprecated constructor #473

Merged
merged 7 commits into from Dec 21, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions clirr-ignored-differences.xml
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see https://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7009</differenceType>
<className>com/google/auth/oauth2/ServiceAccountJwtAccessCredentials</className>

com.google.auth.oauth2.ServiceAccountJwtAccessCredentials <<<<

chingor13 marked this conversation as resolved.
Show resolved Hide resolved
<method>ServiceAccountJwtAccessCredentials(java.lang.String, java.lang.String, java.security.PrivateKey, java.lang.String)</method>
</difference>
</differences>
Expand Up @@ -99,11 +99,8 @@ public class ServiceAccountJwtAccessCredentials extends Credentials
* @param clientEmail Client email address of the service account from the console.
* @param privateKey RSA private key object for the service account.
* @param privateKeyId Private key identifier for the service account. May be null.
* @deprecated Use {@link #newBuilder()} instead. This constructor will either be deleted or made
* private in a later version.
*/
@Deprecated
public ServiceAccountJwtAccessCredentials(
private ServiceAccountJwtAccessCredentials(
String clientId, String clientEmail, PrivateKey privateKey, String privateKeyId) {
this(clientId, clientEmail, privateKey, privateKeyId, null, null);
}
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -305,6 +305,7 @@
<configuration>
<ignoredDifferencesFile>clirr-ignored-differences.xml</ignoredDifferencesFile>
<logResults>true</logResults>
<failOnError>false</failOnError>
chingor13 marked this conversation as resolved.
Show resolved Hide resolved
</configuration>
<executions>
<execution>
Expand Down