Skip to content

Commit 8cf7f12

Browse files
chore: revert accidential change
1 parent 2d02762 commit 8cf7f12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/AppConfigProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected String getValue(String key) {
6767
// so that we can the initial token. If we already have a session, we can take
6868
// the next request token from there.
6969
EstablishedSession establishedSession = establishedSessions.getOrDefault(key, null);
70-
String sessionToken = establishedSession != null ?
70+
String sessionToken = establishedSession != null?
7171
establishedSession.nextSessionToken :
7272
client.startConfigurationSession(StartConfigurationSessionRequest.builder()
7373
.applicationIdentifier(this.application)
@@ -87,9 +87,9 @@ protected String getValue(String key) {
8787
// Get the value of the key. Note that AppConfig will return null if the value
8888
// has not changed since we last asked for it in this session - in this case
8989
// we return the value we stashed at last request.
90-
String value = response.configuration() != null ?
90+
String value = response.configuration() != null?
9191
response.configuration().asUtf8String() : // if we have a new value, use it
92-
establishedSession != null ?
92+
establishedSession != null?
9393
establishedSession.lastConfigurationValue : // if we don't but we have a previous value, use that
9494
null; // otherwise we've got no value
9595

0 commit comments

Comments
 (0)