Skip to content

Commit e893c59

Browse files
brandondahlerBrandon Dahler
andauthored
Codegen: Fix flipped conditional for the simple method warning log (#5558)
Co-authored-by: Brandon Dahler <[email protected]>
1 parent 915976d commit e893c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen/src/main/java/software/amazon/awssdk/codegen/IntermediateModelBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ private void setSimpleMethods(IntermediateModel model) {
291291
config.getExcludedSimpleMethods().stream().noneMatch(m -> m.equals("*")) ||
292292
!config.getBlacklistedSimpleMethods().contains(methodName) ||
293293
config.getBlacklistedSimpleMethods().stream().noneMatch(m -> m.equals("*"));
294-
boolean methodHasNoRequiredMembers = !CollectionUtils.isNullOrEmpty(inputShape.getRequired());
294+
boolean methodHasNoRequiredMembers = CollectionUtils.isNullOrEmpty(inputShape.getRequired());
295295
boolean methodIsNotStreaming = !operation.isStreaming();
296296
boolean methodHasSimpleMethodVerb = methodName.matches(Constant.APPROVED_SIMPLE_METHOD_VERBS);
297297

0 commit comments

Comments
 (0)