Merge pull request #6484 from worldpeacez0991/patch-1

Update CourseService.java
This commit is contained in:
Loredana Crusoveanu 2019-04-21 11:06:06 +03:00 committed by GitHub
commit d3639e607e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,6 +29,6 @@ public class CourseService {
} }
public static void copyProperties(Course course, CourseEntity courseEntity) throws IllegalAccessException, InvocationTargetException { public static void copyProperties(Course course, CourseEntity courseEntity) throws IllegalAccessException, InvocationTargetException {
BeanUtils.copyProperties(course, courseEntity); BeanUtils.copyProperties(courseEntity, course);
} }
} }