The code is the only accurate description of what happens at runtime. Comment should give context or describe assumptions that the code makes about its environment. Nobody needs a comment telling that Request.getPath() returns the path of the request.