jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-5293) Static code analysis and code cleanup
Date Wed, 14 Dec 2016 15:46:58 GMT

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

Michael Dürig commented on OAK-5293:
------------------------------------

At http://svn.apache.org/viewvc?rev=1774275&view=rev I fixed a potential {{null}} dereference
in {{SegmentStream.read(byte[], int, int)}} by asserting that the previous id is not {{null}}
given the current id is not {{null}}, which according to my reasoning is always the case here.


> Static code analysis and code cleanup
> -------------------------------------
>
>                 Key: OAK-5293
>                 URL: https://issues.apache.org/jira/browse/OAK-5293
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: technical_debt
>             Fix For: 1.5.17
>
>
> We should run some static analysis (i.e. sonar, find bugs, etc.) on our code base and
fix the most sever issues. 



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

Mime
View raw message