< prev index next >
src/jdk.compiler/share/classes/com/sun/tools/sjavac/Source.java
Print this page
@@ -179,11 +179,11 @@
s.save(b);
}
}
/**
- * Recurse into the directory root and find all files matchine the excl/incl/exclfiles/inclfiles rules.
+ * Recurse into the directory root and find all files matching the excl/incl/exclfiles/inclfiles rules.
* Detects the existence of module-info.java files and presumes that the directory it resides in
* is the name of the current module.
*/
static public void scanRoot(File root,
Set<String> suffixes,
@@ -225,11 +225,11 @@
throw new IOException("You have already added the file "+file+" from "+existing.file().getPath());
}
existing = currentModule.lookupSource(file.toString());
if (existing != null) {
- // Oups, the source is already added, could be ok, could be not, lets check.
+ // Oops, the source is already added, could be ok, could be not, lets check.
if (inLinksrc) {
// So we are collecting sources for linking only.
if (existing.isLinkedOnly()) {
// Ouch, this one is also for linking only. Bad.
throw new IOException("You have already added the link only file " + file + " from " + existing.file().getPath());
< prev index next >