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

James Taylor commented on PHOENIX-1380:
---------------------------------------

The PerformanceLog is not referenced anywhere in Phoenix. Unless @Mujtaba needs 
it, we should just delete the class.

> Potential null dereference in PerformanceLog#getFileOutputStream()
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-1380
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1380
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Alicia Ying Shu
>            Priority: Minor
>             Fix For: 4.2
>
>         Attachments: PHOENIX-1380.patch
>
>
> {code}
>       private static FileOutputStream getFileOutputStream() throws 
> FileNotFoundException {
>               return getFileOutputStream(null);
>       }
> {code}
> getFileOutputStream(String) would dereference fileName without checking for 
> null.



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

Reply via email to