From a466157d5ff132813e6f7873f9756bd748d8d359 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Tue, 6 Nov 2012 19:53:11 -0500 Subject: [PATCH] Fix dumb errors in the dummyAlgorithm --- dummyAlgorithm.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dummyAlgorithm.java b/dummyAlgorithm.java index 58851b5..251ca55 100644 --- a/dummyAlgorithm.java +++ b/dummyAlgorithm.java @@ -2,16 +2,16 @@ public class dummyAlgorithm{ int[] memoryBlock; - void dummyAlgorithm(int memorySize){ + dummyAlgorithm(int memorySize){ /* Constructor needed for each algorithm */ memoryBlock = new int[memorySize]; } void allocate(int jobID, int jobSize, int jobTime){ /* This method to be overloaded by each algorithm */ - return System.out.println("Allocating job " + jobID + " with size: " + jobSize + " for: " + jobTime + " milliseconds."); + System.out.println("Allocating job " + jobID + " with size: " + jobSize + " for: " + jobTime + " milliseconds."); } void deallocate(int jobSize, int beginningLocation){ - return System.out.println("Removing job with size: " + jobSize + " beginning at: " + beginningLocation); + System.out.println("Removing job with size: " + jobSize + " beginning at: " + beginningLocation); } }