Skip to content

Commit

Permalink
Fix typo in method names.
Browse files Browse the repository at this point in the history
  • Loading branch information
msqr committed Feb 3, 2025
1 parent 1c7a345 commit 036a0b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ default boolean hasPropertyNameCriteria() {
* @return {@literal true} if the instantaneous property name is non-null
*/
@JsonIgnore
default boolean hasInstantatneousPropertyNameCriteria() {
default boolean hasInstantaneousPropertyNameCriteria() {
return getInstantaneousPropertyName() != null;
}

Expand Down Expand Up @@ -177,7 +177,7 @@ default boolean hasStatusPropertyNameCriteria() {
*/
@JsonIgnore
default boolean hasAnyPropertyNameCriteria() {
return hasPropertyNameCriteria() || hasInstantatneousPropertyNameCriteria()
return hasPropertyNameCriteria() || hasInstantaneousPropertyNameCriteria()
|| hasAccumulatingPropertyNameCriteria() || hasStatusPropertyNameCriteria();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public static int whereStreamMetadata(StreamMetadataCriteria filter, StringBuild
buf.append(" AND (s.names_i && ? OR s.names_a && ? OR s.names_s && ?)\n");
paramCount += 3;
}
if ( filter.hasInstantatneousPropertyNameCriteria() ) {
if ( filter.hasInstantaneousPropertyNameCriteria() ) {
buf.append(" AND s.names_i @> ?\n");
paramCount += 1;
}
Expand Down Expand Up @@ -1065,7 +1065,7 @@ public static int prepareStreamMetadataFilter(StreamMetadataCriteria filter, Obj
stmt.setArray(++parameterOffset, array);
array.free();
}
if ( filter.hasInstantatneousPropertyNameCriteria() ) {
if ( filter.hasInstantaneousPropertyNameCriteria() ) {
Array array = con.createArrayOf("text", filter.getInstantaneousPropertyNames());
stmt.setArray(++parameterOffset, array);
array.free();
Expand Down

0 comments on commit 036a0b5

Please sign in to comment.