>>UPDATE. Apparently I would have to create another static method and will have to pass operator's rights to it. Then I would need to check all calls to the original method and somehow adjust.
>
>Why do you use a static method?
> An instance of the class is obviously being instantiated anyway so I see no real benefit?
I am not sure. That code had been written long time ago when the project started (I joined the project after it was underway). Why there is a static method and it's used - it is hard for me to decide now.
Anyway, I made the necessary additions and fixes with the minimum intrusion (I think), but I found lots of other problems most likely unrelated to these changes :( I am going to discuss them today at our daily meeting, I hope someone else will be assigned to figure them out...
If it's not broken, fix it until it is.
My Blog