Skip to content

Commit

Permalink
Change spelling of Writeable -> Writbale (#15845)
Browse files Browse the repository at this point in the history
  • Loading branch information
azabbasi authored Sep 30, 2020
1 parent d09599e commit f94e6d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public final class ComponentMetadata {
* Model-defined writable properties' request state.
*/
@JsonIgnore
private final Map<String, Object> writeableProperties = new HashMap<>();
private final Map<String, Object> writableProperties = new HashMap<>();

/**
* The public constructor for the ComponentMetadata.
Expand All @@ -33,8 +33,8 @@ public ComponentMetadata() {}
* @return The model-defined writable properties' request state.
*/
@JsonAnyGetter
public Map<String, Object> getWriteableProperties() {
return writeableProperties;
public Map<String, Object> getWritableProperties() {
return writableProperties;
}

/**
Expand All @@ -45,7 +45,7 @@ public Map<String, Object> getWriteableProperties() {
*/
@JsonAnySetter
public ComponentMetadata addWritableProperties(String key, Object value) {
this.writeableProperties.put(key, value);
this.writableProperties.put(key, value);
return this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class DigitalTwinMetadata {
private String modelId;

@JsonIgnore
private final Map<String, Object> writeableProperties = new HashMap<>();
private final Map<String, Object> writableProperties = new HashMap<>();

/**
* Creates an instance of digital twin metadata.
Expand Down Expand Up @@ -56,8 +56,8 @@ public DigitalTwinMetadata setModelId(String modelId) {
* @return The model-defined writable properties' request state.
*/
@JsonAnyGetter
public Map<String, Object> getWriteableProperties() {
return writeableProperties;
public Map<String, Object> getWritableProperties() {
return writableProperties;
}

/**
Expand All @@ -68,7 +68,7 @@ public Map<String, Object> getWriteableProperties() {
*/
@JsonAnySetter
public DigitalTwinMetadata addWritableProperties(String key, Object value) {
this.writeableProperties.put(key, value);
this.writableProperties.put(key, value);
return this;
}
}

0 comments on commit f94e6d8

Please sign in to comment.