eProsima / code-style

0 stars 1 forks source link

Newline between try/catch and braces #4

Closed IkerLuengo closed 4 years ago

IkerLuengo commented 4 years ago

change:

try {
    foo();
}
catch {
    error();
}

into

try
{
    foo();
}
catch
{
    error();
}