Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use .equals() to compare two strings in Java #961

Merged
merged 1 commit into from
Nov 21, 2023

Java代码中,字符串内容的比较需要使用equals方法,'=='比较的是两个对象的地址是否相等。

9c0f082
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix: Use .equals() to compare two strings in Java #961

Java代码中,字符串内容的比较需要使用equals方法,'=='比较的是两个对象的地址是否相等。
9c0f082
Select commit
Loading
Failed to load commit list.

The logs for this run have expired and are no longer available.