Skip to content

Commit

Permalink
Removed unrequired type reference types
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-james committed Oct 31, 2024
1 parent 677c778 commit a4919ae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public SolanaClientResponse<TokenAmount> getTokenAccountBalance(final String add
@Override
public SolanaClientResponse<AccountInfo> getAccountInfo(final String address) throws SolanaJsonRpcClientException
{
return queryForObject(new TypeReference<RpcWrapperDTO<AccountInfoDTO>>()
return queryForObject(new TypeReference<>()
{
},
"getAccountInfo",
Expand Down Expand Up @@ -150,7 +150,7 @@ public SolanaClientResponse<Long> getSlot() throws SolanaJsonRpcClientException
@Override
public SolanaClientResponse<Blockhash> getLatestBlockhash() throws SolanaJsonRpcClientException
{
return queryForObject(new TypeReference<RpcWrapperDTO<BlockhashDTO>>()
return queryForObject(new TypeReference<>()
{
},
"getLatestBlockhash",
Expand Down

0 comments on commit a4919ae

Please sign in to comment.