Skip to content

Commit

Permalink
The ANY type name is in the same family as any other type name
Browse files Browse the repository at this point in the history
  • Loading branch information
nadment committed Jan 5, 2025
1 parent d7f03cb commit 253c1c3
Show file tree
Hide file tree
Showing 4 changed files with 364 additions and 390 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/apache/hop/expression/IExpression.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public interface IExpression {
*/
public Kind getKind();

public default boolean is(Kind kind) {
public default boolean is(final Kind kind) {
return getKind() == kind;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/apache/hop/expression/type/Type.java
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public <T> T convert(final Object value, Class<T> clazz) throws ConversionExcept
ErrorCode.UNSUPPORTED_COERCION,
value,
TypeName.fromValue(value),
TypeName.fromJavaClass(clazz));
TypeName.fromClass(clazz));
}

/**
Expand Down
Loading

0 comments on commit 253c1c3

Please sign in to comment.