Added hashCode methods to CourseComponentDAO and CourseGroupDAO

On 04/02/13 15:04, Matthew Buckett wrote:
>
> In hbm/src/main/java/uk/ac/ox/oucs/vle/CourseComponentDAO.java:
>
> > @@ -63,6 +63,20 @@ public CourseComponentDAO(String presentationId, boolean bookable) {
> >          this.bookable = bookable;
> >      }
> >
> > +    public boolean equals(Object obj) {
>
> Normally you should override hashCode() as well.
> Also @Override <https://github.com/Override> annotation is alway nice 
> so you can't make typos.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/ox-it/wl-course-signup/pull/40/files#r2877087>.
>