Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Java coding conventions

Hello,

Java coding conventions say :

switch (condition) {
case ABC:
    statements;
    /* falls through */

case DEF:
    statements;
    break;

case XYZ:
    statements;
    break;

default:
    statements;
    break;
}

Though, eclipse says after format :

case ABC :

(notice blank between identifier and colon !)

Is this a bug ?!?

-------------------------------------------
Greetings,
Daniel van Mil

Once (a Pearl Jam tribute) :
http://www.danielm.nl/once

Secret Samadhi :
http://www.danielm.nl/SecretSamadhi



Back to the top