lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6591) Never write negative vLongs
Date Fri, 19 Jun 2015 18:46:01 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-6591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14593769#comment-14593769
] 

Michael McCandless commented on LUCENE-6591:
--------------------------------------------

I like writeSignedVLong ... I'll rename to that and commit!

> Never write negative vLongs
> ---------------------------
>
>                 Key: LUCENE-6591
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6591
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.3, Trunk
>
>         Attachments: LUCENE-6591.patch
>
>
> Today we only assert that the incoming argument to writeVLong is non-negative; I think
this is quite important and should be a real check?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message