[ 
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)

Reply via email to