From ae970350354c073e07aaa17c0d3d8a91d201be30 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Mon, 25 Sep 2023 21:19:56 +0200 Subject: [PATCH] CoapClient - Made `newMid()` private and final - Added documentation for `newMid()` --- source/doap/client/client.d | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/doap/client/client.d b/source/doap/client/client.d index e8fcdef..d1fb5bd 100644 --- a/source/doap/client/client.d +++ b/source/doap/client/client.d @@ -74,7 +74,12 @@ public class CoapClient init(); } - package ushort newMid() + /** + * Generates a new message ID + * + * Returns: the next message id + */ + private final ushort newMid() { ushort newValue;