Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7956

Refactoring ExternalProcessTools.writeTemporaryFileToDisk for readability

    Details

    • Sprint:
      EJBCA Team Bob - 2019 w10

      Description

      I don't see where the FileOutputStream is closed. (I didn't read the code properly, see comment in ticket).

      The code looks more like a bowl of spaghetti than well-structured Java (no disrespect intended). I bit of refactoring would probably help.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bastianf Bastian Fredriksson
                Reporter:
                bastianf Bastian Fredriksson
                Verified by:
                Tomas Gustavsson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h