package com.yelp.clientlib.connection;

import com.squareup.okhttp.Request;

import oauth.signpost.http.HttpRequest;
import se.akerfeldt.okhttp.signpost.OkHttpOAuthConsumer;

/**
 * {@link HttpOAuthConsumer} is an {@link oauth.signpost.OAuthConsumer} implementation to sign OkHttp {@link Request}s.
 *
 * {@link OkHttpOAuthConsumer} doesn't handle characters required for encoding {@link com.yelp.clientlib.entities
 * .options.BoundingBoxOptions}, {@link HttpRequestAdapter} encodes those characters so oauth-signpost can sign
 * requests correctly.
 */
public class HttpOAuthConsumer extends OkHttpOAuthConsumer {

    public HttpOAuthConsumer(String consumerKey, String consumerSecret) {
        super(consumerKey, consumerSecret);
    }

    @Override
    protected HttpRequest wrap(Object request) {
        return new HttpRequestAdapter((Request) request);
    }
}
@@ -294,17 +294,218 @@
 st%7Ds.%0A *
-%0A
+/%0Apublic class HttpOAuthConsumer extends OkHttpOAuthConsumer %7B%0A%0A    public HttpOAuthConsumer(String consumerKey, String consumerSecret) %7B%0A        super(consumerKey, consumerSecret);%0A    %7D%0A%0A%0A    /**%0A    
  * %7B@lin
@@ -610,16 +610,20 @@
 ntities%0A
+    
  * .opti
@@ -726,16 +726,20 @@
 an sign%0A
+    
  * reque
@@ -758,197 +758,111 @@
 y.%0A 
-*/%0Apublic class HttpOAuthConsumer extends OkHttpOAuthConsumer %7B%0A%0A    public HttpOAuthConsumer(String consumerKey, String consumerSecret) %7B%0A        super(consumerKey, consumerSecret);
+    *%0A     * @param request the native HTTP request instance%0A     * @return the adapted request
 %0A    
-%7D%0A
+ */
 %0A   

Move javadoc description for Overriding from class level to method