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

Warnings #1339

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions amazon-kinesis-client-multilang/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
<configuration>
<release>8</release>
<encoding>UTF-8</encoding>
<failOnWarning>true</failOnWarning>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -966,13 +966,6 @@ public long getShutdownGraceMillis() {
return shutdownGraceMillis;
}

/**
* @return Interval in milliseconds between retrying the scheduler initialization.
*/
public long getSchedulerInitializationBackoffTimeMillis() {
return schedulerInitializationBackoffTimeMillis;
}

/*
* // CHECKSTYLE:IGNORE HiddenFieldCheck FOR NEXT 190 LINES
* /**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private static List<AWSCredentialsProvider> getValidCredentialsProviders(List<St
provider = constructProvider(providerName, () -> {
Class<?>[] argTypes = new Class<?>[nameAndArgs.length - 1];
Arrays.fill(argTypes, String.class);
return clazz.getConstructor(argTypes).newInstance(varargs);
return clazz.getConstructor(argTypes).newInstance((Object[]) varargs);
});

if (provider == null) {
Expand Down
1 change: 1 addition & 0 deletions amazon-kinesis-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@
<configuration>
<release>8</release>
<encoding>UTF-8</encoding>
<failOnWarning>true</failOnWarning>
</configuration>
</plugin>
</plugins>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

<properties>
<awssdk.version>2.25.11</awssdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<licenses>
Expand Down
Loading