From 2b8119ec2def7d03f04db45da90ecb767227a234 Mon Sep 17 00:00:00 2001 From: atreeof_wind Date: Thu, 9 Oct 2025 19:56:12 +0800 Subject: [PATCH] fix lines Signed-off-by: atreeof_wind --- ohos/common_event_data/common_event_data.cj | 6 ++++-- ohos/common_event_manager/common_event_manager.cj | 3 ++- .../common_event_publish_data.cj | 3 ++- .../common_event_subscribe_info.cj | 8 +++++--- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ohos/common_event_data/common_event_data.cj b/ohos/common_event_data/common_event_data.cj index 233c173..f3dc838 100644 --- a/ohos/common_event_data/common_event_data.cj +++ b/ohos/common_event_data/common_event_data.cj @@ -47,7 +47,8 @@ public class CommonEventData { public var bundleName: String /** * Common event data received by the subscriber. The value of this field is the same as that of the code field in - * CommonEventPublishData when the publisher uses commonEventManager.publish to publish a common event. The default value is 0. + * CommonEventPublishData when the publisher uses commonEventManager.publish to publish a common event. The default + * value is 0. */ @!APILevel[ 22, @@ -65,7 +66,8 @@ public class CommonEventData { public var data: String /** * Additional information about the common event received by the subscriber. The value of this field is the same as - * that of the parameters field in CommonEventPublishData when the publisher uses commonEventManager.publish to publish a common event. + * that of the parameters field in CommonEventPublishData when the publisher uses commonEventManager.publish to + * publish a common event. */ @!APILevel[ 22, diff --git a/ohos/common_event_manager/common_event_manager.cj b/ohos/common_event_manager/common_event_manager.cj index cc5b093..120d282 100644 --- a/ohos/common_event_manager/common_event_manager.cj +++ b/ohos/common_event_manager/common_event_manager.cj @@ -29,7 +29,8 @@ public import ohos.common_event_subscriber.CommonEventSubscriber public import ohos.value_type.ValueType /** - * The CommonEventManager module provides common event capabilities, including the capabilities to publish, subscribe to, and unsubscribe from common events. + * The CommonEventManager module provides common event capabilities, including the capabilities to publish, subscribe + * to, and unsubscribe from common events. */ @!APILevel[ 22, diff --git a/ohos/common_event_publish_data/common_event_publish_data.cj b/ohos/common_event_publish_data/common_event_publish_data.cj index 1cd4a25..4ceb1eb 100644 --- a/ohos/common_event_publish_data/common_event_publish_data.cj +++ b/ohos/common_event_publish_data/common_event_publish_data.cj @@ -71,7 +71,8 @@ public class CommonEventPublishData { ] public var isOrdered: Bool /** - * Whether the common event is a sticky one. Only system applications and system services are allowed to send sticky events. + * Whether the common event is a sticky one. Only system applications and system services are allowed to + * send sticky events. */ @!APILevel[ 22, diff --git a/ohos/common_event_subscribe_info/common_event_subscribe_info.cj b/ohos/common_event_subscribe_info/common_event_subscribe_info.cj index ee8e846..3e4df89 100644 --- a/ohos/common_event_subscribe_info/common_event_subscribe_info.cj +++ b/ohos/common_event_subscribe_info/common_event_subscribe_info.cj @@ -78,7 +78,8 @@ public class CommonEventSubscribeInfo { ] public var events: Array /** - * Subscriber priority. The value ranges from –100 to +1000. If the value exceeds the upper or lower limit, the upper or lower limit is used. + * Subscriber priority. The value ranges from –100 to +1000. If the value exceeds the upper or lower limit, the + * upper or lower limit is used. */ @!APILevel[ 22, @@ -86,8 +87,9 @@ public class CommonEventSubscribeInfo { ] public var priority: Int32 /** - * User ID. If this parameter is not specified, the default value, which is the ID of the current user, will be used. - * The value must be an existing user ID in the system. Use getOsAccountLocalId to obtain the system account ID and use it as the user ID of the subscriber. + * User ID. If this parameter is not specified, the default value, which is the ID of the current user, will be + * used.The value must be an existing user ID in the system. Use getOsAccountLocalId to obtain the system account + * ID and use it as the user ID of the subscriber. */ @!APILevel[ 22,