[ 
https://issues.apache.org/jira/browse/ARTEMIS-2211?focusedWorklogId=186349&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-186349
 ]

ASF GitHub Bot logged work on ARTEMIS-2211:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Jan/19 15:28
            Start Date: 17/Jan/19 15:28
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on pull request #2479: 
ARTEMIS-2211 Avoid duplicate code for ByteBuffer pooling and alignment
URL: https://github.com/apache/activemq-artemis/pull/2479#discussion_r248716417
 
 

 ##########
 File path: 
artemis-commons/src/main/java/org/apache/activemq/artemis/utils/BitUtil.java
 ##########
 @@ -14,19 +14,23 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.activemq.artemis.core.io.mapped;
+package org.apache.activemq.artemis.utils;
 
-import java.nio.ByteBuffer;
-
-import io.netty.util.internal.PlatformDependent;
-
-final class BytesUtils {
+/**
+ * Collection of bit-tricks
+ */
+public final class BitUtil {
 
 Review comment:
   We already have another class ByteUtil on the same package.
   
   it will be confusing to have on ByteUtil and another BitsUtil.
   
   
   Can you just move the methods to the same class with some documentation on 
these methods?
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 186349)
    Time Spent: 20m  (was: 10m)

> Avoid duplicate code for ByteBuffer pooling and alignment
> ---------------------------------------------------------
>
>                 Key: ARTEMIS-2211
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2211
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Minor
>             Fix For: 2.7.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to