hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gera Shegalov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10549) MAX_SUBST and varPat should be final in Configuration.java
Date Tue, 29 Apr 2014 11:24:14 GMT
Gera Shegalov created HADOOP-10549:
--------------------------------------

             Summary: MAX_SUBST and varPat should be final in Configuration.java
                 Key: HADOOP-10549
                 URL: https://issues.apache.org/jira/browse/HADOOP-10549
             Project: Hadoop Common
          Issue Type: Bug
          Components: conf
    Affects Versions: 2.4.0
            Reporter: Gera Shegalov
            Assignee: Gera Shegalov


In Configuration, expansion of variables is handled using the following constants that are
not declared final:

{code}
  private static Pattern varPat = Pattern.compile("\\$\\{[^\\}\\$\u0020]+\\}");
  private static int MAX_SUBST = 20;
{code}





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message