Skip to content

Commit ce8167f

Browse files
authored
Merge pull request #175 from eclipse-thingweb/typos
Fix typos
2 parents a5e7775 + 41ee6d7 commit ce8167f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/src/core/definitions/context.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const _tdVersion11ContextUrl = "https://www.w3.org/2022/wot/td/v1.1";
1616
final class Context {
1717
/// Creates a new context from a list of [contextEntries].
1818
Context(this.contextEntries)
19-
: prefixMapping = _createPrefixMappping(contextEntries);
19+
: prefixMapping = _createPrefixMapping(contextEntries);
2020

2121
/// Determines the default prefix URL via the procedure described in
2222
/// [section 5.3.1.1] of the Thing Description 1.1 specification.
@@ -57,7 +57,7 @@ final class Context {
5757
return firstContextValue;
5858
}
5959

60-
static PrefixMapping _createPrefixMappping(
60+
static PrefixMapping _createPrefixMapping(
6161
List<ContextEntry> contextEntries,
6262
) {
6363
final defaultPrefixValue = _determineDefaultPrefix(contextEntries);

lib/src/core/definitions/thing_description.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class ThingDescription {
148148
throw UnimplementedError();
149149
}
150150

151-
/// Converts this [ThingDescription] to a [Map] resembling a JSON objct.
151+
/// Converts this [ThingDescription] to a [Map] resembling a JSON object.
152152
// TODO: Revisit this for dynamic serialization
153153
Map<String, dynamic> toJson() => _rawThingDescription;
154154

lib/src/core/scripting_api/interaction_output.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ abstract interface class InteractionOutput {
2828
/// [InteractionOutput].
2929
DataSchema? get schema;
3030

31-
/// Asyncronously creates a [ByteBuffer] representation of the value of
31+
/// Asynchronously creates a [ByteBuffer] representation of the value of
3232
/// of the [InteractionOutput].
3333
///
3434
/// Follows the algorithm defined for the `arrayBuffer()` function in the

lib/src/core/scripting_api/wot.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ abstract interface class WoT {
5757
/// The [exposedThingInit] is a Thing Description which does not have to
5858
/// include all fields that are usually required for a TD.
5959
/// Missing information is added during the production of the [ExposedThing],
60-
/// based on the underlying impementation.
60+
/// based on the underlying implementation.
6161
Future<ExposedThing> produce(ExposedThingInit exposedThingInit);
6262

6363
/// Requests a [ThingDescription] from the given [url].

0 commit comments

Comments
 (0)