owenson / tor-research-framework

Tor research framework in Java
www.ghowen.me
GNU General Public License v3.0
55 stars 16 forks source link

Fix getLastHop() to return null when hops.size() == 0 #1

Closed twilsonb closed 10 years ago

twilsonb commented 10 years ago

Fix getLastHop() to return null when hops.size() == 0 rather than throwing an exception. Remove unnecessary call to getLastHop() in extend().