Apache9 commented on code in PR #8623:
URL: https://github.com/apache/hbase/pull/8623#discussion_r4032297851


##########
hbase-common/src/main/java/org/apache/hadoop/hbase/util/VersionInfo.java:
##########
@@ -40,15 +40,12 @@ public class VersionInfo {
   // higher than any numbers in the version.
   private static final int VERY_LARGE_NUMBER = 100000;
 
-  // Copying into a non-final member so that it can be changed by reflection 
for testing
-  private static String version = Version.version;
-
   /**
    * Get the hbase version.
    * @return the hbase version string, eg. "0.6.3-dev"
    */
   public static String getVersion() {
-    return version;

Review Comment:
   This is the only place where we override this field by reflection?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to