Skip to content

Commit e3a3b46

Browse files
committed
fixed typos
1 parent 4ceb740 commit e3a3b46

File tree

8 files changed

+11
-10
lines changed

8 files changed

+11
-10
lines changed

src/main/java/org/codehaus/plexus/components/io/attributes/AttributeUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public static BasicFileAttributes getFileAttributes( Path path )
134134
}
135135
catch ( UnsupportedOperationException ignore )
136136
{
137-
// Maybe ignoring is dramatic. Maybe not. But we do get the basic attrs anyqway
137+
// Maybe ignoring is dramatic. Maybe not. But we do get the basic attrs anyway
138138
}
139139
}
140140
return Files.readAttributes( path, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS );

src/main/java/org/codehaus/plexus/components/io/attributes/PlexusIoResourceAttributes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public interface PlexusIoResourceAttributes
7878
//String getOctalModeString();
7979

8080
/**
81-
* Indicates if this is a symnbolic link element.
81+
* Indicates if this is a symbolic link element.
8282
* For file-based resource attributes this value may be always "false" for versions prior to java7.
8383
* @return True if the file is a symlink or false if not.
8484
*/

src/main/java/org/codehaus/plexus/components/io/filemappers/RegExpFileMapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public String getReplacement()
7070
}
7171

7272
/**
73-
* Returns, whether to replace the first occurrency of the pattern
73+
* Returns, whether to replace the first occurrence of the pattern
7474
* (default), or all.
7575
*/
7676
public boolean getReplaceAll()
@@ -79,7 +79,7 @@ public boolean getReplaceAll()
7979
}
8080

8181
/**
82-
* Sets, whether to replace the first occurrency of the pattern
82+
* Sets, whether to replace the first occurrence of the pattern
8383
* (default), or all.
8484
*/
8585
public void setReplaceAll( boolean pReplaceAll )

src/main/java/org/codehaus/plexus/components/io/filemappers/SuffixFileMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* A file mapper, which maps by adding a suffix to the filename.
2121
* If the filename contains dot, the suffix will be added before.
22-
* Example : {@code directory/archive.tar.gz => directory/archivesuffix.tar.gz}
22+
* Example: {@code directory/archive.tar.gz => directory/archivesuffix.tar.gz}
2323
*/
2424
public class SuffixFileMapper extends AbstractFileMapper
2525
{

src/main/java/org/codehaus/plexus/components/io/resources/AbstractPlexusIoArchiveResourceCollection.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ public void forEach( PlexusIoResourceConsumer resourceConsumer )
152152
};
153153
}
154154

155-
public long getLastModified() throws IOException
155+
public long getLastModified()
156+
throws IOException
156157
{
157158
File f = getFile();
158159
return f == null ? PlexusIoResource.UNKNOWN_MODIFICATION_DATE : f.lastModified();

src/main/java/org/codehaus/plexus/components/io/resources/PlexusIoArchivedResourceCollection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020

2121
/**
2222
* Extension of {@link PlexusIoResourceCollection} for archive
23-
* files: Zip, tar, gzip, bzip2, etc. files.
23+
* files: zip, tar, gzip, bzip2, etc. files.
2424
*/
2525
public interface PlexusIoArchivedResourceCollection
2626
extends PlexusIoResourceCollection
2727
{
2828
/**
29-
* Sets the arcihve file
29+
* Sets the archive file
3030
*/
3131
void setFile( File file );
3232

src/main/java/org/codehaus/plexus/components/io/resources/PlexusIoFileResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static String getName( File file )
110110
}
111111

112112
/**
113-
* Returns the resources file.
113+
* Returns the resource file.
114114
*/
115115
@Nonnull
116116
public File getFile()

src/main/java/org/codehaus/plexus/components/io/resources/PlexusIoResourceCollection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public interface PlexusIoResourceCollection extends Iterable<PlexusIoResource>
8080
InputStream getInputStream( PlexusIoResource resource ) throws IOException;
8181

8282
/**
83-
* Resolves the supplide resource into a "real" resource. Resolving
83+
* Resolves the supplied resource into a "real" resource. Resolving
8484
* means applying input transformations
8585
* Returns an input stream for the provided resource, with stream transformers applied
8686
* @param resource The resources

0 commit comments

Comments
 (0)