Skip to content

Conversation

@hemberger
Copy link
Member

SmrPort::createPort is equivalent to getPort, so just
remove it. We can also remove the wrapper with the same name
from SmrSector.

`SmrPort::createPort` is equivalent to `getPort`, so just
remove it. We can also remove the wrapper with the same name
from `SmrSector`.
@hemberger hemberger requested a review from Page- January 16, 2018 10:07
Copy link
Member

@Page- Page- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree it's a redundant method, although it is a shame to lose the hint that we're intending to create a port vs intending to get an existing one

@hemberger
Copy link
Member Author

Yeah, I was thinking the alternative would be to have a real createPort method that fails if the port already exists. But this solution seemed like less trouble. I don't know what is best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants