Make new networkAttribute parameter non-optional.

Dependencymet sets the default dep-met value for the network.  Should
be set to true unless you know what you're doing.

Change-Id: Ifa3765a97615f5333da07bce9defdb8600275129
This commit is contained in:
Robert Greenwalt
2011-04-25 12:36:56 -07:00
parent c40de32ef7
commit 2240524be9

View File

@@ -60,11 +60,7 @@ public class NetworkConfig {
type = Integer.parseInt(fragments[1]);
radio = Integer.parseInt(fragments[2]);
priority = Integer.parseInt(fragments[3]);
if (fragments.length > 4) {
dependencyMet = Boolean.parseBoolean(fragments[4]);
} else {
dependencyMet = true;
}
dependencyMet = Boolean.parseBoolean(fragments[4]);
}
/**