Skip to content

Conversation

@yunyun22
Copy link

遍历Map<RequestBody, HandlerBody> 修改成了通过hash去寻找。

@syhily
Copy link
Contributor

syhily commented Aug 31, 2016

equals & hashCode should be replaced by lombok.

@WebServlet(urlPatterns = "/*", loadOnStartup = 0)
public class DispatcherServlet extends HttpServlet {

/**
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment is useless

@syhily
Copy link
Contributor

syhily commented Aug 31, 2016

I thought it's better than iterating the whole methodMap, but your code style is not accepted.
You should use 4 spaces, no more tabs please.

@syhily
Copy link
Contributor

syhily commented Aug 31, 2016

Test wanted

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants