Skip to content

Commit

Permalink
minor refactor to keep this java8 compatible for a downstream project…
Browse files Browse the repository at this point in the history
…... (#2301)
  • Loading branch information
mpollmeier authored Feb 23, 2023
1 parent 3e915af commit 9ee1a1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ object MethodStubCreator {
val nameIdx = stub.fullName.indexOf(stub.name)
stub.fullName.substring(0, nameIdx - 1)
} match {
case Success(typeFullName) if !typeFullName.isBlank && !typeFullName.startsWith("<operator>") =>
case Success(typeFullName) if typeFullName != "" && !typeFullName.startsWith("<operator>") =>
stub.astParentFullName(typeFullName).astParentType(NodeTypes.TYPE_DECL)
Some(typeFullName)
case _ => None
Expand Down

0 comments on commit 9ee1a1b

Please sign in to comment.