Removed unused variable

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-insert-rstudio-se-plugin@149187 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-05-29 13:22:08 +00:00
parent ddaf7854fb
commit 9d0da4a5d3
1 changed files with 4 additions and 2 deletions

View File

@ -157,7 +157,8 @@ public class AccountingInsertRstudioPlugin extends Plugin<AccountingInsertRstudi
document = JsonDocument.create("docId", content); document = JsonDocument.create("docId", content);
JsonDocument doc = JsonDocument.create(docId, content); JsonDocument doc = JsonDocument.create(docId, content);
JsonDocument response = accountingBucket.upsert(doc); accountingBucket.upsert(doc);
//JsonDocument response = accountingBucket.upsert(doc);
logger.debug("upsert doc:{}",doc.toString()); logger.debug("upsert doc:{}",doc.toString());
Thread.sleep(timeWait); Thread.sleep(timeWait);
} }
@ -181,10 +182,11 @@ public class AccountingInsertRstudioPlugin extends Plugin<AccountingInsertRstudi
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();
} }
@SuppressWarnings("unused")
private static long bytesToMeg(long bytes) { private static long bytesToMeg(long bytes) {
return bytes / Constant.MEGABYTE; return bytes / Constant.MEGABYTE;
} }
private static long bytesToKil(long bytes) { private static long bytesToKil(long bytes) {
return bytes / Constant.KILOBYTE ; return bytes / Constant.KILOBYTE ;
} }