Given its name and existence in a public API, I wouldn't expect the Set to be modified by the method.  But it is.  Different name perhaps?  Or maybe you should be copying the set inside of the method and altering the copy?