Why after I compile the result become different
Here is my code :

http://pastebin.com/Wi9ETiGQ

Which is suppose after I compile should show this code :

http://pastebin.com/NSQQf33n

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

      private List<int[]> getData(int paramInt)
      {
        List localList = getDataByAverage();
        ((int[])null);
        int j = -1 + localList.size();
        for (int k = 0; k < this.num; k++)
        {
          int m = (int)Math.round(Math.random() * j);
          int[] arrayOfInt = (int[])localList.get(k);
          localList.set(k, (int[])localList.get(m));
          localList.set(m, arrayOfInt);
        }
        return localList;
      }
    
      private List<int[]> getDataByAverage()
      {
        int k = this.money;
        Object localObject = new ArrayList();
        if (this.num == 1)
        {
          int[] arrayOfInt = new int[1];
          arrayOfInt[0] = this.money;
          ((List)localObject).add(arrayOfInt);
        }
        else
        {
          for (int j = 0; j < this.num; j++)
            ((List)localObject).add(new int[2]);
          k /= this.num;
          j = 0;
          i = 0;
          while (i < this.num)
          {
            if (1 + i == this.num)
            {
              BigDecimal localBigDecimal2 = new BigDecimal(String.valueOf(this.money));
              BigDecimal localBigDecimal1 = new BigDecimal(String.valueOf(j));
              ((int[])((List)localObject).get(i))[0] = localBigDecimal2.subtract((BigDecimal)localBigDecimal1).intValue();
            }
            else
            {
              int n;
              if (10.0D * Math.random() > 5.0D)
                n = 1;
              else
                n = 0;
              int m = (int)(Math.round(Math.random() * k) / 2L);
              ((int[])((List)localObject).get(i));
              if (n != 0)
                m = k + m;
              else
                m = k - m;
              Integer.valueOf(m);
              j += ((int[])((List)localObject).get(i))[0];
            }
            if (((int[])((List)localObject).get(i))[0] < 0)
            {
              localObject = (List)getDataByAverage();
              break label320;
            }
            i = 1 + i;
          }
        }
        localObject = (List)localObject;
        label320: return (List<int[]>)localObject;
      }
    
      public void showResult()
      {
        GridView localGridView = (GridView)findViewById(2131034116);
        ArrayList localArrayList = new ArrayList();
        for (int j = 0; j < 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<?> 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 < 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);
            }
          }
        });
      }
    }


Why after I compile the result become different
===

Here is my code :

http://pastebin.com/Wi9ETiGQ

Which is suppose after I compile should show this code :

http://pastebin.com/NSQQf33n

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

      private List<int[]> getData(int paramInt)
      {
        List localList = getDataByAverage();
        ((int[])null);
        int j = -1 + localList.size();
        for (int k = 0; k < this.num; k++)
        {
          int m = (int)Math.round(Math.random() * j);
          int[] arrayOfInt = (int[])localList.get(k);
          localList.set(k, (int[])localList.get(m));
          localList.set(m, arrayOfInt);
        }
        return localList;
      }
    
      private List<int[]> getDataByAverage()
      {
        int k = this.money;
        Object localObject = new ArrayList();
        if (this.num == 1)
        {
          int[] arrayOfInt = new int[1];
          arrayOfInt[0] = this.money;
          ((List)localObject).add(arrayOfInt);
        }
        else
        {
          for (int j = 0; j < this.num; j++)
            ((List)localObject).add(new int[2]);
          k /= this.num;
          j = 0;
          i = 0;
          while (i < this.num)
          {
            if (1 + i == this.num)
            {
              BigDecimal localBigDecimal2 = new BigDecimal(String.valueOf(this.money));
              BigDecimal localBigDecimal1 = new BigDecimal(String.valueOf(j));
              ((int[])((List)localObject).get(i))[0] = localBigDecimal2.subtract((BigDecimal)localBigDecimal1).intValue();
            }
            else
            {
              int n;
              if (10.0D * Math.random() > 5.0D)
                n = 1;
              else
                n = 0;
              int m = (int)(Math.round(Math.random() * k) / 2L);
              ((int[])((List)localObject).get(i));
              if (n != 0)
                m = k + m;
              else
                m = k - m;
              Integer.valueOf(m);
              j += ((int[])((List)localObject).get(i))[0];
            }
            if (((int[])((List)localObject).get(i))[0] < 0)
            {
              localObject = (List)getDataByAverage();
              break label320;
            }
            i = 1 + i;
          }
        }
        localObject = (List)localObject;
        label320: return (List<int[]>)localObject;
      }
    
      public void showResult()
      {
        GridView localGridView = (GridView)findViewById(2131034116);
        ArrayList localArrayList = new ArrayList();
        for (int j = 0; j < 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<?> 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 < 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);
            }
          }
        });
      }
    }

