Skip to content

Commit 7a43bdb

Browse files
atorralbageoffw0
andauthored
Apply suggestions from code review
Co-authored-by: Geoffrey White <[email protected]>
1 parent c2a2d6b commit 7a43bdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

swift/ql/lib/codeql/swift/frameworks/StandardLibrary/CustomUrlSchemes.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private class UrlRemoteFlowSource extends SourceModelCsv {
2626
// This is a temporary workaround until the TODO above is addressed.
2727
private class UrlLaunchOptionsRemoteFlowSource extends RemoteFlowSource {
2828
UrlLaunchOptionsRemoteFlowSource() {
29-
exists(ApllicationWithLaunchOptionsFunc f, SubscriptExpr e |
29+
exists(ApplicationWithLaunchOptionsFunc f, SubscriptExpr e |
3030
DataFlow::localExprFlow(f.getParam(1).getAnAccess(), e.getBase()) and
3131
e.getAnArgument().getExpr().(MemberRefExpr).getMember() instanceof LaunchOptionsUrlVarDecl and
3232
this.asExpr() = e
@@ -38,8 +38,8 @@ private class UrlLaunchOptionsRemoteFlowSource extends RemoteFlowSource {
3838
}
3939
}
4040

41-
private class ApllicationWithLaunchOptionsFunc extends FuncDecl {
42-
ApllicationWithLaunchOptionsFunc() {
41+
private class ApplicationWithLaunchOptionsFunc extends FuncDecl {
42+
ApplicationWithLaunchOptionsFunc() {
4343
this.getName() = "application(_:" + ["did", "will"] + "FinishLaunchingWithOptions:)" and
4444
this.getEnclosingDecl().(ClassOrStructDecl).getABaseTypeDecl*().(ProtocolDecl).getName() =
4545
"UIApplicationDelegate"

0 commit comments

Comments
 (0)