You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Henry Saputra (JIRA)" <ji...@apache.org> on 2010/12/10 04:01:01 UTC
[jira] Created: (SHINDIG-1481) Change hard coding the class names
for logging to use the Class.getName() instead
Change hard coding the class names for logging to use the Class.getName() instead
---------------------------------------------------------------------------------
Key: SHINDIG-1481
URL: https://issues.apache.org/jira/browse/SHINDIG-1481
Project: Shindig
Issue Type: Bug
Components: Java
Reporter: Henry Saputra
Assignee: Han Nguyen
Priority: Minor
In the rev 1043668 checkin, to fix SHINDIG-1477 - Externalize logging messages to resource bundle for i18n, the code added hardcoded string for classname.
For example:
private static final String classname = "org.apache.shindig.common.cache.LruCacheProvider";
If the purpose is just for reuse in the log statements, I think the code could just be:
private static final String classname = LruCacheProvider.class.getName();
The bug is created for tracking purpose.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SHINDIG-1481) Change hard coding the class names
for logging to use the Class.getName() instead
Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lindner resolved SHINDIG-1481.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
fixed
> Change hard coding the class names for logging to use the Class.getName() instead
> ---------------------------------------------------------------------------------
>
> Key: SHINDIG-1481
> URL: https://issues.apache.org/jira/browse/SHINDIG-1481
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Reporter: Henry Saputra
> Assignee: Han Nguyen
> Priority: Minor
> Fix For: 3.0.0
>
>
> In the rev 1043668 checkin, to fix SHINDIG-1477 - Externalize logging messages to resource bundle for i18n, the code added hardcoded string for classname.
> For example:
> private static final String classname = "org.apache.shindig.common.cache.LruCacheProvider";
> If the purpose is just for reuse in the log statements, I think the code could just be:
> private static final String classname = LruCacheProvider.class.getName();
> The bug is created for tracking purpose.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Closed] (SHINDIG-1481) Change hard coding the class names
for logging to use the Class.getName() instead
Posted by "Paul Lindner (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lindner closed SHINDIG-1481.
---------------------------------
part of 2.5.0-beta1 release.
> Change hard coding the class names for logging to use the Class.getName() instead
> ---------------------------------------------------------------------------------
>
> Key: SHINDIG-1481
> URL: https://issues.apache.org/jira/browse/SHINDIG-1481
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Reporter: Henry Saputra
> Assignee: Han Nguyen
> Priority: Minor
> Fix For: 2.5.0-beta1
>
>
> In the rev 1043668 checkin, to fix SHINDIG-1477 - Externalize logging messages to resource bundle for i18n, the code added hardcoded string for classname.
> For example:
> private static final String classname = "org.apache.shindig.common.cache.LruCacheProvider";
> If the purpose is just for reuse in the log statements, I think the code could just be:
> private static final String classname = LruCacheProvider.class.getName();
> The bug is created for tracking purpose.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira