github-advanced-security[bot] commented on code in PR #474:
URL: https://github.com/apache/datasketches-java/pull/474#discussion_r1372159720


##########
src/main/java/org/apache/datasketches/tuple/Sketches.java:
##########
@@ -64,16 +60,12 @@
    * @param deserializer instance of SummaryDeserializer
    * @param summaryFactory instance of SummaryFactory
    * @return Sketch created from its Memory representation
-   * @deprecated As of 3.0.0, heapifying an UpdatableSketch is deprecated.
-   * This capability will be removed in a future release.
-   * Heapifying a CompactSketch is not deprecated.
    */
-  @Deprecated
   public static <U, S extends UpdatableSummary<U>> UpdatableSketch<U, S> 
heapifyUpdatableSketch(
       final Memory mem,
       final SummaryDeserializer<S> deserializer,
       final SummaryFactory<S> summaryFactory) {
-    return new UpdatableSketch<U, S>(mem, deserializer, summaryFactory);
+    return new UpdatableSketch<>(mem, deserializer, summaryFactory);

Review Comment:
   ## Deprecated method or constructor invocation
   
   Invoking [UpdatableSketch.UpdatableSketch](1) should be avoided because it 
has been deprecated.
   
   [Show more 
details](https://github.com/apache/datasketches-java/security/code-scanning/652)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to