Why Eclipse give me errors on the break statments of this switch case structure? : <p>I have created this <strong>switch case</strong> structure in a Java program but Eclipse sign me errors on all the <strong>break</strong> statments:</p>

<pre><code>public class LoadPlacesService {

    public String getPlaces(String source, String selval) {

        switch(source) {

        case "country":

            if (selval.equals("italy")) {
                return "&lt;option value='marche'&gt;Marche&lt;/option&gt;\n&lt;option value='lazio'&gt;Lazio&lt;/option&gt;\n&lt;option value='lombardia'&gt;Lombardia&lt;/option&gt;\n&lt;option value='puglia'&gt;Puglia&lt;/option&gt;";
            } else {
                return "0";
            }

        break;

        case "region":

            if (selval.equals("lazio")) {
                return "&lt;option value='roma'&gt;Roma&lt;/option&gt;\n&lt;option value='viterbo'&gt;Viterbo&lt;/option&gt;\n&lt;option value='latina'&gt;Latina&lt;/option&gt;\n&lt;option value='rieti'&gt;Rieti&lt;/option&gt;\n&lt;option value='frosinone'&gt;Frosinone&lt;/option&gt;";
            } else {
                return "0";
            }

        break;

        // eventuali altri case

        case "district": 

            if (selval.equals("roma")) {
                return "&lt;option value='roma'&gt;Roma&lt;/option&gt;\n&lt;option value='guidonia-montecelio'&gt;Guidonia Montecelio&lt;/option&gt;\n&lt;option value='fiumicino'&gt;Fiumicino&lt;/option&gt;\n&lt;option value='aprilia'&gt;Aprilia&lt;/option&gt;";
            } else {
                return "0";
            }

        break;


    }
        return "";

    }

}
</code></pre>
