|
W1013 Parameter Specification Does Not Apply
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] W1013 Parameter Specification Does Not ApplyUmple semantic warning issued when parameters are specified on a code injection that does not permit itParameter specification on code injection does not apply to certain generated methods. Example
//The before statement refers to
//the getAttr method specifying no
//parameters, causing the warning
class A {
attr;
before getAttr() {
}
}
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
//The method is referred to without
//parameters in the following, avoiding
//the warning
class A {
attr;
before getAttr {
}
}
Load the above code into UmpleOnline |