Back out "Use component.className instead of NSStringFromClass"
Summary: Original diff broke OSS flipper. Need a new OSS release of CK first Original commit changeset: 3e7564b25610 Reviewed By: kfirapps Differential Revision: D20304743 fbshipit-source-id: 08a56359a42bc56b576d212e7cf642197a064076
This commit is contained in:
committed by
Facebook Github Bot
parent
5a4ac4c32d
commit
987822074b
@@ -109,10 +109,10 @@ static CK::StaticMutex _mutex = CK_MUTEX_INITIALIZER;
|
||||
auto const canBeReusedCounter = self.flipper_canBeReusedCounter;
|
||||
if (canBeReusedCounter > 0) {
|
||||
return [NSString stringWithFormat:@"%@ (Can be reused x%lu)",
|
||||
self.className,
|
||||
NSStringFromClass([self class]),
|
||||
(unsigned long)canBeReusedCounter];
|
||||
}
|
||||
return self.className;
|
||||
return NSStringFromClass([self class]);
|
||||
}
|
||||
|
||||
- (NSString*)sonar_getDecoration {
|
||||
|
||||
@@ -98,7 +98,7 @@ static CKFlexboxComponentChild findFlexboxLayoutParams(
|
||||
_size = layout.size;
|
||||
_position = position;
|
||||
_identifier = [parentKey stringByAppendingString:layout.component
|
||||
? layout.component.className
|
||||
? NSStringFromClass([layout.component class])
|
||||
: @"(null)"];
|
||||
|
||||
if (_component && reuseWrapper) {
|
||||
|
||||
Reference in New Issue
Block a user