| import java.util.*; |
| |
| public class ABug { |
| |
| private String drinkBear(String amount) { |
| String firstTime = "asdf"; |
| |
| if (firstTime == null) |
| return "loser"; |
| |
| ArrayList<String> bottles = new ArrayList<>(); |
| bottles.add("asdf"); |
| |
| <selection>List<String> errors = new ArrayList<>(); |
| |
| int money = 0; |
| int nCount = 0; |
| int rCount = 0; |
| int wCount = 0; |
| char[] tripel = new char[bottles.size()]; |
| boolean no33pr = false; |
| int first = 0; |
| int last = 0; |
| if (true) return null;</selection> |
| |
| boolean unhappy = no33pr && first || no33pr && last; |
| |
| String result = amount + Arrays.toString(tripel) + rCount + wCount + nCount + money + errors; |
| |
| if (!unhappy) |
| result += "happy"; |
| |
| |
| return result; |
| } |
| |
| } |