overwrote init() in order to suppress log output
This commit is contained in:
		
							parent
							
								
									b8082fa589
								
							
						
					
					
						commit
						7bfe7af100
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		|  | @ -60,6 +60,11 @@ public class AcmeFileServlet extends FileServlet | |||
| 	this.root = root; | ||||
| 	} | ||||
| 
 | ||||
|     public void init (ServletConfig config) { | ||||
| 	// do nothing | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|      /// Services a single request from the client. | ||||
|     // @param req the servlet request | ||||
|     // @param req the servlet response | ||||
|  | @ -206,3 +211,4 @@ public class AcmeFileServlet extends FileServlet | |||
| 
 | ||||
|      | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
|  | @ -34,6 +34,9 @@ public class AcmeServletClient extends HttpServlet { | |||
| 	this.uploadLimit = 1024; // generous 1mb upload limit | ||||
|     } | ||||
| 
 | ||||
|     public void init (ServletConfig config) { | ||||
| 	// do nothing | ||||
|     } | ||||
| 
 | ||||
|     public void service (HttpServletRequest request, HttpServletResponse response) | ||||
| 		throws ServletException, IOException { | ||||
|  | @ -253,3 +256,4 @@ public class AcmeServletClient extends HttpServlet { | |||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue