Skip to content

Commit

Permalink
Correct typos found by the linter.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 179748374
  • Loading branch information
gregestren authored and Copybara-Service committed Dec 21, 2017
1 parent 29a9682 commit e98f344
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ private static class EnvironmentCollector {
* environments. If the rule doesn't have this attribute, this is considered an
* empty declaration.
* @param defaultsProvider provider for the default environments within a group if not
* otherwise overriden by the above attributes
* otherwise overridden by the above attributes
*/
EnvironmentCollector(RuleContext ruleContext, String restrictionAttr, String compatibilityAttr,
DefaultsProvider defaultsProvider) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
public class J2ObjcConfiguration extends Fragment {
/**
* Always-on flags for J2ObjC translation. These flags are always used when invoking the J2ObjC
* transpiler, and cannot be overriden by user-specified flags in {@link
* transpiler, and cannot be overridden by user-specified flags in {@link
* J2ObjcCommandLineOptions}. See http://j2objc.org/docs/j2objc.html for flag documentation.
*/
private static final ImmutableList<String> J2OBJC_ALWAYS_ON_TRANSLATION_FLAGS = ImmutableList.of(
Expand All @@ -50,7 +50,7 @@ public class J2ObjcConfiguration extends Fragment {

/**
* Default flags for J2ObjC translation. These flags are used by default when invoking the J2ObjC
* transpiler, but can be overriden by user-specified flags in {@link J2ObjcCommandLineOptions}.
* transpiler, but can be overridden by user-specified flags in {@link J2ObjcCommandLineOptions}.
* See http://j2objc.org/docs/j2objc.html for flag documentation.
*/
private static final ImmutableList<String> J2OBJC_DEFAULT_TRANSLATION_FLAGS =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public ProfiledFileInputStream(String name) throws FileNotFoundException {
public int read() throws IOException {
long startTime = Profiler.nanoTimeMaybe();
try {
// Note that FileInputStream#read() does *not* call any of our overriden methods,
// Note that FileInputStream#read() does *not* call any of our overridden methods,
// so there's no concern with double counting here.
return super.read();
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public final void initialize() throws Exception {
}

protected void beforeInitialization() throws Exception {
// This method exists so that it can be overriden in MakeEnvironmentTest.
// This method exists so that it can be overridden in MakeEnvironmentTest.
// The problem is that MakeEnvironmentTest's initialization code (setting up makeEnvBuilder)
// needs to run before initialize(), otherwise some tests fail with an NPE.
// Consequently, we need this hack to ensure the right order of methods.
Expand Down

0 comments on commit e98f344

Please sign in to comment.