Skip to content
Snippets Groups Projects
Commit 15f1f686 authored by Mosharaf Chowdhury's avatar Mosharaf Chowdhury
Browse files

Variable renaming.

parent 1157380f
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ import java.util.concurrent.{Executors, ThreadFactory, ThreadPoolExecutor}
import scala.collection.mutable.{ListBuffer, Map, Set}
@serializable
class BitTorrentBroadcast[T] (@transient var value_ : T, local: Boolean)
class BitTorrentBroadcast[T] (@transient var value_ : T, isLocal: Boolean)
extends Broadcast with Logging {
def value = value_
......@@ -51,7 +51,7 @@ extends Broadcast with Logging {
@transient var stopBroadcast = false
// Must call this after all the variables have been created/initialized
if (!local) {
if (!isLocal) {
sendBroadcast
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment