Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiyvamz committed Nov 28, 2024
1 parent d4c80cd commit 517c74f
Showing 1 changed file with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package software.amazon.awssdk.services.rds;

import java.time.Clock;
Expand All @@ -14,7 +30,9 @@ public static DefaultRdsUtilities getDefaultRdsUtilities(
final @NonNull AwsCredentialsProvider credentialsProvider,
final @NonNull Region region,
Instant fixedInstant) {
final DefaultBuilder builder = (DefaultBuilder) new DefaultBuilder().credentialsProvider(credentialsProvider).region(region);
final DefaultBuilder builder = (DefaultBuilder) new DefaultBuilder()
.credentialsProvider(credentialsProvider)
.region(region);
return new DefaultRdsUtilities(builder, Clock.fixed(fixedInstant, ZoneId.systemDefault()));
}
}

0 comments on commit 517c74f

Please sign in to comment.