Skip to content

Commit 92ad738

Browse files
committed
fix: getServletContextName() must not throw UnsupportedOperationException (#448)
1 parent 3b5f1f0 commit 92ad738

File tree

1 file changed

+1
-2
lines changed
  • aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet

1 file changed

+1
-2
lines changed

aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsServletContext.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,7 @@ public void removeAttribute(String s) {
310310

311311
@Override
312312
public String getServletContextName() {
313-
// TODO: This can also come from a reader interface
314-
throw new UnsupportedOperationException();
313+
return null;
315314
}
316315

317316

0 commit comments

Comments
 (0)