()
| 101 | } |
| 102 | |
| 103 | @Override |
| 104 | public void execute() throws BuildException { |
| 105 | verify(); |
| 106 | |
| 107 | File file = getFile(); |
| 108 | |
| 109 | log("Creating library index: " + file.getAbsolutePath()); |
| 110 | |
| 111 | FileWriter writer = null; |
| 112 | try { |
| 113 | writer = new FileWriter(file); |
| 114 | createIndex(writer); |
| 115 | |
| 116 | } catch (IOException e) { |
| 117 | throw new BuildException(e); |
| 118 | |
| 119 | } finally { |
| 120 | if (writer != null) { |
| 121 | try { |
| 122 | writer.close(); |
| 123 | |
| 124 | } catch (IOException e) {} |
| 125 | } |
| 126 | } |
| 127 | } |
| 128 | } |
nothing calls this directly
no test coverage detected