Changeset 967b414 in Git for src/main/java/com/wediscussmovies/project/model
- Timestamp:
- 02/09/22 03:21:13 (3 years ago)
- Branches:
- main
- Children:
- 6f91f99
- Parents:
- 0226942 (diff), 3fe36de (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Mato-77 <56981531+Mato-77@…> (02/09/22 03:21:13)
- git-committer:
- GitHub <noreply@…> (02/09/22 03:21:13)
- Location:
- src/main/java/com/wediscussmovies/project/model
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/model/Movie.java
r0226942 r967b414 95 95 96 96 97 97 public String getShortTitle(){ 98 int to = 20; 99 if (title.length() < to) 100 to = title.length(); 101 if(to<20) 102 return title; 103 return title.substring(0, to) + "..."; 104 } 98 105 99 106 -
src/main/java/com/wediscussmovies/project/model/Person.java
r0226942 r967b414 92 92 } 93 93 94 public boolean hasGradeFromUser(User user){ 95 for(PersonRates p: personRates){ 96 if(p.getUser().getUserId() == user.getUserId()) 97 return true; 98 } 99 return false; 100 } 101 94 102 }
Note:
See TracChangeset
for help on using the changeset viewer.