1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-20 22:17:09 +08:00

Merge pull request #797 from codeyu/patch-1

fix typo: falgs->flags
This commit is contained in:
SnailClimb 2020-05-30 17:28:57 +08:00 committed by GitHub
commit 5f58071a22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ Java 中的注释有三种:
>
> ```java
> // check to see if the employee is eligible for full benefits
> if ((employee.falgs & HOURLY_FLAG) && (employee.age > 65))
> if ((employee.flags & HOURLY_FLAG) && (employee.age > 65))
> ```
>
> 应替换为