Ignore:
Timestamp:
02/09/22 03:14:08 (3 years ago)
Author:
Petar Partaloski <ppartaloski@…>
Branches:
main
Children:
967b414
Parents:
c02189f
Message:

Added User profiles, improved clarity, improved UI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/wediscussmovies/project/model/Person.java

    rc02189f r3fe36de  
    9292    }
    9393
     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
    94102}
Note: See TracChangeset for help on using the changeset viewer.