Skip to content

Commit 04cbbb3

Browse files
authored
some nits (#1279)
1 parent 7c9e58a commit 04cbbb3

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/main/java/org/apache/maven/plugins/assembly/archive/phase/AssemblyArchiverPhase.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public interface AssemblyArchiverPhase {
4343
* the assembly process.
4444
* @throws org.apache.maven.plugins.assembly.archive.ArchiveCreationException in case of an archive
4545
* creation error.
46-
* @throws org.apache.maven.plugins.assembly.format.AssemblyFormattingException in case of a assembly
47-
* formatting exception.
46+
* @throws org.apache.maven.plugins.assembly.format.AssemblyFormattingException in case of an assembly formatting exception.
4847
* @throws org.apache.maven.plugins.assembly.InvalidAssemblerConfigurationException in case of an invalid
4948
* assembler configuration.
5049
*/

src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public abstract class AbstractAssemblyMojo extends AbstractMojo implements Assem
284284
private boolean attach;
285285

286286
/**
287-
* Indicates if zip archives (jar,zip etc) being added to the assembly should be compressed again. Compressing again
287+
* Indicates if zip archives (jar, zip, etc.) being added to the assembly should be compressed again. Compressing again
288288
* can result in smaller archive size, but gives noticeably longer execution time.
289289
*
290290
* @since 2.4
@@ -314,7 +314,7 @@ public abstract class AbstractAssemblyMojo extends AbstractMojo implements Assem
314314

315315
/**
316316
* Allows additional configuration options that are specific to a particular type of archive format. This is
317-
* intended to capture an XML configuration that will be used to reflectively setup the options on the archiver
317+
* intended to capture an XML configuration that will be used to reflectively set up the options on the archiver
318318
* instance. <br/> To see the possible options for archiver configuration visit the
319319
* <a href="https://codehaus-plexus.github.io/plexus-archiver/apidocs/org/codehaus/plexus/archiver/Archiver.html">
320320
* Plexus Archiver Documentation</a> <br/> For instance, to direct an assembly with the "ear" format to use a

src/main/java/org/apache/maven/plugins/assembly/utils/LineEndingsUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ private LineEndingsUtils() {
4444
*
4545
* @param source The source file, not null
4646
* @param dest The destination file, not null
47-
* @param lineEndings This is the result of the getLineEndingChars(..) method in this utility class; the actual
47+
* @param lineEndings This is the result of the getLineEndingChars() method in this utility class; the actual
4848
* line-ending characters, not null.
4949
* @param atEndOfFile The end-of-file line ending, if true then the resulting file will have a new line at the end
5050
* even if the input didn't have one, if false then the resulting file will have no new line at
@@ -114,7 +114,7 @@ private static BufferedWriter getBufferedWriter(File dest, String encoding) thro
114114
* Converts the line endings of a file, writing a new file. The encoding of reading and writing can be specified.
115115
*
116116
* @param in The source reader
117-
* @param lineEndings This is the result of the getLineEndingChars(..) method in this utility class; the actual
117+
* @param lineEndings This is the result of the getLineEndingChars() method in this utility class; the actual
118118
* line-ending characters, not null.
119119
* @return an input stream that enforces a specifi line ending style
120120
*/

0 commit comments

Comments
 (0)