Skip to content

Commit

Permalink
right pad char(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Oct 5, 2007
1 parent 9db84af commit a6987ce
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -133,8 +133,8 @@ private Object[] filterValues(Column[] metaData, String[] values) {
TIMESTAMP_PATTERNS));
} else if (value != null && type == Types.CHAR
&& dbDialect.isCharSpacePadded()) {
objectValue = StringUtils.right(value.toString(), column
.getSizeAsInt());
objectValue = StringUtils.rightPad(value.toString(), column
.getSizeAsInt(), ' ');
}
list.add(objectValue);
}
Expand Down

0 comments on commit a6987ce

Please sign in to comment.