title: Break in if statement
body: <p>I have a switch method, and I want that if the type of fetch is ALL, the switch runs in all the statments, (HOUSE AND PLAYER), but it doesn't work because of the break, it only runs in HOUSE, removing the break works, but then if the type is not ALL, it will also runs on the others statments and not only in the given type. Whats is a proper solution for that?</p>
  <pre><code>public static void fetch(FetchType fetchType) {
      switch (updateType) {
          case ALL: // if this is the case, then it should run for HOUSE, PLAYER
          case HOUSE:
               // code here
               break;
          case PLAYER:
               // code here
               break;
          default: 
               throw new IllegalArgumentException();
      }
  }
  </code></pre>