From 5b8b0fdfd2096621b32f0d89b85cf7feaa30d2c3 Mon Sep 17 00:00:00 2001 From: IvanaE Date: Sun, 18 Nov 2018 13:39:25 -0500 Subject: [PATCH] fixed it --- .../com/uottawa/olympus/olympusservices/ServiceProvider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java index 4c32883..35839c8 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java @@ -30,7 +30,7 @@ public class ServiceProvider extends UserType { private String companyname; private boolean licensed; private String description; - private int rating + private int rating; @@ -54,6 +54,7 @@ public class ServiceProvider extends UserType { this.companyname = companyname; this.licensed = licensed; this.description = ""; + this.rating = 0; } ServiceProvider(String username, String password, String firstname, String lastname, String address,