Skip to content

Conversation

@lamberken
Copy link
Member

What changes were proposed in this pull request?

Add ModifierOrder to checkstyle rules

  • public final static to public static final
  • static public to public static
  • etc

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-4737

How was this patch tested?

No need new tests.

@amaliujia
Copy link
Contributor

+1 seems be fine to enforce modifier order from now. The existing violation thus fix in this PR is not too large.

@lamberken
Copy link
Member Author

+1 seems be fine to enforce modifier order from now. The existing violation thus fix in this PR is not too large.

Thanks @amaliujia

@ayushtkn
Copy link
Member

Well this looks good to have, but this is changing the rules at the project level, I think such changes if required should be notified on the dev list.

FYI. Hadoop too had this checkstyle rule, but was disabled as part of HADOOP-12713

@amaliujia
Copy link
Contributor

Sounds reasonable to at least mention this in dev list as it will impact all developers (though the impact is supposed to be minor)

@lamberken
Copy link
Member Author

lamberken commented Jan 26, 2021

Got. @amaliujia @ayushtkn

@lamberken
Copy link
Member Author

hi @amaliujia @ayushtkn @elek, please review this pr again if you are free, thanks 😄

@lamberken
Copy link
Member Author

hi @adoroszlai , please review this pr again if you are free, thanks. If the merge operation is late, it will cause more conflicts.

Copy link
Member

@ayushtkn ayushtkn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no objection on the MailingList
We are good to go then. +1

@lamberken
Copy link
Member Author

There is no objection on the MailingList
We are good to go then. +1

Thanks 👍

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lamber-ken for proposing this. The meat of the change looks good.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lamber-ken for updating the patch.

@adoroszlai adoroszlai merged commit c426595 into apache:master Jan 30, 2021
@adoroszlai
Copy link
Contributor

Thanks @lamber-ken for the improvement, @amaliujia and @ayushtkn for the review.

@lamberken
Copy link
Member Author

Thanks @lamber-ken for the improvement, @amaliujia and @ayushtkn for the review.

Welcome.

errose28 added a commit to errose28/ozone that referenced this pull request Feb 1, 2021
* master: (176 commits)
  HDDS-4760. Intermittent failure in ozone-ha acceptance test (apache#1853)
  HDDS-4770. Upgrade Ratis Thirdparty to 0.6.0 (apache#1868)
  HDDS-4765. Update close-pending workflow for new repo (apache#1856)
  HDDS-4737. Add ModifierOrder to checkstyle rules (apache#1839)
  HDDS-4704. Add permission check in OMDBCheckpointServlet (apache#1801)
  HDDS-4757. Unnecessary WARNING to set OZONE_CONF_DIR (apache#1849)
  HDDS-4751. TestOzoneFileSystem#testTrash failed when enabledFileSystemPaths and omRatisDisabled (apache#1851)
  HDDS-4736. Intermittent failure in testExpiredCertificate (apache#1838)
  HDDS-4758. Adjust classpath of ozone version to include log4j (apache#1850)
  HDDS-4518. Add metrics around Trash Operations. (apache#1832)
  HDDS-4708. Optimization: update RetryCount less frequently (update once per ~100) (apache#1805)
  HDDS-4748. sonarqube issue fix - "static" members should be accessed statically (apache#1748)
  HDDS-2402. Adapt hadolint check to improved CI framework (apache#1778)
  HDDS-4698. Upgrade Java for Sonar check (apache#1800)
  HDDS-4739. Upgrade Ratis to 1.1.0-eb66796d-SNAPSHOT (apache#1842)
  HDDS-4735. Fix typo in hdds.proto (apache#1837)
  HDDS-4430. OM failover timeout is too short (apache#1807)
  HDDS-4477. Delete txnId in SCMMetadataStoreImpl may drop to 0 after SCM restart. (apache#1828)
  HDDS-4688. Update Hadoop version to 3.2.2 (apache#1795)
  HDDS-4725. Change metrics unit from nanosecond to millisecond (apache#1823)
  ...
@lamberken lamberken deleted the patch branch February 7, 2021 06:07
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.

4 participants