From bbc5905a48cb0469b984317c78306714c60f044b Mon Sep 17 00:00:00 2001 From: Salim Kanoun Date: Mon, 15 Jan 2018 23:37:03 +0100 Subject: [PATCH] Add files via upload --- src/org/petctviewer/anonymize/VueAnon.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/org/petctviewer/anonymize/VueAnon.java b/src/org/petctviewer/anonymize/VueAnon.java index 295633fb..01baa703 100644 --- a/src/org/petctviewer/anonymize/VueAnon.java +++ b/src/org/petctviewer/anonymize/VueAnon.java @@ -1599,7 +1599,7 @@ public void actionPerformed(ActionEvent e) { } }else{ jprefer.put("reportType", "CTP"); - boolean[] dataSent = {true}; + boolean dataSent = true; if(!modeleExportStudies.getOrthancIds().isEmpty()){ try { JDBCConnector jdbc = new JDBCConnector(); @@ -1616,17 +1616,17 @@ public void actionPerformed(ActionEvent e) { } if(!jdbc.sendSizeAndNewUID(study.getPatientName(), size, study.getNewStudyInstanceUID())){ - dataSent[0] = false; + dataSent = false; } if(remoteFileName != null){ if(!jdbc.sendFileName(study.getPatientName(), remoteFileName.toString())){ - dataSent[0] = false; + dataSent = false; } } } remoteFileName = null; jdbc.disconnect(); - if(!dataSent[0]){ + if(!dataSent){ stateExports.setText("The report was not sent to the database"); }else{ stateExports.setText("The report was sent to the database");