public class DrinkTranslator {
    private final static String STICK = "0";
    private final static String MESSAGE_CODE = "M";

    public String makeDrink(Drink drink, int nbOfSugars, double amount) {
        if(hasEnoughMoneyGiven(drink, amount)) {
            return toDrinkMaker(drink, nbOfSugars);
        }

        return notEnoughtMoneyGivenMessage(drink, amount);
    }

    private boolean hasEnoughMoneyGiven(Drink drink, double amount) {
        return amount >= drink.getPrice();
    }

    private String notEnoughtMoneyGivenMessage(Drink drink, double amount) {
        return "Need " + String.valueOf(drink.getPrice() - amount);
    }

    public String toCustomer(String commandFromDrinkMaker) {
        String[] commands = commandFromDrinkMaker.split(":");

        if(isMessageCommand(commands)) {
            return commands[1];
        }

        return "";
    }

    private boolean isMessageCommand(String[] commands) {
        return commands.length == 2 && MESSAGE_CODE.equals(commands[0]);
    }

    public String toDrinkMaker(Drink drink, int nbOfSugars) {
        return drink.getCode()
                + ":" + sugarCode(nbOfSugars)
                + ":" + stickCode(nbOfSugars);
    }

    private String sugarCode(int nbOfSugars) {
        return hasSugars(nbOfSugars)? String.valueOf(nbOfSugars) : "";
    }

    private String stickCode(int nbOfSugars) {
        return hasSugars(nbOfSugars)? STICK : "";
    }

    private boolean hasSugars(int nbOfSugars) {
        return nbOfSugars > 0;
    }
}

@@ -61,16 +61,21 @@
 ng STICK
+_CODE
  = %220%22;%0A
@@ -687,23 +687,28 @@
 (String 
-command
+instructions
 FromDrin
@@ -738,26 +738,35 @@
 g%5B%5D 
-commands = command
+instructions = instructions
 From
@@ -813,23 +813,32 @@
 sage
-Command(command
+Instructions(instruction
 s)) 
@@ -862,19 +862,39 @@
 urn 
-command
+displayMessage(instruction
 s%5B1%5D
+)
 ;%0A  
@@ -944,49 +944,149 @@
 ate 
-boolean isMessageCommand(String%5B%5D command
+String displayMessage(String instruction) %7B%0A        return instruction;%0A    %7D%0A%0A    private boolean isMessageInstructions(String%5B%5D instruction
 s) %7B
@@ -1101,23 +1101,28 @@
  return 
-command
+(instruction
 s.length
@@ -1130,12 +1130,14 @@
 == 2
+)
  && 
+(
 MESS
@@ -1156,20 +1156,25 @@
 als(
-command
+instruction
 s%5B0%5D)
+)
 ;%0A  
@@ -1586,16 +1586,21 @@
 )? STICK
+_CODE
  : %22%22;%0A 

Rename 'commands' variable or methods to 'instructions'