From 7fc41e87d74f7bde837678e21618f75ed631792c Mon Sep 17 00:00:00 2001 From: shivg7706 Date: Sat, 27 Oct 2018 08:24:42 +0530 Subject: [PATCH] chnages --- Others/SJF.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Others/SJF.java b/Others/SJF.java index baa8a8fd0..3bc510d6c 100644 --- a/Others/SJF.java +++ b/Others/SJF.java @@ -31,8 +31,8 @@ class Schedule { processes = new ArrayList(); remainingProcess = new ArrayList(); - gantChart = new ArrayList(); - arrivals = new HashMap>(); + gantChart = new ArrayList<>(); + arrivals = new HashMap<>(); System.out.print("Enter the no. of processes: "); noOfProcess = in.nextInt();