rooftopsparrow / resource-locking

Circular Storage with Partial State Operations
MIT License
1 stars 2 forks source link

Addressing issues #24 and #31 imposing an answer to #13 #32

Open arcturas1 opened 7 years ago

arcturas1 commented 7 years ago

I went a bit overboard and exceeded the scope of these issues. please carefully review the changes noted below and examine my source, as some things changed drastically.

24 Ensure that Javadoc matches spec

Associated changes:

  1. class description:
  1. Constructor Summary: removed by creating private constructor which does nothing.

31: Refactor Unlock Method

associated changes:

  1. renamed several variables
  2. Modified the main heuristic loop to enforce a single point of return
  1. Changed the logging format to report success/failure as: "Unlock Successful: " + device lock state (answers question #13, forcefully )
arcturas1 commented 7 years ago

not sure if I did this quite right, but I'll request that this pull request be merged with the master if y'all approve of the changes. Otherwise, I can make a commit that reduces the scope to just deal with the javadoc compliance.

rooftopsparrow commented 7 years ago

I would really prefer that we split this MR up to just deal with Javadoc compliance, if you're able. I'd also like to minimize impact to the main algorithm the day the deliverable is due.