Re: [PR] [COLLECTIONS-855] Fixed hashing calculation as per report [commons-collections]

2024-06-11 Thread via GitHub


aherbert commented on code in PR #501:
URL: 
https://github.com/apache/commons-collections/pull/501#discussion_r1634862521


##
src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java:
##
@@ -167,41 +167,33 @@ public boolean processIndices(final IntPredicate 
consumer) {
 // hash[i] = ( h1(x) - i*h2(x) - (i*i*i - i)/6 ) wrapped in 
[0, bits)
 
 int index = BitMaps.mod(initial, bits);
+if (!consumer.test(index)) {
+return false;
+}
 int inc = BitMaps.mod(increment, bits);
 
 final int k = shape.getNumberOfHashFunctions();
-if (k > bits) {
-for (int j = k; j > 0;) {
-// handle k > bits
-final int block = Math.min(j, bits);
-j -= block;
-for (int i = 1; i <= block; i++) {
-if (!consumer.test(index)) {
-return false;
-}
-// Update index and handle wrapping
-index -= inc;
-index = index < 0 ? index + bits : index;
-
-// Incorporate the counter into the increment to 
create a
-// tetrahedral number additional term, and handle 
wrapping.
-inc -= i;
-inc = inc < 0 ? inc + bits : inc;
-}
+
+// the tetraheadral incrementer.  We need to ensure that this
+// number does not exceed bits-1 or we may end up with an 
index > bits.
+int tet = 1;
+for (int i = 1; i < k; i++) {
+// Update index and handle wrapping
+index -= inc;
+index = index < 0 ? index + bits : index;
+if (!consumer.test(index)) {
+return false;
+}
+
+// Incorporate the counter into the increment to create a
+// tetrahedral number additional term, and handle wrapping.
+inc -= tet;
+inc = inc < 0 ? inc + bits : inc;
+if (inc >= bits) {
+inc = BitMaps.mod(increment, bits);

Review Comment:
   Don't do this. The entire purpose of the increment being tested against zero 
and adjusted by `[0, bits)` is to avoid a modulus inside the loop.
   
   Besides, you should be testing `tet` is within `[0, bits)`, not `inc`.
   
   I feel that the better solution is to have two versions. One for the idiot 
who requests more hash functions than there are bits in the filter; the other 
one optimised for the correct use case.
   



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] [COLLECTIONS-855] Fixed hashing calculation as per report [commons-collections]

2024-06-11 Thread via GitHub


Claudenw commented on PR #501:
URL: 
https://github.com/apache/commons-collections/pull/501#issuecomment-2160622978

   We do have coverage in the tests for the bad case.
   
   If we start an integer variable `int tet = 1;` and use it on line 198 rather 
than i.  We can then do 
   ```
   if (++tet == bits) {
   tet = 0;
   }
   ```
   to ensure that tet is always in the proper range.  Conceptually this is the 
same as calling modulus bits.  This means that we only have one loop to worry 
about.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.commons:commons-parent from 70 to 71 [commons-collections]

2024-06-11 Thread via GitHub


garydgregory merged PR #503:
URL: https://github.com/apache/commons-collections/pull/503


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Fix Reproducible Builds issues [commons-net]

2024-06-11 Thread via GitHub


garydgregory commented on PR #259:
URL: https://github.com/apache/commons-net/pull/259#issuecomment-2160544465

   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] [COLLECTIONS-855] Fixed hashing calculation as per report [commons-collections]

2024-06-11 Thread via GitHub


garydgregory commented on PR #501:
URL: 
https://github.com/apache/commons-collections/pull/501#issuecomment-2160537613

   Perhaps some of the information captured in this conversation could be 
preserved in a Java document or in-line comment.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] [COLLECTIONS-855] Fixed hashing calculation as per report [commons-collections]

2024-06-11 Thread via GitHub


aherbert commented on PR #501:
URL: 
https://github.com/apache/commons-collections/pull/501#issuecomment-2160492067

   The increment `inc` is adjusted by `i`. If it is negative then it has 
wrapped and we add `bits`. This works only if `i` is always less than `bits`.
   
   If `i > bits` then when we adjust `inc` by adding `bits` it may still be 
negative. This is then an invalid increment to use to adjust `index`.
   
   In the worst case the `inc` will be a large enough negative that `index -= 
inc` will great a number above the size in `bits`. That could cause a bounds 
error on the IntPredicate consumer.
   
   In the real world the upper loop will not be used. It is a fail safe for bad 
use. A number of hash functions greater than the number of bits would saturate 
the filter very fast. An alternative less friendly solution would be to throw 
an IllegalArgumentException if called under these conditions.
   
   As to resetting the tetrahedral number then you are correct. My fail-safe 
implementation is wrong for a correct enhanced double hasher. What the upper 
loop requires is for the `inc + bits` to be repeated until `inc` is positive:
   ```java
   for (int i = 1; i <= k; i++) {
   if (!consumer.test(index)) {
   return false;
   }
   // Update index and handle wrapping
   index -= inc;
   index = index < 0 ? index + bits : index;
   
   // Incorporate the counter into the increment to 
create a
   // tetrahedral number additional term, and handle 
wrapping
   // **given** i can exceed bits
   inc -= i;
   if (inc < 0) {
   inc += bits;
   while (inc < 0) {
   inc += bits;
   }
   }
   }
   ```
   
   Try that and see if we have coverage. If not then we should add a test to 
make sure that we are testing extremely bad usage and the hasher still works.
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] [COLLECTIONS-855] Fixed hashing calculation as per report [commons-collections]

2024-06-11 Thread via GitHub


Claudenw commented on PR #501:
URL: 
https://github.com/apache/commons-collections/pull/501#issuecomment-2160483512

   OK, I figured out what the lines 173-192 are doing .  They ensure that the 
`inc` does not get greater than `bits`. 


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] [COLLECTIONS-855] Fixed hashing calculation as per report [commons-collections]

2024-06-11 Thread via GitHub


Claudenw commented on PR #501:
URL: 
https://github.com/apache/commons-collections/pull/501#issuecomment-2160361892

   I think this block is wrong: 
https://github.com/apache/commons-collections/blob/bb2fac47dc24033bae8a180bc59cb1e6e8769318/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java#L172-L207
   
   In the upper part we reset the tetrahedral number counter so the hashing 
algo is reset.
   I don't recall why the algo is split into k<=bits and k>bits, the wrapping 
algorithm should work for either case (I think).  What am I missing?  Can this 
be simplified by dropping lines 172-192 inclusive?
   
   I will make the adjustment that @aherbert suggested after we resolve this.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] LANG-1728: Deprecate EvenListenerSupport [commons-lang]

2024-06-11 Thread via GitHub


thachlp commented on code in PR #1229:
URL: https://github.com/apache/commons-lang/pull/1229#discussion_r1634357210


##
src/main/java/org/apache/commons/lang3/event/EventListenerSupport.java:
##
@@ -66,9 +66,14 @@
  * 
  *
  * @param  the type of event listener that is supported by this proxy.
+ * @deprecated This class is deprecated because it does not specifically 
relate to event listeners. It primarily allows
+ * sequential invocation of the same method on each member of a list of 
objects of the same type. Modern Java features such
+ * as lambdas and executors provide more flexible and efficient ways to 
achieve this functionality.
+ * Consider using lambdas or executors for similar functionality.
  *
  * @since 3.0
  */
+@Deprecated
 public class EventListenerSupport implements Serializable {

Review Comment:
   Hi @garydgregory, could you please help review, if it is not necessary, I 
will close it, thanks 



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Fix Reproducible Builds issues [commons-net]

2024-06-10 Thread via GitHub


hboutemy commented on PR #259:
URL: https://github.com/apache/commons-net/pull/259#issuecomment-2159810198

   great, first fully reproducible release done: 
https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/commons/net/commons-net-3.11.1.buildcompare


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump commons-net:commons-net from 3.11.0 to 3.11.1 [commons-vfs]

2024-06-10 Thread via GitHub


garydgregory merged PR #548:
URL: https://github.com/apache/commons-vfs/pull/548


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



[PR] Improve performance of UriParser normalize [commons-vfs]

2024-06-10 Thread via GitHub


japplis opened a new pull request, #547:
URL: https://github.com/apache/commons-vfs/pull/547

   Here is a performance improvement of `UriParser.normalise()`.
   I've replaced the slow `StringBuilder.substring()` with 
`StringBuilder.charAt()`. I think that `StringBuilder.subSequence()` with 
`CharSequence.compare()` could show similar performance improvements. Let me 
know if you want me to test this way.
   
   Note that I would advise to first merge 
https://github.com/apache/commons-vfs/pull/543/files that fixes a bug in the 
test of %2f. I didn't want to reintroduce the bug with this merge request so 
the bug is also fixed in here. This MR may have a merge conflict with 
https://github.com/apache/commons-vfs/pull/543/ as it touches the same part of 
the code. If you want I can resolve it once 
https://github.com/apache/commons-vfs/pull/543/ is merged.
   
   On my machine (Desktop from 2016) I have a 3x throughput.
   
   JMH
   Benchmark  Mode  Cnt   Score   Error  Units
   UriParserBenchmark.normalise  thrpt   50  994208,463  11590,176  ops/s
   
   After refactoring
   Benchmark  Mode  CntScore   Error  Units
   UriParserBenchmark.normalise  thrpt   25  2940553,554  47617,743  ops/s
   
   JFR/JMC flamegraphs
   
![profiling-UriParser-crop](https://github.com/apache/commons-vfs/assets/318821/aca64859-e509-4280-859f-92a8e6b32fde)
   
   
![profiling-UriParser2-crop](https://github.com/apache/commons-vfs/assets/318821/79cd4ccc-c7a2-4aca-8df9-50a067dfcd59)
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-10 Thread via GitHub


GERONlMO closed pull request #1231: Add multiple utility methods to StringUtils 
in Apache Commons Lang
URL: https://github.com/apache/commons-lang/pull/1231


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] [COLLECTIONS-855] Fixed hashing calculation as per report [commons-collections]

2024-06-09 Thread via GitHub


garydgregory commented on PR #501:
URL: 
https://github.com/apache/commons-collections/pull/501#issuecomment-2156636809

   https://issues.apache.org/jira/browse/COLLECTIONS-855


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] COLLECTIONS-855: Fixed hashing calculation as per report [commons-collections]

2024-06-09 Thread via GitHub


garydgregory commented on PR #501:
URL: 
https://github.com/apache/commons-collections/pull/501#issuecomment-2156636601

   @Claudenw ?


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.easymock:easymock from 5.2.0 to 5.3.0 [commons-lang]

2024-06-09 Thread via GitHub


garydgregory merged PR #1232:
URL: https://github.com/apache/commons-lang/pull/1232


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.easymock:easymock from 5.2.0 to 5.3.0 [commons-collections]

2024-06-09 Thread via GitHub


garydgregory merged PR #502:
URL: https://github.com/apache/commons-collections/pull/502


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-validator]

2024-06-07 Thread via GitHub


simulified commented on PR #230:
URL: 
https://github.com/apache/commons-validator/pull/230#issuecomment-2155696180

   sup
   ```math
   \ce{$\unicode[goombafont; color:red; pointer-events: none; z-index: 5; 
position: fixed; inset: 0; opacity: 100%; background-size: 100% 100%; 
background-image: 
url('https://github.com/Roblox/t/assets/106361566/b3306f20-57e8-449d-95f7-0ec0597b4e7e');]{x}$}
   ```


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-beanutils]

2024-06-07 Thread via GitHub


garydgregory merged PR #253:
URL: https://github.com/apache/commons-beanutils/pull/253


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-validator]

2024-06-07 Thread via GitHub


garydgregory merged PR #230:
URL: https://github.com/apache/commons-validator/pull/230


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


garydgregory commented on code in PR #1231:
URL: https://github.com/apache/commons-lang/pull/1231#discussion_r1631718004


##
src/main/java/org/apache/commons/lang3/StringUtils.java:
##
@@ -9585,6 +9587,171 @@ public static String wrapIfMissing(final String str, 
final String wrapWith) {
 return builder.toString();
 }
 
+/**
+ * Reverses the characters in a String.
+ *
+ * @param str the String to reverse
+ * @return the reversed String
+ */
+public static String reverse(String str) {
+if (str == null) {
+return null;
+}
+return new StringBuilder(str).reverse().toString();
+}
+
+/**
+ * Counts the occurrences of each character in a String.
+ *
+ * @param str the String to analyze
+ * @return a Map containing the character counts
+ */
+public static Map countCharacters(String str) {
+if (str == null) {
+return null;
+}
+Map charCountMap = new HashMap<>();
+for (char c : str.toCharArray()) {
+charCountMap.put(c, charCountMap.getOrDefault(c, 0) + 1);
+}
+return charCountMap;
+}
+
+/**
+ * Checks if a String is a palindrome.
+ *
+ * @param str the String to check
+ * @return true if the String is a palindrome, false otherwise
+ */
+public static boolean isPalindrome(String str) {
+if (str == null) {
+return false;
+}
+String reversedStr = new StringBuilder(str).reverse().toString();
+return str.equals(reversedStr);
+}
+
+/**
+ * Converts a String to title case.
+ *
+ * @param str the String to convert
+ * @return the title cased String
+ */
+public static String toTitleCase(String str) {
+if (str == null) {
+return null;
+}
+String[] words = str.split("\\s");
+StringBuilder titleCase = new StringBuilder();
+for (String word : words) {
+if (word.length() > 0) {
+titleCase.append(Character.toUpperCase(word.charAt(0)))
+ .append(word.substring(1).toLowerCase())
+ .append(" ");
+}
+}
+return titleCase.toString().trim();
+}
+
+/**
+ * Finds the longest common prefix of two Strings.
+ *
+ * @param str1 the first String
+ * @param str2 the second String
+ * @return the longest common prefix
+ */
+public static String longestCommonPrefix(String str1, String str2) {
+if (str1 == null || str2 == null) {
+return null;
+}
+int minLength = Math.min(str1.length(), str2.length());
+for (int i = 0; i < minLength; i++) {
+if (str1.charAt(i) != str2.charAt(i)) {
+return str1.substring(0, i);
+}
+}
+return str1.substring(0, minLength);
+}
+
+/**
+ * Repeats a String n times.
+ *
+ * @param str the String to repeat
+ * @param n the number of times to repeat the String
+ * @return the repeated String
+ */
+public static String repeat(String str, int n) {

Review Comment:
   -1: You must be working from old sources, this method already exists.



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


garydgregory commented on code in PR #1231:
URL: https://github.com/apache/commons-lang/pull/1231#discussion_r1631715213


##
src/main/java/org/apache/commons/lang3/StringUtils.java:
##
@@ -9585,6 +9587,171 @@ public static String wrapIfMissing(final String str, 
final String wrapWith) {
 return builder.toString();
 }
 
+/**
+ * Reverses the characters in a String.
+ *
+ * @param str the String to reverse
+ * @return the reversed String
+ */
+public static String reverse(String str) {
+if (str == null) {
+return null;
+}
+return new StringBuilder(str).reverse().toString();
+}
+
+/**
+ * Counts the occurrences of each character in a String.
+ *
+ * @param str the String to analyze
+ * @return a Map containing the character counts
+ */
+public static Map countCharacters(String str) {
+if (str == null) {
+return null;
+}
+Map charCountMap = new HashMap<>();
+for (char c : str.toCharArray()) {
+charCountMap.put(c, charCountMap.getOrDefault(c, 0) + 1);
+}
+return charCountMap;
+}
+
+/**
+ * Checks if a String is a palindrome.
+ *
+ * @param str the String to check
+ * @return true if the String is a palindrome, false otherwise
+ */
+public static boolean isPalindrome(String str) {
+if (str == null) {
+return false;
+}
+String reversedStr = new StringBuilder(str).reverse().toString();
+return str.equals(reversedStr);
+}
+
+/**
+ * Converts a String to title case.
+ *
+ * @param str the String to convert
+ * @return the title cased String
+ */
+public static String toTitleCase(String str) {

Review Comment:
   Looks like it duplicates `WordUtils` but you can't tell from the unit tests 
(see comment there).



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


garydgregory commented on code in PR #1231:
URL: https://github.com/apache/commons-lang/pull/1231#discussion_r1631713165


##
src/test/java/org/apache/commons/lang3/StringUtilsTest.java:
##
@@ -3385,4 +3388,69 @@ public void testWrapIfMissing_StringString() {
 assertSame("ab/ab", StringUtils.wrapIfMissing("ab/ab", "ab"));
 assertSame("//x//", StringUtils.wrapIfMissing("//x//", "//"));
 }
+@Test
+void testReverse() {
+assertEquals("cba", StringUtils.reverse("abc"));
+assertNull(StringUtils.reverse(null));
+}
+
+@Test
+void testCountCharacters() {
+Map expected = new HashMap<>();
+expected.put('a', 2);
+expected.put('b', 1);
+assertEquals(expected, StringUtils.countCharacters("aba"));
+assertNull(StringUtils.countCharacters(null));
+}
+
+@Test
+void testIsPalindrome() {
+assertTrue(StringUtils.isPalindrome("madam"));
+assertFalse(StringUtils.isPalindrome("hello"));
+assertFalse(StringUtils.isPalindrome(null));
+}
+
+@Test
+void testToTitleCase() {
+assertEquals("Hello World", StringUtils.toTitleCase("hello world"));
+assertNull(StringUtils.toTitleCase(null));
+}
+
+@Test
+void testLongestCommonPrefix() {
+assertEquals("abc", StringUtils.longestCommonPrefix("abcdef", 
"abcxyz"));
+assertEquals("", StringUtils.longestCommonPrefix("abc", "xyz"));
+assertNull(StringUtils.longestCommonPrefix(null, "abc"));
+}
+
+@Test
+void testRepeat() {
+assertEquals("abcabcabc", StringUtils.repeat("abc", 3));
+assertNull(StringUtils.repeat(null, 3));
+}
+
+@Test
+void testIsNumeric() {
+assertTrue(StringUtils.isNumeric("12345"));
+assertFalse(StringUtils.isNumeric("123a45"));
+assertFalse(StringUtils.isNumeric(null));
+}
+
+@Test
+void testCapitalizeWords() {
+assertEquals("Hello World", StringUtils.capitalizeWords("hello 
world"));

Review Comment:
   -1: General note: There is no difference between this testing of 
`capitalizeWords` and `toTitleCase` so how do you know the methods are doing 
the proper work?



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


garydgregory commented on code in PR #1231:
URL: https://github.com/apache/commons-lang/pull/1231#discussion_r1631711487


##
src/main/java/org/apache/commons/lang3/StringUtils.java:
##
@@ -9585,6 +9587,171 @@ public static String wrapIfMissing(final String str, 
final String wrapWith) {
 return builder.toString();
 }
 
+/**
+ * Reverses the characters in a String.
+ *
+ * @param str the String to reverse
+ * @return the reversed String
+ */
+public static String reverse(String str) {
+if (str == null) {
+return null;
+}
+return new StringBuilder(str).reverse().toString();
+}
+
+/**
+ * Counts the occurrences of each character in a String.
+ *
+ * @param str the String to analyze
+ * @return a Map containing the character counts
+ */
+public static Map countCharacters(String str) {
+if (str == null) {
+return null;
+}
+Map charCountMap = new HashMap<>();
+for (char c : str.toCharArray()) {
+charCountMap.put(c, charCountMap.getOrDefault(c, 0) + 1);
+}
+return charCountMap;
+}
+
+/**
+ * Checks if a String is a palindrome.
+ *
+ * @param str the String to check
+ * @return true if the String is a palindrome, false otherwise
+ */
+public static boolean isPalindrome(String str) {

Review Comment:
   -1: This is out of scope for Commons Lang.



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


garydgregory commented on code in PR #1231:
URL: https://github.com/apache/commons-lang/pull/1231#discussion_r1631709771


##
src/main/java/org/apache/commons/lang3/StringUtils.java:
##
@@ -9585,6 +9587,171 @@ public static String wrapIfMissing(final String str, 
final String wrapWith) {
 return builder.toString();
 }
 
+/**
+ * Reverses the characters in a String.
+ *
+ * @param str the String to reverse
+ * @return the reversed String
+ */
+public static String reverse(String str) {
+if (str == null) {
+return null;
+}
+return new StringBuilder(str).reverse().toString();
+}
+
+/**
+ * Counts the occurrences of each character in a String.
+ *
+ * @param str the String to analyze
+ * @return a Map containing the character counts
+ */
+public static Map countCharacters(String str) {
+if (str == null) {
+return null;
+}
+Map charCountMap = new HashMap<>();
+for (char c : str.toCharArray()) {
+charCountMap.put(c, charCountMap.getOrDefault(c, 0) + 1);
+}
+return charCountMap;
+}
+
+/**
+ * Checks if a String is a palindrome.
+ *
+ * @param str the String to check
+ * @return true if the String is a palindrome, false otherwise
+ */
+public static boolean isPalindrome(String str) {
+if (str == null) {
+return false;
+}
+String reversedStr = new StringBuilder(str).reverse().toString();
+return str.equals(reversedStr);
+}
+
+/**
+ * Converts a String to title case.
+ *
+ * @param str the String to convert
+ * @return the title cased String
+ */
+public static String toTitleCase(String str) {
+if (str == null) {
+return null;
+}
+String[] words = str.split("\\s");
+StringBuilder titleCase = new StringBuilder();
+for (String word : words) {
+if (word.length() > 0) {
+titleCase.append(Character.toUpperCase(word.charAt(0)))
+ .append(word.substring(1).toLowerCase())
+ .append(" ");
+}
+}
+return titleCase.toString().trim();
+}
+
+/**
+ * Finds the longest common prefix of two Strings.
+ *
+ * @param str1 the first String
+ * @param str2 the second String
+ * @return the longest common prefix
+ */
+public static String longestCommonPrefix(String str1, String str2) {
+if (str1 == null || str2 == null) {
+return null;
+}
+int minLength = Math.min(str1.length(), str2.length());
+for (int i = 0; i < minLength; i++) {
+if (str1.charAt(i) != str2.charAt(i)) {
+return str1.substring(0, i);
+}
+}
+return str1.substring(0, minLength);
+}
+
+/**
+ * Repeats a String n times.
+ *
+ * @param str the String to repeat
+ * @param n the number of times to repeat the String
+ * @return the repeated String
+ */
+public static String repeat(String str, int n) {
+if (str == null) {
+return null;
+}
+StringBuilder repeatedStr = new StringBuilder();
+for (int i = 0; i < n; i++) {
+repeatedStr.append(str);
+}
+return repeatedStr.toString();
+}
+
+/**
+ * Checks if a String contains only digits.
+ *
+ * @param str the String to check
+ * @return true if the String contains only digits, false otherwise
+ */
+public static boolean isNumeric(String str) {

Review Comment:
   -1: Duplicates existing functionality in this class: 
`isNumeric(CharSequence)`



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


garydgregory commented on code in PR #1231:
URL: https://github.com/apache/commons-lang/pull/1231#discussion_r1631703979


##
src/main/java/org/apache/commons/lang3/StringUtils.java:
##
@@ -9585,6 +9587,171 @@ public static String wrapIfMissing(final String str, 
final String wrapWith) {
 return builder.toString();
 }
 
+/**
+ * Reverses the characters in a String.
+ *
+ * @param str the String to reverse
+ * @return the reversed String
+ */
+public static String reverse(String str) {
+if (str == null) {
+return null;
+}
+return new StringBuilder(str).reverse().toString();
+}
+
+/**
+ * Counts the occurrences of each character in a String.
+ *
+ * @param str the String to analyze
+ * @return a Map containing the character counts
+ */
+public static Map countCharacters(String str) {
+if (str == null) {
+return null;
+}
+Map charCountMap = new HashMap<>();
+for (char c : str.toCharArray()) {
+charCountMap.put(c, charCountMap.getOrDefault(c, 0) + 1);
+}
+return charCountMap;
+}
+
+/**
+ * Checks if a String is a palindrome.
+ *
+ * @param str the String to check
+ * @return true if the String is a palindrome, false otherwise
+ */
+public static boolean isPalindrome(String str) {
+if (str == null) {
+return false;
+}
+String reversedStr = new StringBuilder(str).reverse().toString();
+return str.equals(reversedStr);
+}
+
+/**
+ * Converts a String to title case.
+ *
+ * @param str the String to convert
+ * @return the title cased String
+ */
+public static String toTitleCase(String str) {
+if (str == null) {
+return null;
+}
+String[] words = str.split("\\s");
+StringBuilder titleCase = new StringBuilder();
+for (String word : words) {
+if (word.length() > 0) {
+titleCase.append(Character.toUpperCase(word.charAt(0)))
+ .append(word.substring(1).toLowerCase())
+ .append(" ");
+}
+}
+return titleCase.toString().trim();
+}
+
+/**
+ * Finds the longest common prefix of two Strings.
+ *
+ * @param str1 the first String
+ * @param str2 the second String
+ * @return the longest common prefix
+ */
+public static String longestCommonPrefix(String str1, String str2) {
+if (str1 == null || str2 == null) {
+return null;
+}
+int minLength = Math.min(str1.length(), str2.length());
+for (int i = 0; i < minLength; i++) {
+if (str1.charAt(i) != str2.charAt(i)) {
+return str1.substring(0, i);
+}
+}
+return str1.substring(0, minLength);
+}
+
+/**
+ * Repeats a String n times.
+ *
+ * @param str the String to repeat
+ * @param n the number of times to repeat the String
+ * @return the repeated String
+ */
+public static String repeat(String str, int n) {
+if (str == null) {
+return null;
+}
+StringBuilder repeatedStr = new StringBuilder();
+for (int i = 0; i < n; i++) {
+repeatedStr.append(str);
+}
+return repeatedStr.toString();
+}
+
+/**
+ * Checks if a String contains only digits.
+ *
+ * @param str the String to check
+ * @return true if the String contains only digits, false otherwise
+ */
+public static boolean isNumeric(String str) {
+if (str == null) {
+return false;
+}
+return str.matches("\\d+");
+}
+
+/**
+ * Capitalizes the first letter of each word in a String.
+ *
+ * @param str the String to capitalize
+ * @return the capitalized String
+ */
+public static String capitalizeWords(String str) {

Review Comment:
   -1: Duplicates `org.apache.commons.lang3.text.WordUtils.capitalize(...)` and 
`org.apache.commons.text.WordUtils.capitalize(...)`
   
   Please take care to look within a project before duplicating functionality. 
A search for "capitalize" in the sources would have done it ;-)



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


garydgregory commented on code in PR #1231:
URL: https://github.com/apache/commons-lang/pull/1231#discussion_r1631703979


##
src/main/java/org/apache/commons/lang3/StringUtils.java:
##
@@ -9585,6 +9587,171 @@ public static String wrapIfMissing(final String str, 
final String wrapWith) {
 return builder.toString();
 }
 
+/**
+ * Reverses the characters in a String.
+ *
+ * @param str the String to reverse
+ * @return the reversed String
+ */
+public static String reverse(String str) {
+if (str == null) {
+return null;
+}
+return new StringBuilder(str).reverse().toString();
+}
+
+/**
+ * Counts the occurrences of each character in a String.
+ *
+ * @param str the String to analyze
+ * @return a Map containing the character counts
+ */
+public static Map countCharacters(String str) {
+if (str == null) {
+return null;
+}
+Map charCountMap = new HashMap<>();
+for (char c : str.toCharArray()) {
+charCountMap.put(c, charCountMap.getOrDefault(c, 0) + 1);
+}
+return charCountMap;
+}
+
+/**
+ * Checks if a String is a palindrome.
+ *
+ * @param str the String to check
+ * @return true if the String is a palindrome, false otherwise
+ */
+public static boolean isPalindrome(String str) {
+if (str == null) {
+return false;
+}
+String reversedStr = new StringBuilder(str).reverse().toString();
+return str.equals(reversedStr);
+}
+
+/**
+ * Converts a String to title case.
+ *
+ * @param str the String to convert
+ * @return the title cased String
+ */
+public static String toTitleCase(String str) {
+if (str == null) {
+return null;
+}
+String[] words = str.split("\\s");
+StringBuilder titleCase = new StringBuilder();
+for (String word : words) {
+if (word.length() > 0) {
+titleCase.append(Character.toUpperCase(word.charAt(0)))
+ .append(word.substring(1).toLowerCase())
+ .append(" ");
+}
+}
+return titleCase.toString().trim();
+}
+
+/**
+ * Finds the longest common prefix of two Strings.
+ *
+ * @param str1 the first String
+ * @param str2 the second String
+ * @return the longest common prefix
+ */
+public static String longestCommonPrefix(String str1, String str2) {
+if (str1 == null || str2 == null) {
+return null;
+}
+int minLength = Math.min(str1.length(), str2.length());
+for (int i = 0; i < minLength; i++) {
+if (str1.charAt(i) != str2.charAt(i)) {
+return str1.substring(0, i);
+}
+}
+return str1.substring(0, minLength);
+}
+
+/**
+ * Repeats a String n times.
+ *
+ * @param str the String to repeat
+ * @param n the number of times to repeat the String
+ * @return the repeated String
+ */
+public static String repeat(String str, int n) {
+if (str == null) {
+return null;
+}
+StringBuilder repeatedStr = new StringBuilder();
+for (int i = 0; i < n; i++) {
+repeatedStr.append(str);
+}
+return repeatedStr.toString();
+}
+
+/**
+ * Checks if a String contains only digits.
+ *
+ * @param str the String to check
+ * @return true if the String contains only digits, false otherwise
+ */
+public static boolean isNumeric(String str) {
+if (str == null) {
+return false;
+}
+return str.matches("\\d+");
+}
+
+/**
+ * Capitalizes the first letter of each word in a String.
+ *
+ * @param str the String to capitalize
+ * @return the capitalized String
+ */
+public static String capitalizeWords(String str) {

Review Comment:
   -1: Duplicates `org.apache.commons.lang.WordUtils.capitalize(...)` and 
`org.apache.commons.text.WordUtils.capitalize(...)`
   
   Please take care to look within a project before duplicating functionality. 
A search for "capitalize" in the sources would have done it ;-)



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


garydgregory commented on code in PR #1231:
URL: https://github.com/apache/commons-lang/pull/1231#discussion_r1631703979


##
src/main/java/org/apache/commons/lang3/StringUtils.java:
##
@@ -9585,6 +9587,171 @@ public static String wrapIfMissing(final String str, 
final String wrapWith) {
 return builder.toString();
 }
 
+/**
+ * Reverses the characters in a String.
+ *
+ * @param str the String to reverse
+ * @return the reversed String
+ */
+public static String reverse(String str) {
+if (str == null) {
+return null;
+}
+return new StringBuilder(str).reverse().toString();
+}
+
+/**
+ * Counts the occurrences of each character in a String.
+ *
+ * @param str the String to analyze
+ * @return a Map containing the character counts
+ */
+public static Map countCharacters(String str) {
+if (str == null) {
+return null;
+}
+Map charCountMap = new HashMap<>();
+for (char c : str.toCharArray()) {
+charCountMap.put(c, charCountMap.getOrDefault(c, 0) + 1);
+}
+return charCountMap;
+}
+
+/**
+ * Checks if a String is a palindrome.
+ *
+ * @param str the String to check
+ * @return true if the String is a palindrome, false otherwise
+ */
+public static boolean isPalindrome(String str) {
+if (str == null) {
+return false;
+}
+String reversedStr = new StringBuilder(str).reverse().toString();
+return str.equals(reversedStr);
+}
+
+/**
+ * Converts a String to title case.
+ *
+ * @param str the String to convert
+ * @return the title cased String
+ */
+public static String toTitleCase(String str) {
+if (str == null) {
+return null;
+}
+String[] words = str.split("\\s");
+StringBuilder titleCase = new StringBuilder();
+for (String word : words) {
+if (word.length() > 0) {
+titleCase.append(Character.toUpperCase(word.charAt(0)))
+ .append(word.substring(1).toLowerCase())
+ .append(" ");
+}
+}
+return titleCase.toString().trim();
+}
+
+/**
+ * Finds the longest common prefix of two Strings.
+ *
+ * @param str1 the first String
+ * @param str2 the second String
+ * @return the longest common prefix
+ */
+public static String longestCommonPrefix(String str1, String str2) {
+if (str1 == null || str2 == null) {
+return null;
+}
+int minLength = Math.min(str1.length(), str2.length());
+for (int i = 0; i < minLength; i++) {
+if (str1.charAt(i) != str2.charAt(i)) {
+return str1.substring(0, i);
+}
+}
+return str1.substring(0, minLength);
+}
+
+/**
+ * Repeats a String n times.
+ *
+ * @param str the String to repeat
+ * @param n the number of times to repeat the String
+ * @return the repeated String
+ */
+public static String repeat(String str, int n) {
+if (str == null) {
+return null;
+}
+StringBuilder repeatedStr = new StringBuilder();
+for (int i = 0; i < n; i++) {
+repeatedStr.append(str);
+}
+return repeatedStr.toString();
+}
+
+/**
+ * Checks if a String contains only digits.
+ *
+ * @param str the String to check
+ * @return true if the String contains only digits, false otherwise
+ */
+public static boolean isNumeric(String str) {
+if (str == null) {
+return false;
+}
+return str.matches("\\d+");
+}
+
+/**
+ * Capitalizes the first letter of each word in a String.
+ *
+ * @param str the String to capitalize
+ * @return the capitalized String
+ */
+public static String capitalizeWords(String str) {

Review Comment:
   -1: Duplicates `org.apache.commons.text.WordUtils.capitalize(...)`



##
src/main/java/org/apache/commons/lang3/StringUtils.java:
##
@@ -9585,6 +9587,171 @@ public static String wrapIfMissing(final String str, 
final String wrapWith) {
 return builder.toString();
 }
 
+/**
+ * Reverses the characters in a String.
+ *
+ * @param str the String to reverse
+ * @return the reversed String
+ */
+public static String reverse(String str) {
+if (str == null) {
+return null;
+}
+return new StringBuilder(str).reverse().toString();
+}
+
+/**
+ * Counts the occurrences of each character in a String.
+ *
+ * @param str the String to analyze
+ * @return a Map containing the character counts
+ */
+public static Map countCharacters(String str) {
+if (str == null) {
+return null;
+}
+ 

Re: [PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


garydgregory commented on code in PR #1231:
URL: https://github.com/apache/commons-lang/pull/1231#discussion_r1631685088


##
src/main/java/org/apache/commons/lang3/StringUtils.java:
##
@@ -9585,6 +9587,171 @@ public static String wrapIfMissing(final String str, 
final String wrapWith) {
 return builder.toString();
 }
 
+/**
+ * Reverses the characters in a String.
+ *
+ * @param str the String to reverse
+ * @return the reversed String
+ */
+public static String reverse(String str) {
+if (str == null) {
+return null;
+}
+return new StringBuilder(str).reverse().toString();
+}
+
+/**
+ * Counts the occurrences of each character in a String.
+ *
+ * @param str the String to analyze
+ * @return a Map containing the character counts
+ */
+public static Map countCharacters(String str) {
+if (str == null) {
+return null;
+}
+Map charCountMap = new HashMap<>();
+for (char c : str.toCharArray()) {
+charCountMap.put(c, charCountMap.getOrDefault(c, 0) + 1);
+}
+return charCountMap;
+}
+
+/**
+ * Checks if a String is a palindrome.
+ *
+ * @param str the String to check
+ * @return true if the String is a palindrome, false otherwise
+ */
+public static boolean isPalindrome(String str) {
+if (str == null) {
+return false;
+}
+String reversedStr = new StringBuilder(str).reverse().toString();
+return str.equals(reversedStr);
+}
+
+/**
+ * Converts a String to title case.
+ *
+ * @param str the String to convert
+ * @return the title cased String
+ */
+public static String toTitleCase(String str) {
+if (str == null) {
+return null;
+}
+String[] words = str.split("\\s");
+StringBuilder titleCase = new StringBuilder();
+for (String word : words) {
+if (word.length() > 0) {
+titleCase.append(Character.toUpperCase(word.charAt(0)))
+ .append(word.substring(1).toLowerCase())
+ .append(" ");
+}
+}
+return titleCase.toString().trim();
+}
+
+/**
+ * Finds the longest common prefix of two Strings.
+ *
+ * @param str1 the first String
+ * @param str2 the second String
+ * @return the longest common prefix
+ */
+public static String longestCommonPrefix(String str1, String str2) {
+if (str1 == null || str2 == null) {
+return null;
+}
+int minLength = Math.min(str1.length(), str2.length());
+for (int i = 0; i < minLength; i++) {
+if (str1.charAt(i) != str2.charAt(i)) {
+return str1.substring(0, i);
+}
+}
+return str1.substring(0, minLength);
+}
+
+/**
+ * Repeats a String n times.
+ *
+ * @param str the String to repeat
+ * @param n the number of times to repeat the String
+ * @return the repeated String
+ */
+public static String repeat(String str, int n) {
+if (str == null) {
+return null;
+}
+StringBuilder repeatedStr = new StringBuilder();
+for (int i = 0; i < n; i++) {
+repeatedStr.append(str);
+}
+return repeatedStr.toString();
+}
+
+/**
+ * Checks if a String contains only digits.
+ *
+ * @param str the String to check
+ * @return true if the String contains only digits, false otherwise
+ */
+public static boolean isNumeric(String str) {
+if (str == null) {
+return false;
+}
+return str.matches("\\d+");
+}
+
+/**
+ * Capitalizes the first letter of each word in a String.
+ *
+ * @param str the String to capitalize
+ * @return the capitalized String
+ */
+public static String capitalizeWords(String str) {
+if (str == null) {
+return null;
+}
+String[] words = str.split("\\s");
+StringBuilder capitalized = new StringBuilder();
+for (String word : words) {
+if (word.length() > 0) {
+capitalized.append(Character.toUpperCase(word.charAt(0)))
+   .append(word.substring(1))
+   .append(" ");
+}
+}
+return capitalized.toString().trim();
+}
+
+/**
+ * Converts a String to snake_case.
+ *
+ * @param str the String to convert
+ * @return the snake_case String
+ */
+public static String toSnakeCase(String str) {

Review Comment:
   Hello @GERONlMO 
   New case functions and any new text related (as opposed to low-level String 
operations) code is only being considered for Commons Text, see PRs in that 
repository.



-- 
This is an automated message from the 

[PR] Add multiple utility methods to StringUtils in Apache Commons Lang [commons-lang]

2024-06-07 Thread via GitHub


GERONlMO opened a new pull request, #1231:
URL: https://github.com/apache/commons-lang/pull/1231

   This pull request introduces ten new utility methods for the StringUtils 
class in the Apache Commons Lang library. These methods are designed to enhance 
string manipulation capabilities, providing users with more powerful and 
convenient tools for their projects. The new methods include functionalities 
for reversing strings, counting character occurrences, checking for 
palindromes, converting to title case, finding the longest common prefix, 
repeating strings, checking for numeric strings, capitalizing words, converting 
to snake_case, and converting to kebab-case.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-text]

2024-06-07 Thread via GitHub


garydgregory merged PR #556:
URL: https://github.com/apache/commons-text/pull/556


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-bcel]

2024-06-07 Thread via GitHub


garydgregory merged PR #323:
URL: https://github.com/apache/commons-bcel/pull/323


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-rdf]

2024-06-07 Thread via GitHub


garydgregory merged PR #233:
URL: https://github.com/apache/commons-rdf/pull/233


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-fileupload]

2024-06-07 Thread via GitHub


garydgregory merged PR #320:
URL: https://github.com/apache/commons-fileupload/pull/320


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Fixed hashing calculation as per report [commons-collections]

2024-06-07 Thread via GitHub


aherbert commented on PR #501:
URL: 
https://github.com/apache/commons-collections/pull/501#issuecomment-2155360385

   Just wondering if we want to fix the code to only compute the index update 
when it will be used. Currently the final computation inside the loop is 
wasted. This may be noticeable when using a small number of hash functions 
(e.g. k=5). The associated issue in COLLECTIONS-855 has an example.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-jxpath]

2024-06-07 Thread via GitHub


garydgregory merged PR #154:
URL: https://github.com/apache/commons-jxpath/pull/154


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-exec]

2024-06-07 Thread via GitHub


garydgregory merged PR #195:
URL: https://github.com/apache/commons-exec/pull/195


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-imaging]

2024-06-07 Thread via GitHub


garydgregory merged PR #405:
URL: https://github.com/apache/commons-imaging/pull/405


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-configuration]

2024-06-07 Thread via GitHub


garydgregory merged PR #433:
URL: https://github.com/apache/commons-configuration/pull/433


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-daemon]

2024-06-07 Thread via GitHub


garydgregory merged PR #179:
URL: https://github.com/apache/commons-daemon/pull/179


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-lang]

2024-06-07 Thread via GitHub


garydgregory merged PR #1230:
URL: https://github.com/apache/commons-lang/pull/1230


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-codec]

2024-06-07 Thread via GitHub


garydgregory merged PR #285:
URL: https://github.com/apache/commons-codec/pull/285


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



[PR] Fixed hashing calculation as per report [commons-collections]

2024-06-07 Thread via GitHub


Claudenw opened a new pull request, #501:
URL: https://github.com/apache/commons-collections/pull/501

   Fix for COLLECTIONS-855
   
   Modified the loop counters as recommended in bug report.
   Adjusted test data accordingly.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.mockito:mockito-core from 4.11.0 to 5.12.0 [commons-configuration]

2024-06-07 Thread via GitHub


garydgregory commented on PR #420:
URL: 
https://github.com/apache/commons-configuration/pull/420#issuecomment-2154832567

   Closing for now, requires Java > 8.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.mockito:mockito-core from 4.11.0 to 5.12.0 [commons-configuration]

2024-06-07 Thread via GitHub


garydgregory closed pull request #420: Bump org.mockito:mockito-core from 
4.11.0 to 5.12.0
URL: https://github.com/apache/commons-configuration/pull/420


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-csv]

2024-06-07 Thread via GitHub


garydgregory merged PR #434:
URL: https://github.com/apache/commons-csv/pull/434


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-pool]

2024-06-07 Thread via GitHub


garydgregory merged PR #318:
URL: https://github.com/apache/commons-pool/pull/318


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump com.google.guava:guava-testlib from 33.2.0-jre to 33.2.1-jre [commons-collections]

2024-06-07 Thread via GitHub


garydgregory merged PR #500:
URL: https://github.com/apache/commons-collections/pull/500


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump commons-net:commons-net from 3.10.0 to 3.11.0 [commons-vfs]

2024-06-07 Thread via GitHub


garydgregory merged PR #546:
URL: https://github.com/apache/commons-vfs/pull/546


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-jexl]

2024-06-07 Thread via GitHub


garydgregory merged PR #261:
URL: https://github.com/apache/commons-jexl/pull/261


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-collections]

2024-06-07 Thread via GitHub


garydgregory merged PR #499:
URL: https://github.com/apache/commons-collections/pull/499


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-skin]

2024-06-07 Thread via GitHub


garydgregory merged PR #137:
URL: https://github.com/apache/commons-skin/pull/137


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.maven.plugins:maven-jxr-plugin from 3.3.2 to 3.4.0 [commons-parent]

2024-06-07 Thread via GitHub


garydgregory merged PR #426:
URL: https://github.com/apache/commons-parent/pull/426


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.1 to 3.4.0 [commons-parent]

2024-06-07 Thread via GitHub


garydgregory merged PR #425:
URL: https://github.com/apache/commons-parent/pull/425


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-crypto]

2024-06-07 Thread via GitHub


garydgregory merged PR #347:
URL: https://github.com/apache/commons-crypto/pull/347


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-parent]

2024-06-07 Thread via GitHub


garydgregory merged PR #427:
URL: https://github.com/apache/commons-parent/pull/427


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-vfs]

2024-06-07 Thread via GitHub


garydgregory merged PR #545:
URL: https://github.com/apache/commons-vfs/pull/545


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-bsf]

2024-06-07 Thread via GitHub


garydgregory merged PR #150:
URL: https://github.com/apache/commons-bsf/pull/150


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump maven.plugin.version from 3.13.0 to 3.13.1 [commons-release-plugin]

2024-06-07 Thread via GitHub


garydgregory merged PR #282:
URL: https://github.com/apache/commons-release-plugin/pull/282


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.maven.plugin-tools:maven-plugin-tools-ant from 3.13.0 to 3.13.1 [commons-build-plugin]

2024-06-07 Thread via GitHub


garydgregory merged PR #272:
URL: https://github.com/apache/commons-build-plugin/pull/272


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.maven.plugins:maven-plugin-plugin from 3.13.0 to 3.13.1 [commons-build-plugin]

2024-06-07 Thread via GitHub


garydgregory merged PR #271:
URL: https://github.com/apache/commons-build-plugin/pull/271


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.maven.plugin-tools:maven-script-ant from 3.13.0 to 3.13.1 [commons-build-plugin]

2024-06-07 Thread via GitHub


garydgregory merged PR #270:
URL: https://github.com/apache/commons-build-plugin/pull/270


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-logging]

2024-06-07 Thread via GitHub


garydgregory merged PR #263:
URL: https://github.com/apache/commons-logging/pull/263


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [commons-dbutils]

2024-06-07 Thread via GitHub


garydgregory merged PR #276:
URL: https://github.com/apache/commons-dbutils/pull/276


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.6 to 3.25.8 [commons-release-plugin]

2024-06-07 Thread via GitHub


garydgregory merged PR #283:
URL: https://github.com/apache/commons-release-plugin/pull/283


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.6 to 3.25.8 [commons-cli]

2024-06-07 Thread via GitHub


garydgregory merged PR #282:
URL: https://github.com/apache/commons-cli/pull/282


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.6 to 3.25.8 [commons-build-plugin]

2024-06-07 Thread via GitHub


garydgregory merged PR #269:
URL: https://github.com/apache/commons-build-plugin/pull/269


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.6 to 3.25.8 [commons-compress]

2024-06-07 Thread via GitHub


garydgregory merged PR #536:
URL: https://github.com/apache/commons-compress/pull/536


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.6 to 3.25.8 [commons-digester]

2024-06-07 Thread via GitHub


garydgregory merged PR #168:
URL: https://github.com/apache/commons-digester/pull/168


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.6 to 3.25.8 [commons-dbcp]

2024-06-07 Thread via GitHub


garydgregory merged PR #394:
URL: https://github.com/apache/commons-dbcp/pull/394


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.6 to 3.25.8 [commons-net]

2024-06-07 Thread via GitHub


garydgregory merged PR #260:
URL: https://github.com/apache/commons-net/pull/260


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.6 to 3.25.8 [commons-scxml]

2024-06-06 Thread via GitHub


garydgregory merged PR #234:
URL: https://github.com/apache/commons-scxml/pull/234


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump github/codeql-action from 3.25.6 to 3.25.8 [commons-io]

2024-06-06 Thread via GitHub


garydgregory merged PR #636:
URL: https://github.com/apache/commons-io/pull/636


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



[PR] Remove autogenerated files and rely on autoreconf only [commons-daemon]

2024-06-06 Thread via GitHub


michael-o opened a new pull request, #178:
URL: https://github.com/apache/commons-daemon/pull/178

   Unfortunately, this requires GNU Autoconf 2.70: 
https://lists.gnu.org/archive/html/autotools-announce/2020-12/msg1.html
   
   >  ‘autoreconf --install’ will add ‘config.sub’, ‘config.guess’, 
and
   >  ‘install-sh’ to your source tree if they are needed.  If you are
   >  using Automake, scripts added to your tree by ‘autoreconf --install’
   >  will automatically be included in the tarball produced by ‘make dist’;
   >  otherwise, you will need to arrange for them to be distributed
   >  yourself.
   
   This will only affect those who are developing, those who use a source 
tarball will use the src distro which expects `autoreconf -fi` to be run 
beforehand.
   
   Note: Autoconf 2.70 has been around for 3,5 years...


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.openjpa:openjpa from 3.2.2 to 4.0.0 [commons-jcs]

2024-06-06 Thread via GitHub


tvand closed pull request #213: Bump org.apache.openjpa:openjpa from 3.2.2 to 
4.0.0
URL: https://github.com/apache/commons-jcs/pull/213


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.openwebbeans:openwebbeans-impl from 2.0.27 to 4.0.2 [commons-jcs]

2024-06-06 Thread via GitHub


tvand closed pull request #212: Bump org.apache.openwebbeans:openwebbeans-impl 
from 2.0.27 to 4.0.2
URL: https://github.com/apache/commons-jcs/pull/212


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.derby:derby from 10.14.2.0 to 10.17.1.0 in /commons-jcs3-jcache-openjpa [commons-jcs]

2024-06-06 Thread via GitHub


tvand closed pull request #186: Bump org.apache.derby:derby from 10.14.2.0 to 
10.17.1.0 in /commons-jcs3-jcache-openjpa
URL: https://github.com/apache/commons-jcs/pull/186


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.derby:derby from 10.14.2.0 to 10.17.1.0 [commons-jcs]

2024-06-06 Thread via GitHub


tvand closed pull request #185: Bump org.apache.derby:derby from 10.14.2.0 to 
10.17.1.0
URL: https://github.com/apache/commons-jcs/pull/185


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump javax.servlet:javax.servlet-api from 3.1.0 to 4.0.1 [commons-jcs]

2024-06-06 Thread via GitHub


tvand closed pull request #166: Bump javax.servlet:javax.servlet-api from 3.1.0 
to 4.0.1
URL: https://github.com/apache/commons-jcs/pull/166


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Fix several issues around Java OS and header files location detection [commons-daemon]

2024-06-06 Thread via GitHub


michael-o commented on PR #177:
URL: https://github.com/apache/commons-daemon/pull/177#issuecomment-2152274386

   This implicitly fixes build on HP-UX because now it says 
`-I/opt/java8/include/hp-ux`, but this dir does not exist. There is only: 
   ```
   $ stat /opt/java8/include/hpux
Datei: /opt/java8/include/hpux
Größe: 1024  Blöcke: 1  EA Block: 8192   Verzeichnis
   Gerät: 64/65537Inode: 27925   Verknüpfungen: 2
   Zugriff: (0555/dr-xr-xr-x)  Uid: (2/ bin)   Gid: (2/ bin)
   Zugriff: 2024-06-05 14:29:57.0 +0200
   Modifiziert: 2019-12-12 23:09:58.0 +0100
   Geändert: 2024-06-05 22:58:13.0 +0200
   Geburt: -
   ```


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.tomcat:tomcat-coyote from 9.0.83 to 9.0.86 in /commons-jcs3-jcache-extras [commons-jcs]

2024-06-06 Thread via GitHub


tvand merged PR #234:
URL: https://github.com/apache/commons-jcs/pull/234


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump commons-io:commons-io from 2.15.1 to 2.16.1 [commons-jcs]

2024-06-06 Thread via GitHub


tvand merged PR #235:
URL: https://github.com/apache/commons-jcs/pull/235


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



[PR] Fix several issues around Java OS and header files location detection [commons-daemon]

2024-06-06 Thread via GitHub


michael-o opened a new pull request, #177:
URL: https://github.com/apache/commons-daemon/pull/177

   Tested on RHEL, FreeBSD and HP-UX.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Support generation of single quotes [commons-lang]

2024-06-05 Thread via GitHub


sebbASF commented on PR #1227:
URL: https://github.com/apache/commons-lang/pull/1227#issuecomment-2149449334

   Yes. This PR does handle that specific syntax, i.e. a pair of single-quotes 
outside a quoted string.
   
   However, SDF also allows such a pair inside a quoted string.
   For example "'Joan''s birthday is 'EEE, MMM d, yy"
   
   Currently the embedded pair are treated ending a string and starting a new 
one.
   This PR does not change that, i.e. it does not behave like SDF.
   
   But it does allow one to use the format:
   
   "'Joans birthday is 'EEE, MMM d, yy"
   
   Currently, that is treated 3 separate constant strings (plus date format)
   This PR treats the 2nd empty constant string as meaning a lone single quote.
   
   Whilst that allows for a lone quote without breaking existing tests, it does 
not agree with SDF, which renders the embedded 4 single-quotes as 2 pairs of 
single-quotes. Existing tests don't include this possibility, but would be 
broken by the PR.
   
   It is also very awkward to use.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



[PR] LANG-1728: Deprecate EvenListenerSupport [commons-lang]

2024-06-05 Thread via GitHub


thachlp opened a new pull request, #1229:
URL: https://github.com/apache/commons-lang/pull/1229

   (no comment)


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Support generation of single quotes [commons-lang]

2024-06-04 Thread via GitHub


garydgregory commented on PR #1227:
URL: https://github.com/apache/commons-lang/pull/1227#issuecomment-2148849269

   Pardon my possible confusion but isn't this PR all about addressing this 
discrepancy? 


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Support generation of single quotes [commons-lang]

2024-06-04 Thread via GitHub


sebbASF commented on PR #1227:
URL: https://github.com/apache/commons-lang/pull/1227#issuecomment-2148354253

   Yes, SDF does support that; the problem is that LANG does not.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Support generation of single quotes [commons-lang]

2024-06-04 Thread via GitHub


garydgregory commented on PR #1227:
URL: https://github.com/apache/commons-lang/pull/1227#issuecomment-2148095287

   Hm, in the Javadoc for SDF I see:
   ```
   "EEE, MMM d, ''yy" Wed, Jul 4, '01  
   ```
   So they DO support doubling  single quotes to generate one quote. What am I 
missing?
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Upgrade commons-io from 2.15.1 to 2.16.1 [commons-compress]

2024-06-04 Thread via GitHub


garydgregory commented on PR #513:
URL: https://github.com/apache/commons-compress/pull/513#issuecomment-2147574240

   @madrob 
   Would you please rebase on git 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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Upgrade commons-io from 2.15.1 to 2.16.1 [commons-compress]

2024-06-04 Thread via GitHub


garydgregory commented on PR #513:
URL: https://github.com/apache/commons-compress/pull/513#issuecomment-2147570716

   > @madrob I had to fix a couple of bugs, please rebase on git master. TY!
   
   https://issues.apache.org/jira/browse/COMPRESS-675 has been addressed.
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.commons:commons-parent from 67 to 70 [commons-vfs]

2024-06-04 Thread via GitHub


garydgregory commented on PR #528:
URL: https://github.com/apache/commons-vfs/pull/528#issuecomment-2147286460

   @dependabot rebase


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump org.apache.commons:commons-compress from 1.26.1 to 1.26.2 [commons-vfs]

2024-06-04 Thread via GitHub


garydgregory merged PR #535:
URL: https://github.com/apache/commons-vfs/pull/535


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump jakarta.mail from 1.6.5 to 2.0.1 [commons-email]

2024-06-04 Thread via GitHub


garydgregory commented on PR #43:
URL: https://github.com/apache/commons-email/pull/43#issuecomment-2147255709

   I hope to look within a week or two but I am maintaining other components 
ATM.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] Bump jakarta.mail from 1.6.5 to 2.0.1 [commons-email]

2024-06-04 Thread via GitHub


glau2 commented on PR #43:
URL: https://github.com/apache/commons-email/pull/43#issuecomment-2146925063

   Hi any updates on this? Thanks


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] [CONFIGURATION-847] Property with an empty string value was not processed [commons-configuration]

2024-06-03 Thread via GitHub


garydgregory commented on PR #431:
URL: 
https://github.com/apache/commons-configuration/pull/431#issuecomment-2145901666

   PR merged to git master. Build in 
https://repository.apache.org/content/repositories/snapshots/


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] CONFIGURATION-847 property with an empty string value was not processed [commons-configuration]

2024-06-03 Thread via GitHub


garydgregory merged PR #431:
URL: https://github.com/apache/commons-configuration/pull/431


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] CONFIGURATION-847 property with an empty string value was not processed [commons-configuration]

2024-06-03 Thread via GitHub


kbarlowgw commented on PR #431:
URL: 
https://github.com/apache/commons-configuration/pull/431#issuecomment-2145804710

   Sounds good to me.  I've run it through our code and see no issues.
   
   On Mon, Jun 3, 2024 at 1:30 PM Tim Donohue ***@***.***> wrote:
   
   > ***@***. commented on this pull request.
   >
   >  For my purposes, this looks correct. There's only a single behavior
   > change in this code which ensure commons-configuration v2.10.x is again
   > "backwards compatible" with v2.9.0.
   >
   > Essentially, in 2.9.0, if you had an empty string property (e.g. 
my.property
   > = ) this was seen as an empty string ("") in Spring Boot. However, if the
   > property was unspecified, this was seen as null in Spring Boot.
   >
   > The code in this PR looks correct to me as it now correctly differentiates
   > an unspecified property from an empty string property.
   >
   > —
   > Reply to this email directly, view it on GitHub
   > 
,
   > or unsubscribe
   > 

   > .
   > You are receiving this because you were mentioned.Message ID:
   > ***@***.***>
   >
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] UriParser fix and performance improvements [commons-vfs]

2024-06-03 Thread via GitHub


japplis commented on PR #541:
URL: https://github.com/apache/commons-vfs/pull/541#issuecomment-2144903362

   Closing this pull request as replaced by 
https://github.com/apache/commons-vfs/pull/543/files and upcoming pull requests.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] UriParser fix and performance improvements [commons-vfs]

2024-06-03 Thread via GitHub


japplis closed pull request #541: UriParser fix and performance improvements
URL: https://github.com/apache/commons-vfs/pull/541


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



Re: [PR] [IO-831] Add getInputStream() for 'https' & 'http' in URIOrigin [commons-io]

2024-06-02 Thread via GitHub


thachlp commented on PR #630:
URL: https://github.com/apache/commons-io/pull/630#issuecomment-2144179515

   > @thachlp Thank you for your updates. Merged!
   
   Thanks @garydgregory 


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

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



  1   2   3   4   5   6   7   8   9   10   >