[GitHub] karaf pull request #376: Turn Feature.VERSION_SEPARATOR into a char

2017-09-29 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/karaf/pull/376


---


[GitHub] karaf pull request #376: Turn Feature.VERSION_SEPARATOR into a char

2017-09-26 Thread rovarga
GitHub user rovarga opened a pull request:

https://github.com/apache/karaf/pull/376

Turn Feature.VERSION_SEPARATOR into a char

String.indexOf(char) is faster than String.indexOf(String), so use
char for VERSION_SEPARATOR.

Signed-off-by: Robert Varga 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rovarga/karaf feature-version-char

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/karaf/pull/376.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #376


commit 0b61d22a36add072d34129043e28ac4a4a9dc731
Author: Robert Varga 
Date:   2017-09-25T09:54:31Z

Turn Feature.VERSION_SEPARATOR into a char

String.indexOf(char) is faster than String.indexOf(String), so use
char for VERSION_SEPARATOR.

Signed-off-by: Robert Varga 




---