Skip to content

Commit

Permalink
Remove redundant split
Browse files Browse the repository at this point in the history
  • Loading branch information
dilanSachi committed Dec 5, 2023
1 parent db27f57 commit d3833f3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ public void notifyFailure(BError bError) {
if (splitValues.length != 2) {
return null;
}
String jwtValue = authHeader.split(WHITESPACE)[1];
runtime.invokeMethodAsyncSequentially(
ValueCreator.createObjectValue(ModuleUtils.getHttpPackage(), JWT_DECODER_CLASS_NAME),
JWT_DECODE_METHOD_NAME,
Expand All @@ -503,7 +502,7 @@ public void notifyFailure(BError bError) {
decodeCallback,
null,
PredefinedTypes.TYPE_ANY,
StringUtils.fromString(jwtValue),
StringUtils.fromString(splitValues[1]),
true);
try {
countDownLatch.await();
Expand Down

0 comments on commit d3833f3

Please sign in to comment.