View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0029414 | Community | OCCT:Coding | public | 2018-01-08 09:47 | 2019-07-11 12:32 |
Reporter | Vico Liang | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | no change required | ||
Product Version | 7.4.0 | ||||
Target Version | 7.4.0 | ||||
Summary | 0029414: Coding Rules - remove duplicate methods in class Prs3d_DatumAspect | ||||
Description | These two method are duplicated in class Prs3d_DatumAspect, one should be removed. //! Sets option to draw or not to draw text labels for axes void SetDrawLabels (Standard_Boolean theToDraw) { myToDrawLabels = theToDraw; } void SetToDrawLabels (Standard_Boolean theToDraw) { myToDrawLabels = theToDraw; } | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
The methods are duplicated on a purpose - to preserve compatibility with a code using old misspelled method Prs3d_DatumAspect::SetToDrawLabels(). Though such old misnamed methods can be marked by Standard_DEPRECATED for clarity, it looks not very important forcing users changing a code in these cases. |
|
Dear bugmaster, please close the bug. |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-01-08 09:47 | Vico Liang | New Issue | |
2018-01-08 09:47 | Vico Liang | Assigned To | => kgv |
2018-01-09 11:44 | kgv | Note Added: 0073269 | |
2018-01-09 11:44 | kgv | Note Edited: 0073269 | |
2018-01-09 11:44 | kgv | Relationship added | child of 0029109 |
2018-01-09 11:44 | kgv | Product Version | => 7.4.0 |
2018-01-09 11:44 | kgv | Summary | Remove duplicate methods in class Prs3d_DatumAspect => Coding Rules - remove duplicate methods in class Prs3d_DatumAspect |
2019-07-10 19:27 |
|
Target Version | 7.4.0 => 7.5.0 |
2019-07-10 23:27 | kgv | Note Added: 0085579 | |
2019-07-10 23:27 | kgv | Assigned To | kgv => bugmaster |
2019-07-10 23:27 | kgv | Status | new => feedback |
2019-07-10 23:27 | kgv | Resolution | open => no change required |
2019-07-10 23:27 | kgv | Target Version | 7.5.0 => 7.4.0 |
2019-07-11 12:32 | bugmaster | Status | feedback => closed |