[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1077:
-
Summary: [PATCH] StringUtils.ordinalIndexOf("aa", "aa", 2) should
return 2 (was: [PATCH] StringUtils.o
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053521#comment-15053521
]
haiyang li commented on LANG-1077:
--
After think it about couple of minutes, I have another
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053494#comment-15053494
]
haiyang li commented on LANG-1077:
--
OK, basically, I think all of us agree: "Furthermore t
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053486#comment-15053486
]
haiyang li edited comment on LANG-1077 at 12/11/15 8:07 PM:
If
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053486#comment-15053486
]
haiyang li edited comment on LANG-1077 at 12/11/15 8:05 PM:
If
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053486#comment-15053486
]
haiyang li edited comment on LANG-1077 at 12/11/15 8:04 PM:
If
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053486#comment-15053486
]
haiyang li commented on LANG-1077:
--
If as you said: "There are even suggestions on stackov
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053411#comment-15053411
]
haiyang li commented on LANG-1077:
--
It's 19:18 at London? how are you doing today? It's F
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053183#comment-15053183
]
haiyang li commented on LANG-1077:
--
There are ONLY 3 B in A.
Consider the case: A: "ababa
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053124#comment-15053124
]
haiyang li edited comment on LANG-1077 at 12/11/15 6:23 PM:
Seb
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053124#comment-15053124
]
haiyang li commented on LANG-1077:
--
Sebb,
It doesn't make sense. take a few minutes to th
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053018#comment-15053018
]
haiyang li edited comment on LANG-1077 at 12/11/15 5:12 PM:
Seb
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053018#comment-15053018
]
haiyang li commented on LANG-1077:
--
Sebb,
The original bug is: StringUtils.ordinalIndexOf
[
https://issues.apache.org/jira/browse/LANG-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1189:
-
Description:
Add below methods to Mutable* classes:
getAndIncrement
getAndDecrement
getAndAdd
[
https://issues.apache.org/jira/browse/LANG-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1189:
-
Summary: Add
getAndIncrement/getAndDecrement/getAndAdd/incrementAndGet/decrementAndGet/addAndGet
in Mutabl
[
https://issues.apache.org/jira/browse/LANG-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1189:
-
Description:
Add below methods to in Mutable* classes:
getAndIncrement
getAndDecrement
getAndA
haiyang li created LANG-1189:
Summary: Add
getAndIncrement/getAndDecrement/getAndAdd/incrementAndGet/decrementAndGetaddAndGet
in Mutable* classes
Key: LANG-1189
URL: https://issues.apache.org/jira/browse/LANG-1189
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371581#comment-14371581
]
haiyang li commented on LANG-1074:
--
please try the new patch file: LANG-1074_20150320.patc
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: LANG-1074_20150320.patch
> Add a method to ArrayUtils for removing all occurrences of a given e
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329589#comment-14329589
]
haiyang li commented on LANG-1074:
--
updated. please review
> Add a method to ArrayUtils f
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: LANG-1074.patch.txt
> Add a method to ArrayUtils for removing all occurrences of a given elemen
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: (was: LANG-1074.patch.txt)
> Add a method to ArrayUtils for removing all occurrences of a g
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: LANG-1074.patch.txt
> Add a method to ArrayUtils for removing all occurrences of a given elemen
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: (was: LANG-1074.patch.txt)
> Add a method to ArrayUtils for removing all occurrences of a g
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258827#comment-14258827
]
haiyang li commented on LANG-1074:
--
Sounds good. i also like the name: removeAllOccurences
[
https://issues.apache.org/jira/browse/LANG-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14250223#comment-14250223
]
haiyang li commented on LANG-1078:
--
Thanks, Duncan
A bit more about the java document. As
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: LANG-1074.patch.txt
> Add removeElementAll method in class ArrayUtils
> ---
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14249460#comment-14249460
]
haiyang li commented on LANG-1074:
--
updated again for performance improvement
> Add remov
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: (was: LANG-1074.patch.txt)
> Add removeElementAll method in class ArrayUtils
>
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14249186#comment-14249186
]
haiyang li commented on LANG-1074:
--
updated the patch for minor improvement
> Add removeE
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: LANG-1074.patch.txt
> Add removeElementAll method in class ArrayUtils
> ---
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: (was: LANG-1074.patch.txt)
> Add removeElementAll method in class ArrayUtils
>
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248975#comment-14248975
]
haiyang li commented on LANG-1074:
--
Hi, Benedikt
the file LANG-1074.patch.txt is uploaded
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Attachment: LANG-1074.patch.txt
> Add removeElementAll method in class ArrayUtils
> ---
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248779#comment-14248779
]
haiyang li commented on LANG-1074:
--
anyone can help me to make a patch? appreciated!
the o
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246200#comment-14246200
]
haiyang li commented on LANG-1074:
--
Thanks and i agree. the name 'removeElementAll' may co
[
https://issues.apache.org/jira/browse/LANG-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246198#comment-14246198
]
haiyang li commented on LANG-1018:
--
Personally, I prefer to use double for decimals by def
[
https://issues.apache.org/jira/browse/LANG-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244725#comment-14244725
]
haiyang li edited comment on LANG-1038 at 12/13/14 6:51 AM:
I a
[
https://issues.apache.org/jira/browse/LANG-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244725#comment-14244725
]
haiyang li edited comment on LANG-1038 at 12/12/14 8:26 PM:
I a
[
https://issues.apache.org/jira/browse/LANG-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244725#comment-14244725
]
haiyang li commented on LANG-1038:
--
I agree with what Duncan Jones said in LANG-1040. whe
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244697#comment-14244697
]
haiyang li commented on LANG-1077:
--
yes. i will be glad to see the code is to be merged in
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244670#comment-14244670
]
haiyang li edited comment on LANG-1077 at 12/12/14 7:40 PM:
en.
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244670#comment-14244670
]
haiyang li edited comment on LANG-1077 at 12/12/14 7:40 PM:
en.
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244670#comment-14244670
]
haiyang li commented on LANG-1077:
--
en... It's my bad. I downloaded the source code and ma
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1077:
-
Description:
{code:title= org.apache.commons.lang3.StringUtils.java|borderStyle=solid}
int found =
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1077:
-
Description:
{code:title= org.apache.commons.lang3.StringUtils.java|borderStyle=solid}
int found =
[
https://issues.apache.org/jira/browse/LANG-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244594#comment-14244594
]
haiyang li commented on LANG-1070:
--
I suggest to to throw NullPointerException if the host
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244545#comment-14244545
]
haiyang li commented on LANG-1077:
--
HI, Bruno
The code i pasted is incorrect. I changed it
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1077:
-
Description:
{code:title= org.apache.commons.lang3.StringUtils.java|borderStyle=solid}
int found =
[
https://issues.apache.org/jira/browse/LANG-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1078:
-
Description:
what're design insights for below implementation:
#1: SHOULD throw exception for negative inde
haiyang li created LANG-1078:
Summary: -1, 0 or error for String/Array opereations
Key: LANG-1078
URL: https://issues.apache.org/jira/browse/LANG-1078
Project: Commons Lang
Issue Type: Wish
[
https://issues.apache.org/jira/browse/LANG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1077:
-
Description:
{code:title= org.apache.commons.lang3.StringUtils.java|borderStyle=solid}
int found =
haiyang li created LANG-1077:
Summary: StringUtils.ordinalIndexOf("aa", "aa", 2) != 2 in
StringUtils
Key: LANG-1077
URL: https://issues.apache.org/jira/browse/LANG-1077
Project: Commons Lang
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all the occurrences of the
specified elem
haiyang li created LANG-1074:
Summary: Add removeElementAll method in class ArrayUtils
Key: LANG-1074
URL: https://issues.apache.org/jira/browse/LANG-1074
Project: Commons Lang
Issue Type: Improv
[
https://issues.apache.org/jira/browse/LANG-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1074:
-
Description:
Could we add the method: removeElementAll to remove all occurrences of the
specified element
haiyang li created LANG-1073:
Summary: Read wrong component type of array in add in ArrayUtils
Key: LANG-1073
URL: https://issues.apache.org/jira/browse/LANG-1073
Project: Commons Lang
Issue Type
[
https://issues.apache.org/jira/browse/LANG-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1072:
-
Summary: Duplicated "0x" check in createBigInteger in NumberUtils (was:
Duplicated "ox" check in createBig
[
https://issues.apache.org/jira/browse/LANG-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1072:
-
Description:
I think there is typo in below line:
{code:title= org.apache.commons.lang3.math.NumberUtils.j
[
https://issues.apache.org/jira/browse/LANG-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1072:
-
Summary: Duplicated "ox" check in createBigInteger in NumberUtils (was:
two "ox" check in createBigInteger
[
https://issues.apache.org/jira/browse/LANG-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1072:
-
Description:
I think there is typo in below line:
{code:title= org.apache.commons.lang3.math.NumberUtils.j
haiyang li created LANG-1072:
Summary: two "ox" check in createBigInteger in NumberUtils
Key: LANG-1072
URL: https://issues.apache.org/jira/browse/LANG-1072
Project: Commons Lang
Issue Type: Bug
[
https://issues.apache.org/jira/browse/LANG-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haiyang li updated LANG-1072:
-
Description:
I think there is typo in below line:
{code:title=NumberUtils.java|borderStyle=solid}
if (str
72 matches
Mail list logo