Skip to content

Commit

Permalink
Remove assertions failing unit tests, refs #228
Browse files Browse the repository at this point in the history
  • Loading branch information
sarxos committed Jun 21, 2014
1 parent d9fcae8 commit 73c39b9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,6 @@ public BufferedImage getImage() {
long t1 = 0;
long t2 = 0;

assert updater != null;

if (asynchronous) {
return updater.getImage();
} else {
Expand Down Expand Up @@ -654,15 +652,13 @@ public BufferedImage getImage() {
}

public boolean isImageNew() {
assert updater != null;
if (asynchronous) {
return updater.isImageNew();
}
return true;
}

public double getFPS() {
assert updater != null;
if (asynchronous) {
return updater.getFPS();
} else {
Expand Down Expand Up @@ -1191,6 +1187,5 @@ public static void shutdown() {

// stop processor
WebcamProcessor.getInstance().shutdown();

}
}

0 comments on commit 73c39b9

Please sign in to comment.