Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
aad58640
"eladmin-common/src/vscode:/vscode.git/clone" did not exist on "9015cae9db3e1fae4a8e98e44e91f740d53fffb6"
Commit
aad58640
authored
Jul 17, 2020
by
Sxile
Browse files
翻转""为equals调用方,防止空指针异常
parent
2211a757
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi/src/main/java/com/ruoyi/common/utils/http/HttpUtils.java
View file @
aad58640
...
...
@@ -204,7 +204,7 @@ public class HttpUtils
String
ret
=
""
;
while
((
ret
=
br
.
readLine
())
!=
null
)
{
if
(
ret
!=
null
&&
!
ret
.
trim
()
.
equals
(
""
))
if
(
ret
!=
null
&&
!
""
.
equals
(
ret
.
trim
()))
{
result
.
append
(
new
String
(
ret
.
getBytes
(
"ISO-8859-1"
),
"utf-8"
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment