OSDN Git Service
(root)
/
stew
/
Stew4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc388ce
)
fixed bug: semicolon was not added when select only one node
author
argius
<argius.net@gmail.com>
Sun, 26 May 2013 11:53:06 +0000
(20:53 +0900)
committer
argius
<argius.net@gmail.com>
Sun, 26 May 2013 11:53:06 +0000
(20:53 +0900)
src/net/argius/stew/ui/window/DatabaseInfoTree.java
patch
|
blob
|
history
diff --git
a/src/net/argius/stew/ui/window/DatabaseInfoTree.java
b/src/net/argius/stew/ui/window/DatabaseInfoTree.java
index
044113f
..
97b9166
100644
(file)
--- a/
src/net/argius/stew/ui/window/DatabaseInfoTree.java
+++ b/
src/net/argius/stew/ui/window/DatabaseInfoTree.java
@@
-215,8
+215,8
@@
final class DatabaseInfoTree extends JTree implements AnyActionListener, TextSea
++c;
}
}
- if (c >=
2
) {
- return String.format("%s;%s", phrase, join("
,", nCopies(c, "
")));
+ if (c >=
1
) {
+ return String.format("%s;%s", phrase, join("
", nCopies(c - 1, ",
")));
}
return phrase;
}