Remove problematic @Ensures from InputProducer.
-- We need to figure out why CoFoJa is broken in the NanoScheduler
This commit is contained in:
parent
33fabb8180
commit
d2046b67b1
|
|
@ -1,6 +1,5 @@
|
||||||
package org.broadinstitute.sting.utils.nanoScheduler;
|
package org.broadinstitute.sting.utils.nanoScheduler;
|
||||||
|
|
||||||
import com.google.java.contract.Ensures;
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.broadinstitute.sting.utils.SimpleTimer;
|
import org.broadinstitute.sting.utils.SimpleTimer;
|
||||||
import org.broadinstitute.sting.utils.exceptions.ReviewedStingException;
|
import org.broadinstitute.sting.utils.exceptions.ReviewedStingException;
|
||||||
|
|
@ -187,7 +186,7 @@ class InputProducer<InputType> implements Runnable {
|
||||||
*
|
*
|
||||||
* @return ID
|
* @return ID
|
||||||
*/
|
*/
|
||||||
@Ensures({"result.isEOFMarker()", "result.getId() == getId() + 1"})
|
//@Ensures({"result.isEOFMarker()", "result.getId() == getId() + 1"})
|
||||||
public InputValue nextEOF() {
|
public InputValue nextEOF() {
|
||||||
if ( ! isEOFMarker() )
|
if ( ! isEOFMarker() )
|
||||||
throw new IllegalArgumentException("Cannot request next EOF marker for non-EOF marker InputValue");
|
throw new IllegalArgumentException("Cannot request next EOF marker for non-EOF marker InputValue");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue