GSam / dex2jar

Automatically exported from code.google.com/p/dex2jar
0 stars 0 forks source link

Issue in Switch Case #147

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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