Skip to content

Commit 5965ff0

Browse files
jsorefmichael-o
authored andcommitted
Spelling fixes
* accessible * acknowledgement * already * ampersand * and * architecture * argument * attempts * canonical * change * character * compaction * completed * constraint * contain * declared * default * delivered * destination * different * disposed * efficient * entity * even * exactly * exceeded * exception * exclude * exist * exists * expanded * failure * feature * for compacting * function * functionality * guarantee * ignore * immediately * interpreter * label * maintain * maximum * may * message * namespace * necessarily * null * occurrences * otherwise * override * parameters * parser * parts * paths * perform * platform * position * preceded * predecessor * prefix * present * reference * reporting * reserved * searched * separator * specification * specified * string * structure * subclasses * supports * sweeper * throwable * university * unsupported * vertex * visited This closes #19
1 parent 9df4f30 commit 5965ff0

37 files changed

+166
-166
lines changed

src/main/java/org/codehaus/plexus/util/CachedMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public CachedMap(int cacheSize) {
9696

9797
/**
9898
* Creates a cached map backed by the specified map and having the specified
99-
* cache size. In order to maitain cache veracity, it is critical
99+
* cache size. In order to maintain cache veracity, it is critical
100100
* that <b>all</b> update to the backing map is accomplished through the
101101
* {@link CachedMap} instance; otherwise {@link #flush} has to be called.
102102
*

src/main/java/org/codehaus/plexus/util/CollectionUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public static <T> Collection<T> subtract( final Collection<T> a, final Collectio
185185
/**
186186
* Returns a {@link Map} mapping each unique element in
187187
* the given {@link Collection} to an {@link Integer}
188-
* representing the number of occurances of that element
188+
* representing the number of occurrences of that element
189189
* in the {@link Collection}.
190190
* An entry that maps to <tt>null</tt> indicates that the
191191
* element does not appear in the given {@link Collection}.

src/main/java/org/codehaus/plexus/util/DirectoryScanner.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
* distribution.
1818
*
1919
* 3. The end-user documentation included with the redistribution, if
20-
* any, must include the following acknowlegement:
20+
* any, must include the following acknowledgement:
2121
* "This product includes software developed by the
2222
* Apache Software Foundation (http://www.codehaus.org/)."
23-
* Alternately, this acknowlegement may appear in the software itself,
24-
* if and wherever such third-party acknowlegements normally appear.
23+
* Alternately, this acknowledgement may appear in the software itself,
24+
* if and wherever such third-party acknowledgements normally appear.
2525
*
2626
* 4. The names "Ant" and "Apache Software
2727
* Foundation" must not be used to endorse or promote products derived
@@ -467,7 +467,7 @@ protected void scandir( File dir, String vpath, boolean fast )
467467
}
468468
catch ( IOException ioe )
469469
{
470-
String msg = "IOException caught while checking " + "for links, couldn't get cannonical path!";
470+
String msg = "IOException caught while checking " + "for links, couldn't get canonical path!";
471471
// will be caught and redirected to Ant's logging system
472472
System.err.println( msg );
473473
noLinks.add( newfile );

src/main/java/org/codehaus/plexus/util/ExceptionUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
* distribution.
1818
*
1919
* 3. The end-user documentation included with the redistribution, if
20-
* any, must include the following acknowlegement:
20+
* any, must include the following acknowledgement:
2121
* "This product includes software developed by the
2222
* Apache Software Foundation (http://www.codehaus.org/)."
23-
* Alternately, this acknowlegement may appear in the software itself,
24-
* if and wherever such third-party acknowlegements normally appear.
23+
* Alternately, this acknowledgement may appear in the software itself,
24+
* if and wherever such third-party acknowledgements normally appear.
2525
*
2626
* 4. The names "The Jakarta Project", "Commons", and "Apache Software
2727
* Foundation" must not be used to endorse or promote products derived

src/main/java/org/codehaus/plexus/util/Expand.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
* distribution.
2020
*
2121
* 3. The end-user documentation included with the redistribution, if
22-
* any, must include the following acknowlegement:
22+
* any, must include the following acknowledgement:
2323
* "This product includes software developed by the
2424
* Apache Software Foundation (http://www.codehaus.org/)."
25-
* Alternately, this acknowlegement may appear in the software itself,
26-
* if and wherever such third-party acknowlegements normally appear.
25+
* Alternately, this acknowledgement may appear in the software itself,
26+
* if and wherever such third-party acknowledgements normally appear.
2727
*
2828
* 4. The names "The Jakarta Project", "Ant", and "Apache Software
2929
* Foundation" must not be used to endorse or promote products derived

src/main/java/org/codehaus/plexus/util/FastMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ private void addEntry(Object key, Object value) {
663663
entry = new EntryImpl();
664664
}
665665

666-
// Setup entry paramters.
666+
// Setup entry parameters.
667667
entry._key = key;
668668
entry._value = value;
669669
int index = keyHash(key) & _mask;

src/main/java/org/codehaus/plexus/util/FileUtils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ public static String removePath( final String filepath )
901901
* </pre>
902902
*
903903
* @param filepath the path of the file
904-
* @param fileSeparatorChar the file separator character like <b>/</b> on Unix plateforms.
904+
* @param fileSeparatorChar the file separator character like <b>/</b> on Unix platforms.
905905
* @return the filename minus path
906906
*/
907907
public static String removePath( final String filepath, final char fileSeparatorChar )
@@ -941,7 +941,7 @@ public static String getPath( final String filepath )
941941
* </pre>
942942
*
943943
* @param filepath the filepath
944-
* @param fileSeparatorChar the file separator character like <b>/</b> on Unix plateforms.
944+
* @param fileSeparatorChar the file separator character like <b>/</b> on Unix platforms.
945945
* @return the filename minus path
946946
*/
947947
public static String getPath( final String filepath, final char fileSeparatorChar )
@@ -2019,7 +2019,7 @@ public static void copyDirectory( File sourceDirectory, File destinationDirector
20192019
* @param sourceDirectory the source dir
20202020
* @param destinationDirectory the target dir
20212021
* @param includes include pattern
2022-
* @param excludes exlucde pattern
2022+
* @param excludes exclude pattern
20232023
* @throws IOException if any
20242024
* @see #getFiles(File, String, String)
20252025
*/
@@ -2052,7 +2052,7 @@ public static void copyDirectory( File sourceDirectory, File destinationDirector
20522052
* @param sourceDirectory the source dir
20532053
* @param destinationDirectory the target dir
20542054
* @param includes include pattern
2055-
* @param excludes exlucde pattern
2055+
* @param excludes exclude pattern
20562056
* @throws IOException if any
20572057
* @since 1.5.7
20582058
*/
@@ -2338,7 +2338,7 @@ public static abstract class FilterWrapper
23382338
* @param encoding the file output encoding (only if wrappers is not empty)
23392339
* @param wrappers array of {@link FilterWrapper}
23402340
* @param overwrite if true and f wrappers is null or empty, the file will be copy
2341-
* enven if to.lastModified() < from.lastModified()
2341+
* even if to.lastModified() < from.lastModified()
23422342
* @throws IOException if an IO error occurs during copying or filtering
23432343
* @since 1.5.2
23442344
*/

src/main/java/org/codehaus/plexus/util/InterpolationFilterReader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
* distribution.
1818
*
1919
* 3. The end-user documentation included with the redistribution, if
20-
* any, must include the following acknowlegement:
20+
* any, must include the following acknowledgement:
2121
* "This product includes software developed by the
2222
* Apache Software Foundation (http://www.codehaus.org/)."
23-
* Alternately, this acknowlegement may appear in the software itself,
24-
* if and wherever such third-party acknowlegements normally appear.
23+
* Alternately, this acknowledgement may appear in the software itself,
24+
* if and wherever such third-party acknowledgements normally appear.
2525
*
2626
* 4. The names "Ant" and "Apache Software
2727
* Foundation" must not be used to endorse or promote products derived

src/main/java/org/codehaus/plexus/util/Os.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
* distribution.
1818
*
1919
* 3. The end-user documentation included with the redistribution, if
20-
* any, must include the following acknowlegement:
20+
* any, must include the following acknowledgement:
2121
* "This product includes software developed by the
2222
* Apache Software Foundation (http://www.apache.org/)."
23-
* Alternately, this acknowlegement may appear in the software itself,
24-
* if and wherever such third-party acknowlegements normally appear.
23+
* Alternately, this acknowledgement may appear in the software itself,
24+
* if and wherever such third-party acknowledgements normally appear.
2525
*
2626
* 4. The names "Ant" and "Apache Software
2727
* Foundation" must not be used to endorse or promote products derived
@@ -275,7 +275,7 @@ public static boolean isVersion( String version )
275275
* Determines if the current OS matches the given OS
276276
* family, name, architecture and version.
277277
*
278-
* The name, archictecture and version are compared to
278+
* The name, architecture and version are compared to
279279
* the System properties os.name, os.version and os.arch
280280
* in a case-independent way.
281281
*

src/main/java/org/codehaus/plexus/util/PathTool.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public static final String calculateLink( String link, String relativePath )
245245
}
246246

247247
/**
248-
* This method can calculate the relative path between two pathes on a web site.
248+
* This method can calculate the relative path between two paths on a web site.
249249
* <br/>
250250
* <pre>
251251
* PathTool.getRelativeWebPath( null, null ) = ""
@@ -279,7 +279,7 @@ public static final String getRelativeWebPath( final String oldPath, final Strin
279279
}
280280

281281
/**
282-
* This method can calculate the relative path between two pathes on a file system.
282+
* This method can calculate the relative path between two paths on a file system.
283283
* <br/>
284284
* <pre>
285285
* PathTool.getRelativeFilePath( null, null ) = ""

0 commit comments

Comments
 (0)