File tree Expand file tree Collapse file tree
src/main/java/com/fortify/fod Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,9 +128,9 @@ boolean releaseStatus(final int releaseId, final int triggeredScanId) {
128128 if (statusString .equals ("Waiting" )){
129129 pauseDetailsLength = pollingsummary .getPauseDetails ().length > 0 ? pollingsummary .getPauseDetails ().length : 0 ;
130130 }
131- System .out .println (String .format (reason , statusString .equals ("Canceled" ) ? pollingsummary .getAnalysisStatusReason ()
131+ System .out .println (String .format (reason , statusString .equals ("Canceled" ) ? ( pollingsummary .getAnalysisStatusReason () == null ? "" : pollingsummary . getAnalysisStatusReason () )
132132 : ((pauseDetailsLength > 0 ) ? (pollingsummary .getPauseDetails ()[pauseDetailsLength -1 ].getReason () == null ) ?"" : pollingsummary .getPauseDetails ()[pauseDetailsLength -1 ].getReason (): "" )));
133- System .out .println (String .format (reasonNotes , statusString .equals ("Canceled" ) ? pollingsummary .getAnalysisStatusReasonNotes ()
133+ System .out .println (String .format (reasonNotes , statusString .equals ("Canceled" ) ? ( pollingsummary .getAnalysisStatusReasonNotes () == null ? "" : pollingsummary . getAnalysisStatusReasonNotes () )
134134 : ((pauseDetailsLength > 0 ) ? (pollingsummary .getPauseDetails ()[pauseDetailsLength -1 ].getNotes () == null ) ? "" : pollingsummary .getPauseDetails ()[pauseDetailsLength -1 ].getNotes () : "" )));
135135 System .out .println ();
136136
You can’t perform that action at this time.
0 commit comments