File tree 1 file changed +4
-2
lines changed
decode/app/src/main/java/com/codedifferently/projectoop/decode/decodelifeapp
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class EventCollection extends Object {
15
15
16
16
private Map <String , String > eventDescriptionMap ;
17
17
18
-
18
+ // Contrustor
19
19
public EventCollection () {
20
20
eventDescriptionMap = new HashMap <>();
21
21
initializeEventDescriptions ();
@@ -38,7 +38,7 @@ private void initializeEventDescriptions() {
38
38
}
39
39
40
40
41
- public void addDefaultEvents () {
41
+ public void addDefaultEvents (String name , String date , String location ) {
42
42
addEvent ("Conference" , "2025-07-15" , "Tech Center" );
43
43
addEvent ("Job fair" , "2025-08-01" , "Downtown Hub" );
44
44
addEvent ("Hackathon" , "2025-06-20" , "Innovation Lab" );
@@ -69,6 +69,8 @@ public void removeEvent(String name) {
69
69
eventLocations .remove (index );
70
70
eventDescriptions .remove (index );
71
71
}
72
+
73
+
72
74
}
73
75
74
76
You can’t perform that action at this time.
0 commit comments