Merge "Fix some typos in error messages in apex/apex.go."

am: 88e3f7e3de

Change-Id: I4018d96934d229c6ec0c04de1ea862b473542932
This commit is contained in:
Roland Levillain 2019-07-31 10:55:19 -07:00 committed by android-build-merger
commit 5c533a0c75

View file

@ -354,7 +354,7 @@ func (a apexPackaging) suffix() string {
case both:
panic(fmt.Errorf("must be either zip or image"))
default:
panic(fmt.Errorf("unkonwn APEX type %d", a))
panic(fmt.Errorf("unknown APEX type %d", a))
}
}
@ -367,7 +367,7 @@ func (a apexPackaging) name() string {
case both:
panic(fmt.Errorf("must be either zip or image"))
default:
panic(fmt.Errorf("unkonwn APEX type %d", a))
panic(fmt.Errorf("unknown APEX type %d", a))
}
}
@ -384,7 +384,7 @@ func (class apexFileClass) NameInMake() string {
case nativeTest:
return "NATIVE_TESTS"
default:
panic(fmt.Errorf("unkonwn class %d", class))
panic(fmt.Errorf("unknown class %d", class))
}
}