File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
smithy-trait-codegen/src/main/java/software/amazon/smithy/traitcodegen Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 2929 */
3030@ SmithyUnstableApi
3131public final class TraitCodegenSettings {
32- private static final String SMITHY_API_NAMESPACE = "smithy" ;
3332
3433 private final String packageName ;
3534 private final String smithyNamespace ;
@@ -55,9 +54,6 @@ public final class TraitCodegenSettings {
5554 ) {
5655 this .packageName = Objects .requireNonNull (packageName );
5756 this .smithyNamespace = Objects .requireNonNull (smithyNamespace );
58- if (smithyNamespace .equals (SMITHY_API_NAMESPACE ) || smithyNamespace .startsWith (SMITHY_API_NAMESPACE + "." )) {
59- throw new IllegalArgumentException ("The `smithy` namespace and its sub-namespaces are reserved." );
60- }
6157 this .headerLines = Objects .requireNonNull (headerLines );
6258 this .excludeTags = Objects .requireNonNull (excludeTags );
6359 }
You can’t perform that action at this time.
0 commit comments