From d70561e2af3b3b8cb05869900da974d9b91001f0 Mon Sep 17 00:00:00 2001 From: Chase Coalwell Date: Thu, 14 May 2020 14:58:52 -0700 Subject: [PATCH] Fix putProperty doc example --- .../software/amazon/smithy/model/loader/ModelAssembler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelAssembler.java b/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelAssembler.java index 470e5d25865..452e3866c07 100644 --- a/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelAssembler.java +++ b/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelAssembler.java @@ -432,7 +432,7 @@ private ModelAssembler addDiscoveredModels(List urls) { * *
{@code
      * ModelAssembler assembler = Model.assembler();
-     * assembler.putLoaderVisitorSetting(ModelAssembler.ALLOW_UNKNOWN_TRAITS, true);
+     * assembler.putProperty(ModelAssembler.ALLOW_UNKNOWN_TRAITS, true);
      * }
* * @param setting Name of the property to put.