package org.t0t0.androguard.TCDiff;                                                                                                                                                                                                   

public class TCA {
   public int TC1 = 30;
   private int TC2 = -6;

   public String equal(int a, String b)
   {
      String c = Integer.toString( a );

      System.out.print(c + " " + b + " ---- ");
      if (c.equals(b)) {
         return " OK ";
      }

      return "  X ";
   }

   public TCA()
   {
      System.out.println("TCA TC1 == 30 : " + this.equal( this.TC1, "30" ));
      System.out.println("TCA TC2 == -6 : " + this.equal( this.TC2, "-6" ));
      TC1 = 20;
      System.out.println("TCA TC1 == 20 : " + this.equal( this.TC1, "20" ));
   }

   public void T1()
   {
      TCC c = new TCC();

      // PATCH
      if ((TC2 % 2) == 1) {
         TC1 = 3;
      }
      // END PATCH

      c.T1();
   }
}
