You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by GitBox <gi...@apache.org> on 2022/01/11 23:56:57 UTC

[GitHub] [datasketches-java] AlexanderSaydakov commented on a change in pull request #381: Fixes problems found when running latest version of SpotBugs.

AlexanderSaydakov commented on a change in pull request #381:
URL: https://github.com/apache/datasketches-java/pull/381#discussion_r782611648



##########
File path: src/main/java/org/apache/datasketches/quantiles/DirectUpdateDoublesSketch.java
##########
@@ -250,6 +251,11 @@ private WritableMemory growCombinedMemBuffer(final int itemSpaceNeeded) {
     assert needBytes > memBytes;
 
     memReqSvr = (memReqSvr == null) ? mem_.getMemoryRequestServer() : memReqSvr;
+    if (memReqSvr == null) {
+      throw new SketchesArgumentException(
+          "A reequest for more memory has been denied, "

Review comment:
       typo




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org