@Override @Deprecated public Beer getBeerOfTheMonth() throws TException { // This method only returns the first beer of the month. // It's wrong, but that's what the old code did. for (final SatelliteMenuPart menuPart : _beerMenu.get().getBeerList().values()) { for (final SatelliteBeer beer : menuPart.getBeersOfTheMonth()) { return new Beer(0, beer.getName(), beer.getDescription()).setPrice(beer.getPrice()); } } return null; }
@Override public BeersResponse getBeers() throws TException { return _beerMenu.get(); }