Skip to content

Commit

Permalink
Fixed mistaken variable assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlgardner committed Apr 20, 2012
1 parent df49b6a commit c28e511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edu/mit/media/funf/probe/ProbeManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ private BasicSchedule(Class<? extends Probe> probeClass, JsonObject values) {
try {period = schedule.get("period").getAsDouble(); } catch (ClassCastException e) {} catch (IllegalStateException e) {} catch (NullPointerException e) {}
try {duration = schedule.get("duration").getAsDouble(); } catch (ClassCastException e) {} catch (IllegalStateException e) {} catch (NullPointerException e) {}
try {opportunistic = schedule.get("opportunistic").getAsBoolean(); } catch (ClassCastException e) {} catch (IllegalStateException e) {} catch (NullPointerException e) {}
try {opportunistic = schedule.get("strict").getAsBoolean(); } catch (ClassCastException e) {} catch (IllegalStateException e) {} catch (NullPointerException e) {}
try {strict = schedule.get("strict").getAsBoolean(); } catch (ClassCastException e) {} catch (IllegalStateException e) {} catch (NullPointerException e) {}
}

public Double getPeriod() {
Expand Down

0 comments on commit c28e511

Please sign in to comment.