Skip to content

Commit

Permalink
Restyled by google-java-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and joonhaengHeo committed Jul 3, 2023
1 parent 68c71ae commit ecdef68
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/controller/java/src/chip/devicecontroller/ChipIdLookup.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

public final class ChipIdLookup {
/**
* Translates cluster ID to a cluster name in upper camel case. If no matching
* ID is found, returns an empty string.
* Translates cluster ID to a cluster name in upper camel case. If no matching ID is found,
* returns an empty string.
*/
public static String clusterIdToName(long clusterId) {
ClusterIDMapping.BaseCluster cluster = ClusterIDMapping.getCluster(clusterId);
Expand All @@ -32,9 +32,8 @@ public static String clusterIdToName(long clusterId) {
}

/**
* Translates cluster ID and attribute ID to an attribute name in upper camel
* case.
* If no matching IDs are found, returns an empty string.
* Translates cluster ID and attribute ID to an attribute name in upper camel case. If no matching
* IDs are found, returns an empty string.
*/
public static String attributeIdToName(long clusterId, long attributeId) {
ClusterIDMapping.BaseCluster cluster = ClusterIDMapping.getCluster(clusterId);
Expand All @@ -50,8 +49,8 @@ public static String attributeIdToName(long clusterId, long attributeId) {
}

/**
* Translates cluster ID and event ID to an attribute name in upper camel case.
* If no matching IDs are found, returns an empty string.
* Translates cluster ID and event ID to an attribute name in upper camel case. If no matching IDs
* are found, returns an empty string.
*/
public static String eventIdToName(long clusterId, long eventId) {
ClusterIDMapping.BaseCluster cluster = ClusterIDMapping.getCluster(clusterId);
Expand Down

0 comments on commit ecdef68

Please sign in to comment.