Fixed javadoc warning
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-insert-storage-se-plugin@157765 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7421b84bb6
commit
a6867b05e5
9
pom.xml
9
pom.xml
|
@ -27,7 +27,14 @@
|
|||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>maven-smartgears-bom</artifactId>
|
||||
<artifactId>gcube-bom</artifactId>
|
||||
<version>LATEST</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>gcube-smartgears-bom</artifactId>
|
||||
<version>LATEST</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
|
|
|
@ -17,7 +17,7 @@ public class AggregatorPersistenceBackendQueryConfiguration extends AccountingPe
|
|||
}
|
||||
|
||||
/**
|
||||
* @param class1 The class of the persistence to instantiate
|
||||
* @param persistence The class of the persistence to instantiate
|
||||
* @throws Exception if fails
|
||||
*/
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.accounting.insert.storage.plugin;
|
||||
package org.gcube.accounting.insert.storage.plugin;
|
||||
|
||||
import com.couchbase.client.java.document.json.JsonArray;
|
||||
import com.couchbase.client.java.document.json.JsonObject;
|
||||
|
@ -12,7 +12,7 @@ public class Utility {
|
|||
/**
|
||||
* Generate a key for map-reduce
|
||||
* @param key
|
||||
* @return
|
||||
* @return JsonArray
|
||||
*/
|
||||
protected static JsonArray generateKey(String scope,String key){
|
||||
JsonArray generateKey = JsonArray.create();
|
||||
|
@ -29,7 +29,7 @@ public class Utility {
|
|||
/**
|
||||
* Verify a record aggregated for insert into bucket
|
||||
* @param item
|
||||
* @return
|
||||
* @return boolean
|
||||
*/
|
||||
public static boolean checkType(Object item) {
|
||||
return item == null
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.accounting.insert.storage.utils;
|
||||
package org.gcube.accounting.insert.storage.utils;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
|
@ -47,20 +47,10 @@ public class DiscoveryListUser {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the base path of the social networking service
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public List<String> getListUser() {
|
||||
return listUser;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param url
|
||||
* @return String response content
|
||||
*/
|
||||
public String getJSON(String url) {
|
||||
HttpURLConnection c = null;
|
||||
try {
|
||||
|
|
|
@ -96,7 +96,7 @@ public class DiscoveryServiceListUser {
|
|||
|
||||
/**
|
||||
* Get the base path of the social networking service
|
||||
* @return
|
||||
* @return the base path
|
||||
*/
|
||||
public String getBasePath() {
|
||||
return basePath+NAME_SERVICE;
|
||||
|
|
Loading…
Reference in New Issue