mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	TestConnectionFactory.kt: fixed property naming to adhere to ktLint standard
This commit is contained in:
		
							parent
							
								
									9dce6831b6
								
							
						
					
					
						commit
						0ccfba5db7
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -21,14 +21,14 @@ private class TestStubInterceptor : Interceptor { | |||
| 
 | ||||
|     @Throws(IOException::class) | ||||
|     override fun intercept(chain: Interceptor.Chain): Response = | ||||
|         if (CALLBACK != null) { | ||||
|             CALLBACK!!.getResponse(chain) | ||||
|         if (callback != null) { | ||||
|             callback!!.getResponse(chain) | ||||
|         } else { | ||||
|             chain.proceed(chain.request()) | ||||
|         } | ||||
| 
 | ||||
|     companion object { | ||||
|         var CALLBACK: Callback? = null | ||||
|         var callback: Callback? = null | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tristan81
						tristan81