RMMSecurity / dex2jar

Automatically exported from code.google.com/p/dex2jar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue in Switch Case

GoogleCodeExporter opened this issue · comments

expected

public boolean getXY()
    {
      String str = "Unknown error: " + this.code;
      switch (this.code)
      {
      default: return true;

      case 479: return false;

      }


but I get

public boolean getServerMessage()
    {
      String str = "Unknown error: " + this.code;
      switch (this.code)
      {
      default:
      case 479:

      }
      while (true)
      {
        return str;
        str = "You do not own this card";
        continue;
        str = "Service is currently unavailable";
        continue;
      }
    }


And I also get the Issue 145 (error translate enum).

Original issue reported on code.google.com by thomas.f...@googlemail.com on 31 Oct 2012 at 8:36