Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf679b5 + 01f3571 commit 546df67Copy full SHA for 546df67
java/fucking_coffee.java
@@ -20,7 +20,7 @@ public static void main(String[] args)throws Exception{
20
PrintWriter out = new PrintWriter(telnet.getOutputStream(), true);
21
BufferedReader in = new BufferedReader(new InputStreamReader(telnet.getInputStream()));
22
Thread.sleep(DELAY_BEFORE_BREW*1000);
23
- if(in.readLine() != PASSWORD_PROMPT){
+ if(!in.readLine().equals(PASSWORD_PROMPT)){
24
return ;
25
}
26
out.println(PASSWORD);
0 commit comments