MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / execute

Method execute

java/ant/src/org/opendds/ant/LibIndex.java:103–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 5

verifyMethod · 0.95
getFileMethod · 0.95
createIndexMethod · 0.95
logMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected