Skip to content

Commit

Permalink
Remove unused VarcharType.getParametrizedVarcharSignature method
Browse files Browse the repository at this point in the history
This was just a helper method with last usage removed in
f1dc59f.
  • Loading branch information
findepi committed Sep 19, 2022
1 parent 59bb5fd commit d6a7ba9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions core/trino-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@
</item>
<!-- Backwards incompatible changes since the previous release -->
<!-- Any exclusions below can be deleted after each release (last cleared after 396) -->
<item>
<code>java.method.removed</code>
<old>method io.trino.spi.type.TypeSignature io.trino.spi.type.VarcharType::getParametrizedVarcharSignature(java.lang.String)</old>
</item>
<item>
<code>java.method.visibilityReduced</code>
<old>method void io.trino.spi.block.DictionaryBlock::&lt;init&gt;(int, int, io.trino.spi.block.Block, int[], boolean, boolean, io.trino.spi.block.DictionaryId)</old>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public static VarcharType createVarcharType(int length)
return new VarcharType(length);
}

public static TypeSignature getParametrizedVarcharSignature(String param)
{
return new TypeSignature(StandardTypes.VARCHAR, TypeSignatureParameter.typeVariable(param));
}

private final int length;

private VarcharType(int length)
Expand Down

0 comments on commit d6a7ba9

Please sign in to comment.