File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph/utils Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -568,13 +568,7 @@ public static Boolean isDependantModuleType(
568
568
final String namespace
569
569
) {
570
570
final String shapeNamespace = shape .getId ().getNamespace ();
571
- final Map <String , String > serviceToShapeNameSpace = new HashMap <>();
572
- serviceToShapeNameSpace .put (namespace , "com.amazonaws.dynamodb" );
573
- System .out .println ("Shape namespace: " + shapeNamespace );
574
- System .out .println ("Service namespace: " + namespace );
575
- // This *should* work; however, in the case of the DynamoDB and KMS Modules
576
- // the shapeNamespace and the namespace are different, when really they are the same.
577
- if (!shapeNamespace .toLowerCase ().startsWith ("smithy.api" ) ) {
571
+ if (!shapeNamespace .toLowerCase ().startsWith ("smithy.api" ) && !namespace .equalsIgnoreCase (shapeNamespace )) {
578
572
return true ;
579
573
} else {
580
574
return false ;
You can’t perform that action at this time.
0 commit comments