[vesync] Fix modifier order (#14831)

These modifiers are out of order with the JLS suggestions.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born 2023-04-16 23:04:33 +02:00 committed by GitHub
parent 827d4d7dc9
commit cf96eae039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,17 +38,17 @@ public class VeSyncDeviceMetadata {
* The name of the family the set of ID's represents. * The name of the family the set of ID's represents.
* *
*/ */
final public String deviceFamilyName; public final String deviceFamilyName;
/** /**
* The version id, that represents the specific model of the device * The version id, that represents the specific model of the device
*/ */
final public List<String> deviceGenerations; public final List<String> deviceGenerations;
/** /**
* Device Types not following the standard 3 segment convention * Device Types not following the standard 3 segment convention
*/ */
final public List<String> nonStandardIds; public final List<String> nonStandardIds;
public boolean deviceTypeIdMatches(final String deviceType, final String[] deviceTypeSegments) { public boolean deviceTypeIdMatches(final String deviceType, final String[] deviceTypeSegments) {
if (nonStandardIds.contains(deviceType)) { if (nonStandardIds.contains(deviceType)) {