mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
format code
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@527 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -446,7 +446,7 @@ public class Lexer {
|
||||
|
||||
private final void scanAlias() {
|
||||
np = bp;
|
||||
|
||||
|
||||
for (;;) {
|
||||
if (bp >= buflen) {
|
||||
lexError(tokenPos, "unclosed.str.lit");
|
||||
@@ -467,7 +467,7 @@ public class Lexer {
|
||||
sbuf[sp++] = ch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stringVal = new String(buf, np + 1, sp);
|
||||
}
|
||||
|
||||
@@ -483,14 +483,14 @@ public class Lexer {
|
||||
np = bp;
|
||||
sp = 1;
|
||||
char ch;
|
||||
|
||||
|
||||
if (buf[bp + 1] == '@') {
|
||||
ch = buf[++bp];
|
||||
hash = 31 * hash + ch;
|
||||
|
||||
sp++;
|
||||
}
|
||||
|
||||
|
||||
for (;;) {
|
||||
ch = buf[++bp];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user