4343 * <dt>prerm</dt>
4444 * <dd>contains scripts and commands that are executed before the files are removed</dd>
4545 * </dl>
46- *
46+ *
4747 * @author Stefan Heidrich
4848 */
4949class DebControlFileBuilder {
@@ -68,7 +68,7 @@ enum Script {
6868
6969 /**
7070 * the constructor setting the fields
71- *
71+ *
7272 * @param deb the task for the debian package
7373 * @param setup the generic task for all setups
7474 * @param buildDir the directory to build the package in
@@ -81,7 +81,7 @@ enum Script {
8181
8282 /**
8383 * Create the configuration files for the Debian package based on the settings in the task.
84- *
84+ *
8585 * @throws Exception
8686 */
8787 void build () throws Exception {
@@ -93,7 +93,7 @@ void build() throws Exception {
9393
9494 /**
9595 * Creates the 'control' file for the Debian package
96- *
96+ *
9797 * @throws IOException if something could not be written to the file
9898 */
9999 private void createControlFile () throws IOException {
@@ -146,7 +146,7 @@ private void createControlFile() throws IOException {
146146
147147 /**
148148 * Write the description to the file. The description is mandatory. If no description is declared a runtime exception will be thrown.
149- *
149+ *
150150 * @param controlWriter the writer for the file
151151 * @throws IOException if the was an error while writing to the file
152152 */
@@ -170,7 +170,7 @@ private void putDescription( OutputStreamWriter controlWriter ) throws IOExcepti
170170
171171 /**
172172 * Write the maintainer to the file. The maintainer is mandatory. If no maintainer is declared a runtime exception will be thrown.
173- *
173+ *
174174 * @param controlWriter the writer for the file
175175 * @throws IOException if the was an error while writing to the file
176176 */
@@ -185,7 +185,7 @@ private void putMaintainer( OutputStreamWriter controlWriter ) throws IOExceptio
185185
186186 /**
187187 * Write the dependencies to the file. If no dependencies are specified, the java dependencies will be used.
188- *
188+ *
189189 * @param controlWriter the writer for the file
190190 * @throws IOException if the was an error while writing to the file
191191 */
@@ -198,7 +198,7 @@ private void putDepends( OutputStreamWriter controlWriter ) throws IOException {
198198
199199 /**
200200 * Writes the pre-dependencies to the file.
201- *
201+ *
202202 * @param controlWriter the writer for the file
203203 * @throws IOException if the was an error while writing to the file
204204 */
@@ -212,7 +212,7 @@ private void putPreDepends( OutputStreamWriter controlWriter ) throws IOExceptio
212212
213213 /**
214214 * Write the recommends to the file.
215- *
215+ *
216216 * @param controlWriter the writer for the file
217217 * @throws IOException if the was an error while writing to the file
218218 */
@@ -226,7 +226,7 @@ private void putRecommends( OutputStreamWriter controlWriter ) throws IOExceptio
226226
227227 /**
228228 * Write the installation size to the file. If no size is specified it will count the size of all files it has to install and round it to full megabytes.
229- *
229+ *
230230 * @param controlWriter the writer for the file
231231 * @throws IOException if the was an error while writing to the file
232232 */
@@ -254,7 +254,7 @@ private void putInstallSize( OutputStreamWriter controlWriter ) throws IOExcepti
254254
255255 /**
256256 * Write the architecture to the file. If no architecture is specified then 'all' will be used.
257- *
257+ *
258258 * @param controlWriter the writer for the file
259259 * @throws IOException if the was an error while writing to the file
260260 */
@@ -264,7 +264,7 @@ private void putArchitecture( OutputStreamWriter controlWriter ) throws IOExcept
264264
265265 /**
266266 * Write the priority to the file. If no priority are specified then 'optional' will be used.
267- *
267+ *
268268 * @param controlWriter the writer for the file
269269 * @throws IOException if the was an error while writing to the file
270270 */
@@ -278,7 +278,7 @@ private void putPriority( OutputStreamWriter controlWriter ) throws IOException
278278
279279 /**
280280 * Write the section to the file. If no section is specified then 'java' will be used.
281- *
281+ *
282282 * @param controlWriter the writer for the file
283283 * @throws IOException if the was an error while writing to the file
284284 */
@@ -292,7 +292,7 @@ private void putSection( OutputStreamWriter controlWriter ) throws IOException {
292292
293293 /**
294294 * Write the version to the file. The version is mandatory. If no version is declared a runtime exception will be thrown.
295- *
295+ *
296296 * @param controlWriter the writer for the file
297297 * @throws IOException if the was an error while writing to the file
298298 */
@@ -307,7 +307,7 @@ private void putVersion( OutputStreamWriter controlWriter ) throws IOException {
307307
308308 /**
309309 * Write the package to the file. The package is mandatory. If no package is declared a runtime exception will be thrown.
310- *
310+ *
311311 * @param controlWriter the writer for the file
312312 * @throws IOException if the was an error while writing to the file
313313 */
@@ -322,7 +322,7 @@ private void putPackage( OutputStreamWriter controlWriter ) throws IOException {
322322
323323 /**
324324 * Write the homepage to the file.
325- *
325+ *
326326 * @param controlWriter the writer for the file
327327 * @throws IOException if the was an error while writing to the file
328328 */
@@ -335,7 +335,7 @@ private void putHomepage( OutputStreamWriter controlWriter ) throws IOException
335335
336336 /**
337337 * Adds a config file
338- *
338+ *
339339 * @param file the config file
340340 */
341341 public void addConfFile ( String file ) {
@@ -344,7 +344,7 @@ public void addConfFile( String file ) {
344344
345345 /**
346346 * Creates the <tt>conffiles</tt> file with a listing of all created configuration files.
347- *
347+ *
348348 * @throws IOException on I/O failures
349349 */
350350 private void createConfFilesFile () throws IOException {
@@ -368,7 +368,7 @@ private void createConfFilesFile() throws IOException {
368368
369369 /**
370370 * Adds a fragment to the specified install script at the tail section.
371- *
371+ *
372372 * @param script the install script
373373 * @param scriptFragment the fragment to add
374374 */
@@ -385,7 +385,7 @@ public void addTailScriptFragment( Script script, String scriptFragment ) {
385385
386386 /**
387387 * Adds a fragment to the specified install script at the head section.
388- *
388+ *
389389 * @param script the install script
390390 * @param scriptFragment the fragment to add
391391 */
@@ -401,9 +401,9 @@ public void addHeadScriptFragment( Script script, String scriptFragment ) {
401401 }
402402
403403 /**
404- * Creates the {post|pre}{inst|rm} install script files. Only scripts are generated when
404+ * Creates the {post|pre}{inst|rm} install script files. Scripts are generated only when
405405 * they are required.
406- *
406+ *
407407 * @throws IOException on I/O failures
408408 */
409409 private void createScripts () throws IOException {
0 commit comments