You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by qingzhong li <qi...@gmail.com> on 2023/12/27 07:08:23 UTC

Review Request 74805: RANGER-4627: Remove unnecessary semicolon '; ' in DefaultSchemaRegistryClient.java

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74805/
-----------------------------------------------------------

Review request for ranger, Anand Nadar, Madhan Neethiraj, Prashant Satam, and Subhrat Chaudhary.


Bugs: RANGER-4627
    https://issues.apache.org/jira/browse/RANGER-4627


Repository: ranger


Description
-------

Remove unnecessary semicolon ';' in DefaultSchemaRegistryClient.java: 
```java
//......

import javax.ws.rs.core.MediaType; 
import javax.ws.rs.core.Response;; 
import java.io.UnsupportedEncodingException; 
import java.lang.reflect.InvocationTargetException; 
import java.net.URLEncoder; 
import java.util.ArrayList; 
import java.util.List; 
import java.util.Map; 
import java.util.concurrent.ConcurrentHashMap; 
import com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.Configuration; 
import static com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.Configuration.DEFAULT_CONNECTION_TIMEOUT; import static com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.Configuration.DEFAULT_READ_TIMEOUT; 


public class DefaultSchemaRegistryClient implements ISchemaRegistryClient {
//......
}
```
use **`import javax.ws.rs.core.Response;`** to replace with **`import javax.ws.rs.core.Response;;`**


Diffs
-----

  plugin-schema-registry/src/main/java/org/apache/ranger/services/schema/registry/client/connection/DefaultSchemaRegistryClient.java dbd0d5a96 


Diff: https://reviews.apache.org/r/74805/diff/1/


Testing
-------

1) cd ranger && mvn clean package


Thanks,

qingzhong li