Good point,
I will fix ( in both places).
Ian
On 6 Nov 2008, at 13:37, Mathias Bogaert (JIRA) wrote:
[ https://issues.apache.org/jira/browse/SHINDIG-679?
page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
tabpanel&focusedCommentId=12645483#action_12645483 ]
Mathias Bogaert commented on SHINDIG-679:
-----------------------------------------
Wouldn't is be better to use Float instead of the primitive type?
Since now you can't detect a non-set weight or height (unless you
check for 0, kinda ugly).
Change in BodyType not reflected in JPA Samples - BodyTypeDb
------------------------------------------------------------
Key: SHINDIG-679
URL: https://issues.apache.org/jira/browse/
SHINDIG-679
Project: Shindig
Issue Type: Bug
Components: Common Components (Java)
Environment: OSX
Reporter: Ben Smith
Assignee: Ian Boston
Attachments: fix-12407929-bug.patch
Original Estimate: 0.25h
Remaining Estimate: 0.25h
The change in org.apache.shindig.social.opensocial.model.BodyType,
turning the weight and height attributes to floats, was not
reflected in org.apache.shindig.social.opensocial.jpa.BodyTypeDB
(in the samples project).
Requires changing the attribute and getter/setter methods to use
float, and the PopulatePerson test helper to send floats instead
of strings.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.