Commits

Marcin Gardias  committed aa5a45b

CR-BAM-5200 review feedback

  • Participants
  • Parent commits aa79250

Comments (0)

Files changed (1)

File src/main/java/com/atlassian/utils/process/ClosingInputHandler.java

 /**
  * Simple {@link InputHandler} than only closes the stream.
  */
-public class ClosingInputHandler implements InputHandler
-{
+public class ClosingInputHandler implements InputHandler {
     private static final Logger log = Logger.getLogger(ClosingInputHandler.class);
-    // ------------------------------------------------------------------------------------------------------- Constants
-    // ------------------------------------------------------------------------------------------------- Type Properties
-    // ---------------------------------------------------------------------------------------------------- Dependencies
-    // ---------------------------------------------------------------------------------------------------- Constructors
-    // ----------------------------------------------------------------------------------------------- Interface Methods
-    // -------------------------------------------------------------------------------------------------- Action Methods
-    // -------------------------------------------------------------------------------------------------- Public Methods
 
-    public void complete()
-    {
+    public void complete() {
     }
 
-    public void process(final OutputStream input)
-    {
-        try
-        {
+    public void process(final OutputStream input) {
+        try {
             input.close();
-        }
-        catch (IOException e)
-        {
+        } catch (IOException e) {
             log.error("Exception caught while closing the stream", e);
         }
     }
 
-    public void setWatchdog(final Watchdog watchdog)
-    {
+    public void setWatchdog(final Watchdog watchdog) {
     }
-
-    // -------------------------------------------------------------------------------------- Basic Accessors / Mutators
 }