[jira] [Work logged] (LANG-1528) replaceEachRepeatedly gives IllegalStateException

2020-06-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/LANG-1528?focusedWorklogId=445374=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-445374
 ]

ASF GitHub Bot logged work on LANG-1528:


Author: ASF GitHub Bot
Created on: 13/Jun/20 15:31
Start Date: 13/Jun/20 15:31
Worklog Time Spent: 10m 
  Work Description: garydgregory merged pull request #505:
URL: https://github.com/apache/commons-lang/pull/505


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 445374)
Time Spent: 40m  (was: 0.5h)

> replaceEachRepeatedly gives IllegalStateException
> -
>
> Key: LANG-1528
> URL: https://issues.apache.org/jira/browse/LANG-1528
> Project: Commons Lang
>  Issue Type: Bug
>  Components: lang.*
>Affects Versions: 3.8, 3.9, 3.8.1
>Reporter: jimmy
>Priority: Minor
>  Labels: easyfix
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
>  
> ChurchilllaanTest1 fails, ChurchilllaanTest2 doesn't, why?
>  Please allow the ttl to be overridden.
> {code:java}
> @Test
> public void ChurchilllaanTest1() {
> String input = "Churchilllaan";
> String[][] replaceMap = new String[][] {
> { "llaan", "laan" },
> };
> 
> String output = StringUtils.replaceEachRepeatedly(
>  input, 
>  getColumn(0, replaceMap),
>  getColumn(1, replaceMap)); 
> Assert.assertEquals("Churchilaan", output);
> }
> @Test
> public void ChurchilllaanTest2() {
> String input = "Churchilllaan";
> String[][] replaceMap = new String[][] {
> { "llaan", "laan" },
> { "C", "c" },
> };
> 
> String output = StringUtils.replaceEachRepeatedly(
>  input, 
>  getColumn(0, replaceMap),
>  getColumn(1, replaceMap)); 
> Assert.assertEquals("churchilaan", output);
> }
>   private String[] getColumn(int colIndex, String[][] from) {
> return Arrays.stream(from).map(x -> 
> x[colIndex]).toArray(String[]::new);
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (LANG-1528) replaceEachRepeatedly gives IllegalStateException

2020-03-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/LANG-1528?focusedWorklogId=408473=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-408473
 ]

ASF GitHub Bot logged work on LANG-1528:


Author: ASF GitHub Bot
Created on: 24/Mar/20 01:36
Start Date: 24/Mar/20 01:36
Worklog Time Spent: 10m 
  Work Description: kinow commented on issue #505: [LANG-1528] 
replaceEachRepeatedly gives IllegalStateException
URL: https://github.com/apache/commons-lang/pull/505#issuecomment-602956284
 
 
   Updated the title to match what's in JIRA. Thanks for updating the PR until 
Travis CI passes :+1: 
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 408473)
Time Spent: 0.5h  (was: 20m)

> replaceEachRepeatedly gives IllegalStateException
> -
>
> Key: LANG-1528
> URL: https://issues.apache.org/jira/browse/LANG-1528
> Project: Commons Lang
>  Issue Type: Bug
>  Components: lang.*
>Affects Versions: 3.8, 3.9, 3.8.1
>Reporter: jimmy
>Priority: Minor
>  Labels: easyfix
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
>  
> ChurchilllaanTest1 fails, ChurchilllaanTest2 doesn't, why?
>  Please allow the ttl to be overridden.
> {code:java}
> @Test
> public void ChurchilllaanTest1() {
> String input = "Churchilllaan";
> String[][] replaceMap = new String[][] {
> { "llaan", "laan" },
> };
> 
> String output = StringUtils.replaceEachRepeatedly(
>  input, 
>  getColumn(0, replaceMap),
>  getColumn(1, replaceMap)); 
> Assert.assertEquals("Churchilaan", output);
> }
> @Test
> public void ChurchilllaanTest2() {
> String input = "Churchilllaan";
> String[][] replaceMap = new String[][] {
> { "llaan", "laan" },
> { "C", "c" },
> };
> 
> String output = StringUtils.replaceEachRepeatedly(
>  input, 
>  getColumn(0, replaceMap),
>  getColumn(1, replaceMap)); 
> Assert.assertEquals("churchilaan", output);
> }
>   private String[] getColumn(int colIndex, String[][] from) {
> return Arrays.stream(from).map(x -> 
> x[colIndex]).toArray(String[]::new);
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (LANG-1528) replaceEachRepeatedly gives IllegalStateException

2020-03-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/LANG-1528?focusedWorklogId=408472=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-408472
 ]

ASF GitHub Bot logged work on LANG-1528:


Author: ASF GitHub Bot
Created on: 24/Mar/20 01:34
Start Date: 24/Mar/20 01:34
Worklog Time Spent: 10m 
  Work Description: coveralls commented on issue #505: 
https://issues.apache.org/jira/browse/LANG-1528
URL: https://github.com/apache/commons-lang/pull/505#issuecomment-602955763
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/29567531/badge)](https://coveralls.io/builds/29567531)
   
   Coverage increased (+0.001%) to 95.095% when pulling 
**9034577e964132a4f6693bd44b9f2619270d3031 on edelgadoh:master** into 
**e3a7399a7d82a5b3a33cc7653107821ce1709f67 on apache:master**.
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 408472)
Time Spent: 20m  (was: 10m)

> replaceEachRepeatedly gives IllegalStateException
> -
>
> Key: LANG-1528
> URL: https://issues.apache.org/jira/browse/LANG-1528
> Project: Commons Lang
>  Issue Type: Bug
>  Components: lang.*
>Affects Versions: 3.8, 3.9, 3.8.1
>Reporter: jimmy
>Priority: Minor
>  Labels: easyfix
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
>  
> ChurchilllaanTest1 fails, ChurchilllaanTest2 doesn't, why?
>  Please allow the ttl to be overridden.
> {code:java}
> @Test
> public void ChurchilllaanTest1() {
> String input = "Churchilllaan";
> String[][] replaceMap = new String[][] {
> { "llaan", "laan" },
> };
> 
> String output = StringUtils.replaceEachRepeatedly(
>  input, 
>  getColumn(0, replaceMap),
>  getColumn(1, replaceMap)); 
> Assert.assertEquals("Churchilaan", output);
> }
> @Test
> public void ChurchilllaanTest2() {
> String input = "Churchilllaan";
> String[][] replaceMap = new String[][] {
> { "llaan", "laan" },
> { "C", "c" },
> };
> 
> String output = StringUtils.replaceEachRepeatedly(
>  input, 
>  getColumn(0, replaceMap),
>  getColumn(1, replaceMap)); 
> Assert.assertEquals("churchilaan", output);
> }
>   private String[] getColumn(int colIndex, String[][] from) {
> return Arrays.stream(from).map(x -> 
> x[colIndex]).toArray(String[]::new);
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (LANG-1528) replaceEachRepeatedly gives IllegalStateException

2020-03-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/LANG-1528?focusedWorklogId=408449=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-408449
 ]

ASF GitHub Bot logged work on LANG-1528:


Author: ASF GitHub Bot
Created on: 24/Mar/20 00:37
Start Date: 24/Mar/20 00:37
Worklog Time Spent: 10m 
  Work Description: edelgadoh commented on pull request #505: 
https://issues.apache.org/jira/browse/LANG-1528
URL: https://github.com/apache/commons-lang/pull/505
 
 
   I fixed this simple bug, I'd like to collaborate on it, I'm ready to 
consider any suggestions
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 408449)
Remaining Estimate: 0h
Time Spent: 10m

> replaceEachRepeatedly gives IllegalStateException
> -
>
> Key: LANG-1528
> URL: https://issues.apache.org/jira/browse/LANG-1528
> Project: Commons Lang
>  Issue Type: Bug
>  Components: lang.*
>Affects Versions: 3.8, 3.9, 3.8.1
>Reporter: jimmy
>Priority: Minor
>  Labels: easyfix
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
>  
> ChurchilllaanTest1 fails, ChurchilllaanTest2 doesn't, why?
>  Please allow the ttl to be overridden.
> {code:java}
> @Test
> public void ChurchilllaanTest1() {
> String input = "Churchilllaan";
> String[][] replaceMap = new String[][] {
> { "llaan", "laan" },
> };
> 
> String output = StringUtils.replaceEachRepeatedly(
>  input, 
>  getColumn(0, replaceMap),
>  getColumn(1, replaceMap)); 
> Assert.assertEquals("Churchilaan", output);
> }
> @Test
> public void ChurchilllaanTest2() {
> String input = "Churchilllaan";
> String[][] replaceMap = new String[][] {
> { "llaan", "laan" },
> { "C", "c" },
> };
> 
> String output = StringUtils.replaceEachRepeatedly(
>  input, 
>  getColumn(0, replaceMap),
>  getColumn(1, replaceMap)); 
> Assert.assertEquals("churchilaan", output);
> }
>   private String[] getColumn(int colIndex, String[][] from) {
> return Arrays.stream(from).map(x -> 
> x[colIndex]).toArray(String[]::new);
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)