es preferencia personal, por eso no lo puse que lo cambiara ;)


On Sat, Apr 12, 2014 at 4:27 PM, Andres V <notifications@github.com> wrote:

> In src/main/java/com/gangfive/sima/controllers/CaloriaController.java:
>
> > +		response.setCodeMessage(oResult.message());
> > +		return response;
> > +	}
> > +
> > +	@Path("/{id}")
> > +	@DELETE
> > +	@Transactional
> > +	@Consumes({ MediaType.TEXT_PLAIN })
> > +	public CaloriaResponse delete(@PathParam("id") String id) {
> > +		OperationResult oResult = OperationResult.MISSING_INFORMATION;
> > +		CaloriaResponse response = new CaloriaResponse();
> > +
> > +		if (Utils.isValidString(id)) {
> > +			Caloria caloria = caloriaService.findOne(Long.parseLong(id));
> > +
> > +			if (caloria == null) {
>
> para mí está bien así, no lo cambie
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/GangOfFive/falafel/pull/106/files#r11562305>
> .
>



-- 
Leo Picado, UI Guy.
www.leonardopicado.com  |  me@leonardopicado.com