aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-07-26 15:52:48 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-07-27 11:14:46 +0000
commit89100870293e5ba00eddcf470a1dbb6c3ca309b8 (patch)
tree735b3e507310620c2cb57a1e51394da5bdcbd302 /src/main/java/com/google/devtools/build
parent3b16a284b202e410d3b1bc9b14a578773e530b18 (diff)
Typo fixes in markdown and javadoc as suggested by intellij typo inspection.
-- MOS_MIGRATED_REVID=128476121
Diffstat (limited to 'src/main/java/com/google/devtools/build')
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java2
-rw-r--r--src/main/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitor.java2
-rw-r--r--src/main/java/com/google/devtools/build/lib/events/Location.java2
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/AliasConfiguredTarget.java2
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/AfterCommandEvent.java2
-rw-r--r--src/main/java/com/google/devtools/build/lib/vfs/AbstractFileSystem.java2
6 files changed, 6 insertions, 6 deletions
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 a3ffa389d9..8c1b34a0a6 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 @@ public abstract class AbstractConfiguredTarget
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 3833ab3868..9db1c22021 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 @@ public class AbstractQueueVisitor implements QuiescingExecutor {
}
/**
- * 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 9c74dbaf91..1da66dda00 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 @@ public abstract class Location implements Serializable {
*
* <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 fb748c46cc..596675fe5f 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 @@ public final class AliasConfiguredTarget implements ConfiguredTarget, ClassObjec
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 0cc630211f..178f1ffdfb 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 @@ package com.google.devtools.build.lib.runtime;
/**
* 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 86d90534fe..8538cda9b7 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 @@ abstract class AbstractFileSystem extends FileSystem {
@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 (;;) {