Line 43 says nocache is an import:

  import static org.eclipse.jgit.http.server.ServletUtils.nocache;

This method is actually defined in change Ia0f1a425d07d035e344ae54faf8aeb04763e7487 as part of the ServletUtils class.

Not everything is using nocache, in particular we allow loose object files and pack files to be cacheable.  But I'm starting to think that may not be a good idea if access controls are enabled on the repository in the container.  I might respin the series to have this set through a filter that's on every servlet.