You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Gera Shegalov (JIRA)" <ji...@apache.org> on 2014/04/29 13:28:14 UTC
[jira] [Updated] (HADOOP-10549) MAX_SUBST and varPat should be
final in Configuration.java
[ https://issues.apache.org/jira/browse/HADOOP-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gera Shegalov updated HADOOP-10549:
-----------------------------------
Attachment: HADOOP-10549.v01.patch
> 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
> Attachments: HADOOP-10549.v01.patch
>
>
> 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)