39 lines
		
	
	
		
			968 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			968 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package okio;
 | |
| 
 | |
| import java.io.IOException;
 | |
| 
 | |
| /* loaded from: classes2.dex */
 | |
| public abstract class ForwardingSource implements Source {
 | |
|     private final Source delegate;
 | |
| 
 | |
|     public ForwardingSource(Source source) {
 | |
|         if (source == null) {
 | |
|             throw new IllegalArgumentException("delegate == null");
 | |
|         }
 | |
|         this.delegate = source;
 | |
|     }
 | |
| 
 | |
|     @Override // okio.Source, java.io.Closeable, java.lang.AutoCloseable
 | |
|     public void close() throws IOException {
 | |
|         this.delegate.close();
 | |
|     }
 | |
| 
 | |
|     public final Source delegate() {
 | |
|         return this.delegate;
 | |
|     }
 | |
| 
 | |
|     @Override // okio.Source
 | |
|     public long read(Buffer buffer, long j) throws IOException {
 | |
|         return this.delegate.read(buffer, j);
 | |
|     }
 | |
| 
 | |
|     @Override // okio.Source
 | |
|     public Timeout timeout() {
 | |
|         return this.delegate.timeout();
 | |
|     }
 | |
| 
 | |
|     public String toString() {
 | |
|         return getClass().getSimpleName() + "(" + this.delegate.toString() + ")";
 | |
|     }
 | |
| }
 |