Skip to content

Seem to have fixed commands and expiration date not setting - #1

Open
baffler wants to merge 4 commits into
chaseoes:masterfrom
baffler:master
Open

baffler wants to merge 4 commits into
chaseoes:masterfrom
baffler:master

Conversation

@baffler

@baffler baffler commented Jan 20, 2013

Copy link
Copy Markdown

From testing by manually inserting rows into the donations table, it works well. The only issue that I didn't fix was it seems to set the expiration as a string in the config by default, but it won't work if it's set as a string so you have to edit the config to remove those quotes around the expiration setting.

Double amount, and Double total converted to strings before checking if it equals the price.
ResultSet retrieved from the DonateEvent object instead of creating a new one. Removed looping through all recent donors since it's already being looped through in Donator.java checkForDonations()
ResultSet is passed and stored in this object now.
checkForDonations() will now pass along the ResultSet to the DonateEvent. Also, the check for expired donations check the price against strings instead of doubles.
@baffler baffler closed this Jan 20, 2013
@baffler baffler reopened this Jan 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant