|
|
@ -138,7 +138,6 @@ public class GitServlet extends MetaServlet { |
|
|
|
* the factory to construct and configure an {@link UploadPack} |
|
|
|
* the factory to construct and configure an {@link UploadPack} |
|
|
|
* session when a fetch or clone is requested by a client. |
|
|
|
* session when a fetch or clone is requested by a client. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
|
|
|
|
public void setUploadPackFactory(UploadPackFactory<HttpServletRequest> f) { |
|
|
|
public void setUploadPackFactory(UploadPackFactory<HttpServletRequest> f) { |
|
|
|
gitFilter.setUploadPackFactory(f); |
|
|
|
gitFilter.setUploadPackFactory(f); |
|
|
|
} |
|
|
|
} |
|
|
@ -158,7 +157,6 @@ public class GitServlet extends MetaServlet { |
|
|
|
* the factory to construct and configure a {@link ReceivePack} |
|
|
|
* the factory to construct and configure a {@link ReceivePack} |
|
|
|
* session when a push is requested by a client. |
|
|
|
* session when a push is requested by a client. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
|
|
|
|
public void setReceivePackFactory(ReceivePackFactory<HttpServletRequest> f) { |
|
|
|
public void setReceivePackFactory(ReceivePackFactory<HttpServletRequest> f) { |
|
|
|
gitFilter.setReceivePackFactory(f); |
|
|
|
gitFilter.setReceivePackFactory(f); |
|
|
|
} |
|
|
|
} |
|
|
|