Typo fixes in markdown and javadoc as suggested by intellij typo inspection.
--
MOS_MIGRATED_REVID=128476121
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java b/src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java
index a3ffa38..8c1b34a 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java
@@ -98,7 +98,7 @@
case LABEL_FIELD:
return getLabel();
case FILES_FIELD:
- // A shortcut for files to build in Skylark. FileConfiguredTarget and RunleConfiguredTarget
+ // A shortcut for files to build in Skylark. FileConfiguredTarget and RuleConfiguredTarget
// always has FileProvider and Error- and PackageGroupConfiguredTarget-s shouldn't be
// accessible in Skylark.
return SkylarkNestedSet.of(
diff --git a/src/main/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitor.java b/src/main/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitor.java
index 3833ab3..9db1c22 100644
--- a/src/main/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitor.java
+++ b/src/main/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitor.java
@@ -394,7 +394,7 @@
}
/**
- * Subclasses may override this to make dynamic decisiouns about whether to run tasks
+ * Subclasses may override this to make dynamic decisions about whether to run tasks
* asynchronously versus in-thread.
*/
protected boolean runConcurrently() {
diff --git a/src/main/java/com/google/devtools/build/lib/events/Location.java b/src/main/java/com/google/devtools/build/lib/events/Location.java
index 9c74dba..1da66dd 100644
--- a/src/main/java/com/google/devtools/build/lib/events/Location.java
+++ b/src/main/java/com/google/devtools/build/lib/events/Location.java
@@ -135,7 +135,7 @@
*
* <p>This method is intentionally abstract, as a space optimisation. Some
* subclass instances implement sharing of common data (e.g. tables for
- * convering offsets into line numbers) and this enables them to share the
+ * converting offsets into line numbers) and this enables them to share the
* Path value in the same way.
*/
public abstract PathFragment getPath();
diff --git a/src/main/java/com/google/devtools/build/lib/rules/AliasConfiguredTarget.java b/src/main/java/com/google/devtools/build/lib/rules/AliasConfiguredTarget.java
index fb748c46..596675f 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/AliasConfiguredTarget.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/AliasConfiguredTarget.java
@@ -94,7 +94,7 @@
if (name.equals("label")) {
return getLabel();
} else if (name.equals("files")) {
- // A shortcut for files to build in Skylark. FileConfiguredTarget and RunleConfiguredTarget
+ // A shortcut for files to build in Skylark. FileConfiguredTarget and RuleConfiguredTarget
// always has FileProvider and Error- and PackageGroupConfiguredTarget-s shouldn't be
// accessible in Skylark.
return SkylarkNestedSet.of(Artifact.class, actual == null
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/AfterCommandEvent.java b/src/main/java/com/google/devtools/build/lib/runtime/AfterCommandEvent.java
index 0cc6302..178f1ff 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/AfterCommandEvent.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/AfterCommandEvent.java
@@ -15,7 +15,7 @@
/**
* An event that is guaranteed to be posted after every command, no matter what the command was and
- * how it terminated. Listeneres on the event bus can use this event to do any final resource clean
+ * how it terminated. Listeners on the event bus can use this event to do any final resource clean
* up.
*/
public class AfterCommandEvent {}
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/AbstractFileSystem.java b/src/main/java/com/google/devtools/build/lib/vfs/AbstractFileSystem.java
index 86d9053..8538cda 100644
--- a/src/main/java/com/google/devtools/build/lib/vfs/AbstractFileSystem.java
+++ b/src/main/java/com/google/devtools/build/lib/vfs/AbstractFileSystem.java
@@ -37,7 +37,7 @@
@Override
protected InputStream getInputStream(Path path) throws IOException {
- // This loop is a workaround for an apparent bug in FileInputStrean.open, which delegates
+ // This loop is a workaround for an apparent bug in FileInputStream.open, which delegates
// ultimately to JVM_Open in the Hotspot JVM. This call is not EINTR-safe, so we must do the
// retry here.
for (;;) {