Why after I compile the result become different
<p>Here is my code :</p>

<p><a href="http://pastebin.com/WRwEK4tX" rel="nofollow">http://pastebin.com/WRwEK4tX</a></p>

<p>Which is suppose after I compile should show this code :</p>

<p><a href="http://pastebin.com/raZhPqpP" rel="nofollow">http://pastebin.com/raZhPqpP</a></p>

<p>but I got this kind of code , anyone know what is the problem or what I did wrong , and how to fix it?</p>

<p>In line 32 should shown <code>if (i != j) {</code> but after it compile it change to <code>if (i == j) {</code></p>

<pre><code>  public void showResult() {
      GridView localGridView = (GridView) findViewById(2131034116);
      ArrayList localArrayList = new ArrayList();
      for (int j = 0; j &lt; this.num; j++) {
          localObject = new HashMap();
          ((Map) localObject).put("img", Integer.valueOf(2130837513));
          ((Map) localObject).put("text", "");
          localArrayList.add(localObject);
      }
      localGridView.setGravity(17);
      String[] arrayOfString = new String[2];
      arrayOfString[0] = "img";
      arrayOfString[1] = "text";
      Object localObject = new int[2];
      localObject[0] = 2131034118;
      localObject[1] = 2131034119;
      localGridView.setAdapter(new SimpleAdapter(this, localArrayList, 2130903043, arrayOfString, localObject));
      localGridView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
          public void onItemClick(AdapterView &lt;? &gt; paramAdapterView, View paramView, int paramInt, long paramLong) {
              AppInfo localAppInfo = (AppInfo) RandomAction.this.getApplicationContext();
              Object localObject = (RelativeLayout) paramView;
              List localList = localAppInfo.getApp_layout();
              if (((int[]) localList.get(paramInt))[1] == 1) {
                  //Toast.makeText(RandomAction.this, "Opss , You have open this before", 0).show();
              } else {
                  int k = ((int[]) localList.get(paramInt))[0];
                  int j = k;
                  int i = k;
                  for (int m = 0; m &lt; localList.size(); m++) {
                      j = Math.max(j, ((int[]) localList.get(m))[0]);
                      k = Math.min(k, ((int[]) localList.get(m))[0]);
                  }
                  ImageView localImageView = (ImageView)((RelativeLayout) localObject).getChildAt(0);
                  if (i == k) localImageView.setImageResource(2130837524);
                  else if (i == j) localImageView.setImageResource(2130837523);
                  else localImageView.setImageResource(2130837522);
                  ((TextView)((RelativeLayout) localObject).getChildAt(1)).setText(i);
                  localObject = new int[2];
                  localObject[0] = i;
                  localObject[1] = 1;
                  localList.set(paramInt, (int[]) localObject);
                  localAppInfo.setApp_layout(localList);
              }
          }
      });
  }
  }
</code></pre>
