Skip to content

Commit

Permalink
Inline ValueLob.getDataHandler()
Browse files Browse the repository at this point in the history
  • Loading branch information
katzyn committed Jun 5, 2021
1 parent dbc526d commit 40e3809
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion h2/src/main/org/h2/value/Value.java
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ private ValueBlob convertToBlob(TypeInfo targetType, int conversionMode, Object
v = (ValueBlob) this;
break;
case CLOB:
DataHandler handler = ((ValueLob) this).getDataHandler();
DataHandler handler = ((ValueLob) this).lobData.getDataHandler();
if (handler != null) {
v = handler.getLobStorage().createBlob(getInputStream(), -1);
break;
Expand Down
9 changes: 0 additions & 9 deletions h2/src/main/org/h2/value/ValueLob.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,6 @@ public int getMemory() {
return lobData.getMemory();
}

/**
* Returns the data handler.
*
* @return the data handler, or {@code null}
*/
public DataHandler getDataHandler() {
return lobData.getDataHandler();
}

public LobData getLobData() {
return lobData;
}
Expand Down

0 comments on commit 40e3809

Please sign in to comment.