OPENJPA-505. Resolving some formatting issues with the r616658 commit.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kevin W. Sutter 2008-01-30 20:01:09 +00:00
parent badc4b924f
commit 70f3a94b36
1 changed files with 7 additions and 8 deletions

View File

@ -1659,14 +1659,13 @@ public class DBDictionary
* size clause will be inserted appropriately.
*/
protected String insertSize(String typeName, String size) {
if(StringUtils.isEmpty(size)) {
int idx = typeName.indexOf("{0}");
if (idx != -1) {
return typeName.substring(0,idx);
}
return typeName;
}
if (StringUtils.isEmpty(size)) {
int idx = typeName.indexOf("{0}");
if (idx != -1) {
return typeName.substring(0, idx);
}
return typeName;
}
int idx = typeName.indexOf("{0}");
if (idx != -1) {