You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/01/18 21:32:54 UTC
[jira] Commented: (FELIX-1992) Change the use of the § character as a separator in the BundleRepositoryRender class
[ https://issues.apache.org/jira/browse/FELIX-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801935#action_12801935 ]
Felix Meschberger commented on FELIX-1992:
------------------------------------------
Potential patch to be tested
Index: BundleRepositoryRender.java
===================================================================
--- BundleRepositoryRender.java (revision 900194)
+++ BundleRepositoryRender.java (working copy)
@@ -278,7 +278,7 @@
}
versions.add( version );
- labels.add( res.getPresentationName() + "§" + symbolicName );
+ labels.add( res.getPresentationName() + Character.MAX_VALUE + symbolicName );
}
}
}
@@ -290,7 +290,7 @@
for ( Iterator ri = labels.iterator(); ri.hasNext(); )
{
final String label = ( String ) ri.next();
- final int idx = label.indexOf( '§' );
+ final int idx = label.indexOf( Character.MAX_VALUE );
final String presName = label.substring( 0, idx );
final String symName = label.substring( idx + 1 );
final Collection versions = ( Collection ) resSet.remove( symName );
> Change the use of the § character as a separator in the BundleRepositoryRender class
> ------------------------------------------------------------------------------------
>
> Key: FELIX-1992
> URL: https://issues.apache.org/jira/browse/FELIX-1992
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-2.0.6
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
>
> The § character is neither an ASCII nor an ISO-8859-1 character and causes compilation issues on non-UTF-8 systems.
> A new character should be used as the separator in the temporary sorted set for building the OBR resource list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.