[GitHub] cassandra pull request: Pull request for fixing lhf #CASSANDRA-875...

2015-12-29 Thread alshopov
GitHub user alshopov opened a pull request:

https://github.com/apache/cassandra/pull/60

Pull request for fixing lhf #CASSANDRA-8755

The discussion for this patch is in JIRA:
https://issues.apache.org/jira/browse/CASSANDRA-8755

Currently pull request is for review.

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

$ git pull https://github.com/alshopov/cassandra 8755

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

https://github.com/apache/cassandra/pull/60.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 #60


commit 0d929cbc552a9f76fb34e5976d6094ea18093a83
Author: Alexander Shopov 
Date:   2015-12-28T12:38:03Z

Add unit tests that verify current behavior in order to check changes

Signed-off-by: Alexander Shopov 

commit 2685a2cdb85e9a2f6ae4303e645acafedd77c890
Author: Alexander Shopov 
Date:   2015-12-29T12:14:50Z

Trivial speedups of string operations

String.split has fast path for some single char and two char combinations.
They fail in cases when the char is regex meta (mainly the '.' character).
Use StringUtils.split then.
Convert String.replaceAll to static final Pattern-s usage.
Less throwaway j.u.r.Patterns by using precompiled versions
Replace front and back whitespace removal with trim
Remove unused imports from changed files.

Signed-off-by: Alexander Shopov 




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cassandra pull request: Pull request for fixing lhf #CASSANDRA-875...

2016-01-05 Thread alshopov
Github user alshopov commented on the pull request:

https://github.com/apache/cassandra/pull/60#issuecomment-168982417
  
This has been pulled, reformatted and closed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cassandra pull request: Pull request for fixing lhf #CASSANDRA-875...

2016-01-05 Thread alshopov
Github user alshopov closed the pull request at:

https://github.com/apache/cassandra/pull/60


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---