OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d028bd1
)
Fix a comment.
author
Elliott Hughes
<enh@google.com>
Tue, 12 Jan 2010 23:47:38 +0000
(15:47 -0800)
committer
Elliott Hughes
<enh@google.com>
Tue, 12 Jan 2010 23:47:38 +0000
(15:47 -0800)
libcore/luni/src/main/java/java/util/Formatter.java
patch
|
blob
|
history
diff --git
a/libcore/luni/src/main/java/java/util/Formatter.java
b/libcore/luni/src/main/java/java/util/Formatter.java
index
0a4250d
..
1114786
100644
(file)
--- a/
libcore/luni/src/main/java/java/util/Formatter.java
+++ b/
libcore/luni/src/main/java/java/util/Formatter.java
@@
-1210,7
+1210,8
@@
public final class Formatter implements Closeable, Flushable {
// There are only two format specifiers that matter: "%d" and "%s".
// Nothing else is common in the wild. We fast-path these two to
- // avoid the heavyweight machinery needed to cope with all the
+ // avoid the heavyweight machinery needed to cope with flags, width,
+ // and precision.
if (token.isDefault()) {
switch (token.getConversionType()) {
case 's':