From b730557cec4364b42775ecf762b2649fb6cd7531 Mon Sep 17 00:00:00 2001 From: Anshu Sharma Date: Sun, 11 Nov 2018 11:40:03 -0500 Subject: [PATCH] Fixed constructor --- .../com/uottawa/olympus/olympusservices/ServiceProvider.java | 2 +- 1 file changed, 1 insertion(+), 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 b80d012..f9c2271 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 { ServiceProvider(String username, String password, String firstname, String lastname){ super(username, password, firstname, lastname); services = new ArrayList<>(); - Availability = new Date[7][2]; + availabilities = new int[7][4]; } /**