Skip to content

Rename IS_OBJECT_STORAGE to isObjectStorage for naming convention#17892

Open
clxstart wants to merge 1 commit into
apache:masterfrom
clxstart:fix/sonar-rename-is-object-storage
Open

Rename IS_OBJECT_STORAGE to isObjectStorage for naming convention#17892
clxstart wants to merge 1 commit into
apache:masterfrom
clxstart:fix/sonar-rename-is-object-storage

Conversation

@clxstart

@clxstart clxstart commented Jun 9, 2026

Copy link
Copy Markdown

Summary

  • Rename IS_OBJECT_STORAGE to isObjectStorage in IoTDBDataBackTool.java to comply with Java camelCase naming convention for non-constant mutable fields (SonarQube rule: field name should match ^[a-z][a-zA-Z0-9]*$).

Changes

Before After
static boolean IS_OBJECT_STORAGE = false; static boolean isObjectStorage = false;
IS_OBJECT_STORAGE = true; isObjectStorage = true;
if (IS_OBJECT_STORAGE) if (isObjectStorage)

No functional changes — purely a naming convention fix.

Part of #17740

Resolves SonarQube issue: field name should match '^[a-z][a-zA-Z0-9]*$'.
This is a non-constant mutable static field, so camelCase is required.

Part of apache#17740
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant