cloudcoderdotorg/CloudCoder — pull request #5 by daveho (2012-12-12 15:23:20+00:00)
Title: bugfix for issue #3

The problem was that ProblemAndTestCaseList.copyFrom was allocating
a new Problem object rather than copying data into the
existing one. The EditProblemAdapter didn't know about the new
Problem object, and was continuing to edit the old one.

Fixed the issue by changing ProblemAndTestCaseList.copyFrom to
always reuse Problem/TestCase objects when possible.

Also made a couple improvements to equals methods for Problem
and ProblemData.