Skip to content

Commit

Permalink
cp
Browse files Browse the repository at this point in the history
  • Loading branch information
Gray Watson committed Jul 28, 2016
1 parent a843e8d commit 439c482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/j256/ormlite/db/BaseDatabaseType.java
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public void appendEscapedWord(StringBuilder sb, String word) {
public void appendEscapedEntityName(StringBuilder sb, String name) {
sb.append('`');
int dotPos = name.indexOf('.');
if (0 < dotPos) {
if (dotPos > 0) {
sb.append(name.substring(0, dotPos));
sb.append("`.`");
sb.append(name.substring(1 + dotPos));
Expand Down

0 comments on commit 439c482

Please sign in to comment.