File tree 3 files changed +3
-3
lines changed
smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ need to explicitly configure the ``cloudTrailEventSource`` setting.
240
240
.. _service-doc-id :
241
241
242
242
``docId ``
243
- ===========================
243
+ =========
244
244
245
245
The ``docId `` property is a ``string `` value that is used to implement linking
246
246
between service and SDK documentation for AWS services.
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ need to explicitly configure the ``cloudTrailEventSource`` setting.
200
200
.. _service-doc-id :
201
201
202
202
``docId ``
203
- ===========================
203
+ =========
204
204
205
205
The ``docId `` property is a ``string `` value that is used to implement linking
206
206
between service and SDK documentation for AWS services.
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ public String getCloudTrailEventSource() {
158
158
* @return Returns the documentation identifier value for the service name.
159
159
*/
160
160
public String getDocId (Model model ) {
161
- return getDocId ().orElse ( buildDefaultDocId (model ));
161
+ return getDocId ().orElseGet (() -> buildDefaultDocId (model ));
162
162
}
163
163
164
164
protected Optional <String > getDocId () {
You can’t perform that action at this time.
0 commit comments