forked from D-Net/dnet-hadoop
refactoring
This commit is contained in:
parent
e3cce9a5a0
commit
8eb70e6657
|
@ -15,8 +15,6 @@ import org.jetbrains.annotations.NotNull;
|
||||||
*/
|
*/
|
||||||
public class QueryCommunityAPI {
|
public class QueryCommunityAPI {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static String get(String geturl) throws IOException {
|
private static String get(String geturl) throws IOException {
|
||||||
URL url = new URL(geturl);
|
URL url = new URL(geturl);
|
||||||
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
||||||
|
@ -48,7 +46,6 @@ public class QueryCommunityAPI {
|
||||||
|
|
||||||
return get(baseURL + id + "/contentproviders");
|
return get(baseURL + id + "/contentproviders");
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String communityPropagationOrganization(String id, String baseURL) throws IOException {
|
public static String communityPropagationOrganization(String id, String baseURL) throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue