mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
10 lines
238 B
Java
10 lines
238 B
Java
class User {
|
|
private static final String DEFAULT_PW = "123456"; // hard-coded password
|
|
private String pw;
|
|
public User() {
|
|
setPassword(DEFAULT_PW); // sensitive call
|
|
}
|
|
public void setPassword(String password) {
|
|
pw = password;
|
|
}
|
|
} |