You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2019/12/01 00:43:00 UTC
[incubator-datasketches-characterization] 06/06: eliminate
"restriction" info message
This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch ZetaTesting
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-characterization.git
commit c57c8772518284bce7650b7bb2ab43f95af0cf42
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Sat Nov 30 16:13:37 2019 -0800
eliminate "restriction" info message
---
.../datasketches/characterization/hash/HashBytesSpeedProfile.java | 2 +-
.../datasketches/characterization/memory/UnsafeDirectSpeedProfile.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/datasketches/characterization/hash/HashBytesSpeedProfile.java b/src/main/java/org/apache/datasketches/characterization/hash/HashBytesSpeedProfile.java
index 03a58a4..3cd31c1 100644
--- a/src/main/java/org/apache/datasketches/characterization/hash/HashBytesSpeedProfile.java
+++ b/src/main/java/org/apache/datasketches/characterization/hash/HashBytesSpeedProfile.java
@@ -170,7 +170,7 @@ public class HashBytesSpeedProfile extends BaseHashSpeedProfile {
vIn = myVin;
}
- @SuppressWarnings("restriction")
+ //@SuppressWarnings("restriction")
private static final long readMem(final WritableMemory wmem) {
long sumInput = 0;
long rem = wmem.getCapacity();
diff --git a/src/main/java/org/apache/datasketches/characterization/memory/UnsafeDirectSpeedProfile.java b/src/main/java/org/apache/datasketches/characterization/memory/UnsafeDirectSpeedProfile.java
index 210f7fe..de86ed1 100644
--- a/src/main/java/org/apache/datasketches/characterization/memory/UnsafeDirectSpeedProfile.java
+++ b/src/main/java/org/apache/datasketches/characterization/memory/UnsafeDirectSpeedProfile.java
@@ -24,7 +24,7 @@ import static org.apache.datasketches.memory.UnsafeUtil.unsafe;
/**
* @author Lee Rhodes
*/
-@SuppressWarnings("restriction")
+//@SuppressWarnings("restriction")
public class UnsafeDirectSpeedProfile extends BaseSpeedProfile {
int arrLongs;
long address;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org