list of dots Digital Research Alliance of Canada logo  NSERC logo  University of Ottawa logo / UniversitĂ© d'Ottawa

User Manual    [Previous]   [Next]   

W1016 Unmatched or Extra Brackets

Umple semantic warning issued when a extra bracket is added

When either a extra curly or extra round bracket is found. A warning will be raised.
Warning will show line number and removing the extra bracket will resolve the issue.

Example

//The warning is generated as the code
// has a extra bracket on top (Could be open or close)
{
class A {
  attr;
  attr2;
}
      

Load the above code into UmpleOnline

 

Another Example

//The warning is generated as the code
// has a extra bracket on top (Could be open or close)
(
class A {
  attr;
  attr2;
}
      

Load the above code into UmpleOnline

 

Solution to The Above So the Message No Longer Appears

//Remove the extra bracket
//Removes the warning
class A {
  attr;
  attr2;
}
      

Load the above code into UmpleOnline