/* goodG2B1() - use goodsource and badsink by setting the static variable to false instead of true */ private void GoodG2B1() { int data; goodG2B1PublicStatic = false; data = CWE197_Numeric_Truncation_Error__int_Connect_tcp_to_byte_22b.GoodG2B1Source(); { /* POTENTIAL FLAW: Convert data to a byte, possibly causing a truncation error */ IO.WriteLine((byte)data); } }