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 2022/04/30 00:16:04 UTC
[datasketches-characterization] branch master updated: Add SupressWarnings("restriction") back in.
This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-characterization.git
The following commit(s) were added to refs/heads/master by this push:
new f604569 Add SupressWarnings("restriction") back in.
f604569 is described below
commit f604569011236f260a936ddb248b40e23513af7e
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Fri Apr 29 17:15:49 2022 -0700
Add SupressWarnings("restriction") back in.
---
.../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 277d489..a0df0e3 100644
--- a/src/main/java/org/apache/datasketches/characterization/hash/HashBytesSpeedProfile.java
+++ b/src/main/java/org/apache/datasketches/characterization/hash/HashBytesSpeedProfile.java
@@ -169,7 +169,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 57f41fe..d2edd1b 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.internal.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