Minor change to Barista.
This commit is contained in:
@@ -58,8 +58,8 @@ public class Barista {
|
||||
orderItem.getShots());
|
||||
} catch (InterruptedException e) {
|
||||
Thread.currentThread().interrupt();
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@ServiceActivator(inputChannel="coldDrinks", outputChannel="preparedDrinks")
|
||||
@@ -73,8 +73,8 @@ public class Barista {
|
||||
orderItem.getShots());
|
||||
} catch (InterruptedException e) {
|
||||
Thread.currentThread().interrupt();
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -54,8 +54,8 @@ public class Barista {
|
||||
orderItem.getShots());
|
||||
} catch (InterruptedException e) {
|
||||
Thread.currentThread().interrupt();
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Drink prepareColdDrink(OrderItem orderItem) {
|
||||
@@ -68,8 +68,8 @@ public class Barista {
|
||||
orderItem.getShots());
|
||||
} catch (InterruptedException e) {
|
||||
Thread.currentThread().interrupt();
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user