Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit e085d0c

Browse files
committed
Add comment
1 parent 8f338d2 commit e085d0c

File tree

1 file changed

+1
-0
lines changed
  • plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/model/customer

1 file changed

+1
-0
lines changed

plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/model/customer/WCCustomerMapper.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ class WCCustomerMapper @Inject constructor() {
117117
}
118118
}
119119

120+
// Please refer WCCustomerMapperTest file which serves as documentation of how this function behaves.
120121
private fun String?.firstNameFromName(): String =
121122
this?.trim()?.replace("\\s+".toRegex(), " ")?.substringBefore(" ") ?: ""
122123

0 commit comments

Comments
 (0)