mirror of
https://github.com/bspeice/itcs3146-project
synced 2024-12-22 06:38:23 -05:00
Updated memoryManagement
Fixed minor bug
This commit is contained in:
parent
f8a83cff2b
commit
15efb51e4d
@ -55,7 +55,7 @@ public class memoryManagement{
|
||||
fileScan = new Scanner(file);
|
||||
for(jobLength = 0; fileScan.hasNextLine() ; jobLength++){
|
||||
token = new StringTokenizer(fileScan.nextLine(),",");
|
||||
id[jobLength]++;
|
||||
id[jobLength] = jobLength+1;
|
||||
size[jobLength] = Integer.parseInt(token.nextToken());
|
||||
time[jobLength] = Integer.parseInt(token.nextToken());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user