what should i do to get the most recent version of our project? is it available yet?


----- Original Message -----
From: "Andrew Meyer" <notifications@github.com>
To: "fantastic-five/project" <project@noreply.github.com>
Cc: "libersk3" <libersk3@uwm.edu>
Sent: Sunday, December 1, 2013 9:55:23 PM
Subject: Re: [project] pull request (#33)



In src/edu/uwm/cs361/fantastic_five/training_tracker/app/use_cases/TeamCreator.java: > +
> +import edu.uwm.cs361.fantastic_five.training_tracker.app.use_cases.requests.createTeamRequest;
> +import edu.uwm.cs361.fantastic_five.training_tracker.app.use_cases.responses.CreateTeamResponse;
> +import edu.uwm.cs361.fantastic_five.training_tracker.app.entities.team;
> +import edu.uwm.cs361.fantastic_five.training_tracker.services.PersistenceService;
> +
> +public class TeamCreator {
> +	public CreateTeamResponse createTeam(createTeamRequest req) {
> +		PersistenceManager pm = getPersistenceManager();
> +
> +		try {
> +			pm.makePersistent(new team(req.name, Double.parseDouble(req.price)));
> +			
> +		} finally {
> +			pm.close();
> +		} 

We're missing form validation here, just as we used to be with Programs and Students. 

— 
Reply to this email directly or view it on GitHub .