Here you can find the source of closeStatusFile(PrintWriter pwStatusFile)
Parameter | Description |
---|---|
pwStatusFile | The status file to be closed. |
private static void closeStatusFile(PrintWriter pwStatusFile)
//package com.java2s; //License from project: Apache License import java.io.PrintWriter; public class Main { /**// w w w . j av a2s .co m * This will close the status file. * * @param pwStatusFile The status file to be closed. */ private static void closeStatusFile(PrintWriter pwStatusFile) { if (pwStatusFile != null) { pwStatusFile.close(); pwStatusFile = null; } } }