if (str.getInputType()!=CStdType.Null || str.getOutputType()!=CStdType.Null) {
if (str.getInputType()!=CStdType.Void || str.getOutputType()!=CStdType.Void) {
    private static void checkSchedule(SIRStream str, Scheduler scheduler, HashMap[] execCounts) {	// this only works if <str> is stand-alone -- that is, it	// starts with a source and ends with a sink	if (str.getInputType()!=CStdType.Null || str.getOutputType()!=CStdType.Null) {	    return;	}	try {	    scheduler.computeBufferUse();	} catch (Exception e) {	    String filename = "bad-schedule-" + (++numSchedErrors) + ".dot";	    PartitionDot.printScheduleGraph(str, filename, execCounts);	    System.err.println("\n" + 			       "WARNING:  Scheduler throws exception trying to compute buffer sizes.\n" +			       "  We don't need the buffer sizes, but this could indicate an invalid schedule.\n" +			       "  The bad schedule is in " + filename + ".  The stack trace is as follows:");	    e.printStackTrace();	    System.err.println();	}    }