[commons-statistics] branch master updated: Correct assertion message
This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-statistics.git The following commit(s) were added to refs/heads/master by this push: new d539133 Correct assertion message d539133 is described below commit d53913309c2b0549f2fa4ee66ce3c31cf634e8c9 Author: aherbert AuthorDate: Wed Dec 7 12:15:36 2022 + Correct assertion message --- .../java/org/apache/commons/statistics/ranking/NaturalRankingTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java b/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java index bf454b8..500197e 100644 --- a/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java +++ b/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java @@ -429,7 +429,7 @@ class NaturalRankingTest { } } final double p = new ChiSquareTest().chiSquareTest(counts); -Assertions.assertFalse(p < 1e-3, () -> "p-value too large: " + p); +Assertions.assertFalse(p < 1e-3, () -> "p-value too small: " + p); } /**
[commons-statistics] branch master updated: sonarfix: use assertEquals
This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-statistics.git The following commit(s) were added to refs/heads/master by this push: new 2ebf845 sonarfix: use assertEquals 2ebf845 is described below commit 2ebf845d1701401fb76153657b2252916c2b1af0 Author: aherbert AuthorDate: Wed Dec 7 12:38:11 2022 + sonarfix: use assertEquals --- .../java/org/apache/commons/statistics/ranking/NaturalRankingTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java b/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java index 500197e..d292a01 100644 --- a/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java +++ b/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java @@ -595,7 +595,7 @@ class NaturalRankingTest { // For the actual rank, map back to the group and check it is allowed. for (int i = 0; i < numberOfElements; i++) { final double r = ranks[i]; -Assertions.assertTrue((int) r == r, "Non-integer rank: " + r); +Assertions.assertEquals(r, (int) r, () -> "Non-integer rank: " + r); final int rank = (int) r; final BitSet groupSet = rankToGroup[rank]; final int group = expectedGroup[i];
[commons-statistics] branch master updated: Add Sonarcloud badge
This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-statistics.git The following commit(s) were added to refs/heads/master by this push: new 04486b2 Add Sonarcloud badge 04486b2 is described below commit 04486b28202f220c025f2649c4d08ab127717493 Author: aherbert AuthorDate: Wed Dec 7 12:57:33 2022 + Add Sonarcloud badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e80e448..66eacef 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ Apache Commons Statistics [](https://github.com/apache/commons-statistics/actions/workflows/maven.yml) [](https://app.codecov.io/gh/apache/commons-statistics) +[](https://sonarcloud.io/dashboard?id=commons-statistics) [](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-statistics-distribution/) [](http://www.apache.org/licenses/LICENSE-2.0.html)
[commons-rng] branch master updated: RNG-184: Add an ArraySampler to shuffle arrays
This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git The following commit(s) were added to refs/heads/master by this push: new 06823f14 RNG-184: Add an ArraySampler to shuffle arrays 06823f14 is described below commit 06823f14c39135a82d1c773720fdffc31c1d794c Author: Alex Herbert AuthorDate: Tue Dec 6 23:50:27 2022 + RNG-184: Add an ArraySampler to shuffle arrays --- .../apache/commons/rng/sampling/ArraySampler.java | 437 + .../commons/rng/sampling/ArraySamplerTest.java | 546 + src/changes/changes.xml| 4 + src/main/resources/pmd/pmd-ruleset.xml | 3 +- 4 files changed, 989 insertions(+), 1 deletion(-) diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/ArraySampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/ArraySampler.java new file mode 100644 index ..8c739d57 --- /dev/null +++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/ArraySampler.java @@ -0,0 +1,437 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.rng.sampling; + +import org.apache.commons.rng.UniformRandomProvider; + +/** + * Utilities for shuffling an array in-place. + * + * Shuffles use the https://en.wikipedia.org/wiki/Fisher-Yates_shuffle#The_modern_algorithm";> + * Fisher-Yates algorithm. + * + * @since 1.6 + */ +public final class ArraySampler { +/** Class contains only static methods. */ +private ArraySampler() {} + +/** + * Shuffles the entries of the given array. + * + * @param rng Source of randomness. + * @param array Array whose entries will be shuffled (in-place). + */ +public static void shuffle(UniformRandomProvider rng, boolean[] array) { +for (int i = array.length; i > 1; i--) { +swap(array, i - 1, rng.nextInt(i)); +} +} + +/** + * Shuffles the entries of the given array. + * + * @param rng Source of randomness. + * @param array Array whose entries will be shuffled (in-place). + */ +public static void shuffle(UniformRandomProvider rng, byte[] array) { +for (int i = array.length; i > 1; i--) { +swap(array, i - 1, rng.nextInt(i)); +} +} + +/** + * Shuffles the entries of the given array. + * + * @param rng Source of randomness. + * @param array Array whose entries will be shuffled (in-place). + */ +public static void shuffle(UniformRandomProvider rng, char[] array) { +for (int i = array.length; i > 1; i--) { +swap(array, i - 1, rng.nextInt(i)); +} +} + +/** + * Shuffles the entries of the given array. + * + * @param rng Source of randomness. + * @param array Array whose entries will be shuffled (in-place). + */ +public static void shuffle(UniformRandomProvider rng, double[] array) { +for (int i = array.length; i > 1; i--) { +swap(array, i - 1, rng.nextInt(i)); +} +} + +/** + * Shuffles the entries of the given array. + * + * @param rng Source of randomness. + * @param array Array whose entries will be shuffled (in-place). + */ +public static void shuffle(UniformRandomProvider rng, float[] array) { +for (int i = array.length; i > 1; i--) { +swap(array, i - 1, rng.nextInt(i)); +} +} + +/** + * Shuffles the entries of the given array. + * + * @param rng Source of randomness. + * @param array Array whose entries will be shuffled (in-place). + */ +public static void shuffle(UniformRandomProvider rng, int[] array) { +for (int i = array.length; i > 1; i--) { +swap(array, i - 1, rng.nextInt(i)); +} +} + +/** + * Shuffles the entries of the given array. + * + * @param rng Source of randomness. + * @param array Array whose entries will be shuffled (in-place). + */ +public static void shuffle(UniformRandomProvider rng, long[] array) { +for (in
[commons-lang] branch master updated: Reset TimeZone after test
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git The following commit(s) were added to refs/heads/master by this push: new f55164f28 Reset TimeZone after test f55164f28 is described below commit f55164f28e1a720d2ec7e27a6ebfe7e501710dd6 Author: Gary Gregory AuthorDate: Wed Dec 7 09:40:56 2022 -0500 Reset TimeZone after test --- .../java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java index 8fc9d19c3..00f55351e 100644 --- a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java @@ -32,6 +32,7 @@ import java.util.TimeZone; import org.apache.commons.lang3.AbstractLangTest; import org.junit.jupiter.api.Test; +import org.junitpioneer.jupiter.DefaultTimeZone; /** * TestCase for DurationFormatUtils. @@ -106,8 +107,9 @@ public class DurationFormatUtilsTest extends AbstractLangTest { //bruteForce(1996, 1, 29, "M", Calendar.MONTH); // this will fail } -// Attempting to test edge cases in DurationFormatUtils.formatPeriod +/** Attempting to test edge cases in DurationFormatUtils.formatPeriod. */ @Test +@DefaultTimeZone(TimeZones.GMT_ID) public void testEdgeDurations() { // This test case must use a time zone without DST TimeZone.setDefault(FastTimeZone.getGmtTimeZone());
[commons-lang] branch master updated: Fix formatting
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git The following commit(s) were added to refs/heads/master by this push: new 7b732b7a2 Fix formatting 7b732b7a2 is described below commit 7b732b7a26a14a0a5f1c23f27f27014436e0226e Author: Gary Gregory AuthorDate: Wed Dec 7 09:41:42 2022 -0500 Fix formatting --- .../lang3/time/DurationFormatUtilsTest.java| 70 +++--- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java index 00f55351e..605773632 100644 --- a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java @@ -73,7 +73,7 @@ public class DurationFormatUtilsTest extends AbstractLangTest { array2[1] = c.get(Calendar.MONTH); array2[2] = c.get(Calendar.DAY_OF_MONTH); final String tmpMsg = msg + array2[0] + "-" + array2[1] + "-" + array2[2] + " at "; -assertEqualDuration( tmpMsg + i, Integer.toString(i), array1, array2, format ); +assertEqualDuration(tmpMsg + i, Integer.toString(i), array1, array2, format ); c.add(calendarType, 1); } } @@ -81,7 +81,7 @@ public class DurationFormatUtilsTest extends AbstractLangTest { /** https://issues.apache.org/bugzilla/show_bug.cgi?id=38401 */ @Test public void testBugzilla38401() { -assertEqualDuration( "/00/30 16:00:00 000", new int[] { 2006, 0, 26, 18, 47, 34 }, +assertEqualDuration("/00/30 16:00:00 000", new int[] { 2006, 0, 26, 18, 47, 34 }, new int[] { 2006, 1, 26, 10, 47, 34 }, "/MM/dd HH:mm:ss SSS"); } @@ -113,90 +113,90 @@ public class DurationFormatUtilsTest extends AbstractLangTest { public void testEdgeDurations() { // This test case must use a time zone without DST TimeZone.setDefault(FastTimeZone.getGmtTimeZone()); -assertEqualDuration( "01", new int[] { 2006, 0, 15, 0, 0, 0 }, +assertEqualDuration("01", new int[] { 2006, 0, 15, 0, 0, 0 }, new int[] { 2006, 2, 10, 0, 0, 0 }, "MM"); -assertEqualDuration( "12", new int[] { 2005, 0, 15, 0, 0, 0 }, +assertEqualDuration("12", new int[] { 2005, 0, 15, 0, 0, 0 }, new int[] { 2006, 0, 15, 0, 0, 0 }, "MM"); -assertEqualDuration( "12", new int[] { 2005, 0, 15, 0, 0, 0 }, +assertEqualDuration("12", new int[] { 2005, 0, 15, 0, 0, 0 }, new int[] { 2006, 0, 16, 0, 0, 0 }, "MM"); -assertEqualDuration( "11", new int[] { 2005, 0, 15, 0, 0, 0 }, +assertEqualDuration("11", new int[] { 2005, 0, 15, 0, 0, 0 }, new int[] { 2006, 0, 14, 0, 0, 0 }, "MM"); -assertEqualDuration( "01 26", new int[] { 2006, 0, 15, 0, 0, 0 }, +assertEqualDuration("01 26", new int[] { 2006, 0, 15, 0, 0, 0 }, new int[] { 2006, 2, 10, 0, 0, 0 }, "MM dd"); -assertEqualDuration( "54", new int[] { 2006, 0, 15, 0, 0, 0 }, +assertEqualDuration("54", new int[] { 2006, 0, 15, 0, 0, 0 }, new int[] { 2006, 2, 10, 0, 0, 0 }, "dd"); -assertEqualDuration( "09 12", new int[] { 2006, 1, 20, 0, 0, 0 }, +assertEqualDuration("09 12", new int[] { 2006, 1, 20, 0, 0, 0 }, new int[] { 2006, 11, 4, 0, 0, 0 }, "MM dd"); -assertEqualDuration( "287", new int[] { 2006, 1, 20, 0, 0, 0 }, +assertEqualDuration("287", new int[] { 2006, 1, 20, 0, 0, 0 }, new int[] { 2006, 11, 4, 0, 0, 0 }, "dd"); -assertEqualDuration( "11 30", new int[] { 2006, 0, 2, 0, 0, 0 }, +assertEqualDuration("11 30", new int[] { 2006, 0, 2, 0, 0, 0 }, new int[] { 2007, 0, 1, 0, 0, 0 }, "MM dd"); -assertEqualDuration( "364", new int[] { 2006, 0, 2, 0, 0, 0 }, +assertEqualDuration("364", new int[] { 2006, 0, 2, 0, 0, 0 }, new int[] { 2007, 0, 1, 0, 0, 0 }, "dd"); -assertEqualDuration( "12 00", new int[] { 2006, 0, 1, 0, 0, 0 }, +assertEqualDuration("12 00", new int[] { 2006, 0, 1, 0, 0, 0 }, new int[] { 2007, 0, 1, 0, 0, 0 }, "MM dd"); -assertEqualDuration( "365", new int[] { 2006, 0, 1, 0, 0, 0 }, +assertEqualDuration("365", new int[] { 2006, 0, 1, 0, 0, 0 }, new int[] { 2007, 0, 1, 0, 0, 0 }, "dd"); -assertEqualDuration( "31", new int[] { 2006, 0, 1, 0, 0, 0 }, +assertEqualDuration("31", new int[] { 2006, 0, 1, 0, 0, 0 },
[commons-lang] branch master updated: Reset TimeZone after test
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git The following commit(s) were added to refs/heads/master by this push: new ba07b630b Reset TimeZone after test ba07b630b is described below commit ba07b630b230d14aa76ad65e979e4b326d00ab32 Author: Gary Gregory AuthorDate: Wed Dec 7 09:50:56 2022 -0500 Reset TimeZone after test Don't initialize variables to their default value --- .../apache/commons/lang3/time/DateUtilsTest.java | 107 - .../lang3/time/DurationFormatUtilsTest.java| 3 + 2 files changed, 63 insertions(+), 47 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java index 02c4ac677..7b6a1e1b7 100644 --- a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java @@ -37,17 +37,23 @@ import java.util.NoSuchElementException; import java.util.TimeZone; import org.apache.commons.lang3.AbstractLangTest; +import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junitpioneer.jupiter.DefaultLocale; /** - * Unit tests {@link org.apache.commons.lang3.time.DateUtils}. + * Tests {@link org.apache.commons.lang3.time.DateUtils}. + * + * NOT THREAD_SAFE. + * */ public class DateUtilsTest extends AbstractLangTest { private static Date BASE_DATE; +private static TimeZone DEFAULT_ZONE; + /** * Used to check that Calendar objects are close enough @@ -68,6 +74,7 @@ public class DateUtilsTest extends AbstractLangTest { assertWeekIterator(it, start, end); } + /** * This checks that this is a 7 divisible iterator of Calendar objects * that are dates (no time), and exactly 1 day spaced after each other @@ -94,6 +101,7 @@ public class DateUtilsTest extends AbstractLangTest { assertFalse(count % 7 != 0, "There were " + count + " days in this iterator"); assertCalendarsEquals("", end, cal, 0); } + /** * Convenience method for when working with Date objects */ @@ -105,46 +113,51 @@ public class DateUtilsTest extends AbstractLangTest { assertWeekIterator(it, calStart, calEnd); } + @BeforeAll public static void classSetup() { final GregorianCalendar cal = new GregorianCalendar(2000, 6, 5, 4, 3, 2); cal.set(Calendar.MILLISECOND, 1); BASE_DATE = cal.getTime(); } -private DateFormat dateParser = null; -private DateFormat dateTimeParser = null; -private Date dateAmPm1 = null; -private Date dateAmPm2 = null; -private Date dateAmPm3 = null; -private Date dateAmPm4 = null; -private Date date0 = null; -private Date date1 = null; -private Date date2 = null; -private Date date3 = null; -private Date date4 = null; -private Date date5 = null; -private Date date6 = null; -private Date date7 = null; -private Date date8 = null; -private Calendar calAmPm1 = null; -private Calendar calAmPm2 = null; -private Calendar calAmPm3 = null; -private Calendar calAmPm4 = null; -private Calendar cal1 = null; -private Calendar cal2 = null; -private Calendar cal3 = null; -private Calendar cal4 = null; -private Calendar cal5 = null; -private Calendar cal6 = null; - -private Calendar cal7 = null; - -private Calendar cal8 = null; - -private TimeZone zone = null; - -private TimeZone defaultZone = null; +private DateFormat dateParser; +private DateFormat dateTimeParser; +private Date dateAmPm1; +private Date dateAmPm2; +private Date dateAmPm3; +private Date dateAmPm4; +private Date date0; +private Date date1; +private Date date2; +private Date date3; +private Date date4; +private Date date5; +private Date date6; +private Date date7; +private Date date8; +private Calendar calAmPm1; +private Calendar calAmPm2; +private Calendar calAmPm3; +private Calendar calAmPm4; +private Calendar cal1; +private Calendar cal2; +private Calendar cal3; +private Calendar cal4; +private Calendar cal5; +private Calendar cal6; + +private Calendar cal7; + +private Calendar cal8; + +private TimeZone zone; + +@AfterEach +public void afterEachResetTimeZone() { +TimeZone.setDefault(DEFAULT_ZONE); +} + private void assertDate(final Date date, final int year, final int month, final int day, final int hour, final int min, final int sec, final int mil) { final GregorianCalendar cal = new GregorianCalendar(); cal.setTime(date); @@ -169,7 +182,7 @@ public class DateUtilsTest extends AbstractLan
[commons-lang] branch master updated: Remove trailing whitespace.
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git The following commit(s) were added to refs/heads/master by this push: new ebc8d186c Remove trailing whitespace. ebc8d186c is described below commit ebc8d186c1fc8cdd92a34109a7e6f47bcc6ef958 Author: Gary Gregory AuthorDate: Wed Dec 7 09:54:51 2022 -0500 Remove trailing whitespace. --- src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java index 7b6a1e1b7..64847b741 100644 --- a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java @@ -157,7 +157,7 @@ public class DateUtilsTest extends AbstractLangTest { public void afterEachResetTimeZone() { TimeZone.setDefault(DEFAULT_ZONE); } - + private void assertDate(final Date date, final int year, final int month, final int day, final int hour, final int min, final int sec, final int mil) { final GregorianCalendar cal = new GregorianCalendar(); cal.setTime(date);
[commons-lang] branch master updated: Javadoc & format tweaks
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git The following commit(s) were added to refs/heads/master by this push: new 3f920e7a7 Javadoc & format tweaks 3f920e7a7 is described below commit 3f920e7a753dffd33f33393d8306bf571d5c979f Author: Gary Gregory AuthorDate: Wed Dec 7 10:10:16 2022 -0500 Javadoc & format tweaks --- .../java/org/apache/commons/lang3/time/DateUtilsTest.java | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java index 64847b741..730959adf 100644 --- a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java @@ -54,7 +54,6 @@ public class DateUtilsTest extends AbstractLangTest { private static Date BASE_DATE; private static TimeZone DEFAULT_ZONE; - /** * Used to check that Calendar objects are close enough * delta is in milliseconds @@ -606,7 +605,7 @@ public class DateUtilsTest extends AbstractLangTest { dateTimeParser.setTimeZone(DEFAULT_ZONE); } - // Bug 31395, large dates +// Bug 31395, large dates final Date endOfTime = new Date(Long.MAX_VALUE); // fyi: Sun Aug 17 07:12:55 CET 292278994 -- 807 millis final GregorianCalendar endCal = new GregorianCalendar(); endCal.setTime(endOfTime); @@ -790,7 +789,7 @@ public class DateUtilsTest extends AbstractLangTest { assertThrows(ClassCastException.class, () -> DateUtils.iterator("", DateUtils.RANGE_WEEK_CENTER)); } -// https://issues.apache.org/jira/browse/LANG-530 +/** https://issues.apache.org/jira/browse/LANG-530 */ @SuppressWarnings("deprecation") @Test public void testLang530() throws ParseException { @@ -806,7 +805,7 @@ public class DateUtilsTest extends AbstractLangTest { DateUtils.parseDateStrictly("09 abril 2008 23:55:38 GMT", new Locale("es"), "dd MMM HH:mm:ss zzz"); } -// Parse English date with German Locale +/** Parse English date with German Locale. */ @DefaultLocale(language = "de") @Test public void testLANG799_DE_FAIL() { @@ -834,7 +833,7 @@ public class DateUtilsTest extends AbstractLangTest { DateUtils.parseDateStrictly("Wed, 09 Apr 2008 23:55:38 GMT", "EEE, dd MMM HH:mm:ss zzz"); } -// Parse German date with English Locale, specifying German Locale override +/** Parse German date with English Locale, specifying German Locale override. */ @DefaultLocale(language = "en") @Test public void testLANG799_EN_WITH_DE_LOCALE() throws ParseException { @@ -914,9 +913,9 @@ public class DateUtilsTest extends AbstractLangTest { assertThrows(NullPointerException.class, () -> DateUtils.parseDate(null, parsers)); } -// LANG-486 +/** LANG-486 */ @Test -public void testParseDateWithLeniency() throws Exception { +public void testParseDateWithLeniency() throws ParseException { final GregorianCalendar cal = new GregorianCalendar(1998, 6, 30); final String dateStr = "02 942, 1996"; final String[] parsers = {"MM DDD, "};
[commons-lang] branch master updated: Typos
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git The following commit(s) were added to refs/heads/master by this push: new 57c86449b Typos 57c86449b is described below commit 57c86449b2369758935151174f403a1b261b7b93 Author: Gary Gregory AuthorDate: Wed Dec 7 10:11:31 2022 -0500 Typos --- src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java | 2 +- .../java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java index 730959adf..d3e7abbac 100644 --- a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java @@ -46,7 +46,7 @@ import org.junitpioneer.jupiter.DefaultLocale; /** * Tests {@link org.apache.commons.lang3.time.DateUtils}. * - * NOT THREAD_SAFE. + * NOT THREAD-SAFE. * */ public class DateUtilsTest extends AbstractLangTest { diff --git a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java index 0a7e17f8a..2266abb4a 100644 --- a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java @@ -37,7 +37,7 @@ import org.junitpioneer.jupiter.DefaultTimeZone; /** * TestCase for DurationFormatUtils. * - * NOT THREAD_SAFE. + * NOT THREAD-SAFE. * */ public class DurationFormatUtilsTest extends AbstractLangTest {
[commons-parent] branch master updated: Bump Apache Commons BCEL from 6.6.1 to 6.7.0
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-parent.git The following commit(s) were added to refs/heads/master by this push: new 28d8729 Bump Apache Commons BCEL from 6.6.1 to 6.7.0 28d8729 is described below commit 28d8729df47d3713e777d2217e96cab1be09b9a6 Author: Gary Gregory AuthorDate: Wed Dec 7 10:35:36 2022 -0500 Bump Apache Commons BCEL from 6.6.1 to 6.7.0 --- pom.xml | 2 +- src/changes/changes.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2e52e99..100417b 100644 --- a/pom.xml +++ b/pom.xml @@ -766,7 +766,7 @@ org.apache.bcel bcel - 6.6.1 + 6.7.0 diff --git a/src/changes/changes.xml b/src/changes/changes.xml index fdaffac..234d5ce 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -78,7 +78,7 @@ The type attribute can be add,update,fix,remove. Bump JUnit from 5.9.0 to 5.9.1. Bump spdx-maven-plugin from 0.5.5 to 0.6.3. Version 0.6.2 fixes NPE https://github.com/spdx/spdx-maven-plugin/issues/53 #159 Bump pmd from 6.49.0 to 6.52.0. - Bump Apache Commons BCEL from 6.5.0 to 6.6.1. + Bump Apache Commons BCEL from 6.5.0 to 6.7.0. Bump cyclonedx-maven-plugin from 2.7.1 to 2.7.3 #157, #173. Bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.3.0 #158, #170, #171. Bump spotbugs from 4.7.2 to 4.7.3 #161.
[commons-parent] branch master updated: Update description
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-parent.git The following commit(s) were added to refs/heads/master by this push: new 4e06533 Update description 4e06533 is described below commit 4e065338bbf77ee77a616e8f1d25eef483a1458c Author: Gary Gregory AuthorDate: Wed Dec 7 10:36:54 2022 -0500 Update description --- src/changes/changes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 234d5ce..cf7be6c 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -60,7 +60,7 @@ The type attribute can be add,update,fix,remove. --> - + Make CycloneDX work better with multi-module projects. New interface methods must be default methods to maintain BC.
[commons-build-plugin] branch master updated: Pick up commons.release-plugin.version from parent POM
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-build-plugin.git The following commit(s) were added to refs/heads/master by this push: new a258614 Pick up commons.release-plugin.version from parent POM a258614 is described below commit a2586141406ce0c192fc4e148b635a71f1495df3 Author: Gary Gregory AuthorDate: Wed Dec 7 10:49:36 2022 -0500 Pick up commons.release-plugin.version from parent POM --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0017df3..287b6bb 100644 --- a/pom.xml +++ b/pom.xml @@ -248,7 +248,6 @@ 1.12 1.13 -1.7 RC1 true scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}
[commons-parent] branch master updated: Prepare RC
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-parent.git The following commit(s) were added to refs/heads/master by this push: new b64f953 Prepare RC b64f953 is described below commit b64f953d97d4681ceba51582335dd21bfdce9bbd Author: Gary Gregory AuthorDate: Wed Dec 7 10:56:40 2022 -0500 Prepare RC --- CONTRIBUTING.md | 2 +- README.md| 13 +++- RELEASE-NOTES.txt| 49 +++- pom.xml | 2 +- src/changes/changes.xml | 2 +- src/changes/release-notes.vm | 2 ++ 6 files changed, 57 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d3dc2f9..d13d03d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,7 +61,7 @@ Making Changes -- + Create a _topic branch_ for your isolated work. - * Usually you should base your branch on the `master` or `trunk` branch. + * Usually you should base your branch on the `master` branch. * A good topic branch name can be the JIRA bug id plus a keyword, e.g. `COMMONSSITE-123-InputStream`. * If you have submitted multiple JIRA issues, try to maintain separate branches and pull requests. + Make commits of logical units. diff --git a/README.md b/README.md index a2a773c..8cbba86 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,9 @@ Apache Commons Parent === -[](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-parent/) +[](https://github.com/apache/commons-commons-parent/actions) +[](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-parent/?gav=true) +[](https://api.securityscorecards.dev/projects/github.com/apache/commons-text) The Apache Commons Parent POM provides common settings for all Apache Commons components. @@ -52,7 +54,7 @@ Documentation More information can be found on the [Apache Commons Parent homepage](https://commons.apache.org/proper/commons-commons-parent). The [Javadoc](https://commons.apache.org/proper/commons-commons-parent/apidocs) can be browsed. -Questions related to the usage of Apache Commons Parent should be posted to the [user mailing list](https://commons.apache.org/mail-lists.html). +Questions related to the usage of Apache Commons Parent should be posted to the [user mailing list][ml]. Where can I get the latest release? --- @@ -64,7 +66,7 @@ Alternatively you can pull it from the central Maven repositories: org.apache.commons commons-parent - 54 + 55-SNAPSHOT ``` @@ -76,7 +78,7 @@ There are some guidelines which will make applying PRs easier for us: + No tabs! Please use spaces for indentation. + Respect the code style. + Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. -+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn clean test```. ++ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn```. If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas). You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md). @@ -95,13 +97,14 @@ Additional Resources + [Apache Commons Homepage](https://commons.apache.org/) -+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/LANG) ++ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/COMMONSSITE) + [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD) + [Apache Commons Twitter Account](https://twitter.com/ApacheCommons) + `#apache-commons` IRC channel on `irc.freenode.org` Apache Commons Components - + | Component | GitHub Repository | Apache Homepage | | - | - | | | Apache Commons BCEL | [commons-bcel](https://github.com/apache/commons-bcel) | [commons-bcel](https://commons.apache.org/proper/commons-bcel) | diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index fd1b6a0..5d294e5 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,3 +1,47 @@ + Apache Commons Parent 55-
[commons-parent] branch master updated: Prepare RC
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-parent.git The following commit(s) were added to refs/heads/master by this push: new c32c09f Prepare RC c32c09f is described below commit c32c09f0755cd90c5d9c59ea75adc4954f4d7c45 Author: Gary Gregory AuthorDate: Wed Dec 7 10:57:59 2022 -0500 Prepare RC --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cbba86..af54b2c 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Apache Commons Parent === -[](https://github.com/apache/commons-commons-parent/actions) +[](https://github.com/apache/commons-parent/actions) [](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-parent/?gav=true) [](https://api.securityscorecards.dev/projects/github.com/apache/commons-text)
[commons-parent] branch release updated (bcc1f6e -> c32c09f)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/commons-parent.git from bcc1f6e Bump to next development version add d0da6bc Add placeholder for release 55 add 332d992 Bump JUnit from 5.9.0 to 5.9.1 add fc11ae6 Make CycloneDX work better with multi-module projects. add 14c5c1d Ignore .gitattributes from Apache RAT check add 3e73462 Ignore .gitattributes from Apache RAT check (reporting) add 8971288 Add execution id to cyclone dx add 0467af5 Bump github/codeql-action from 2.1.23 to 2.1.25 (#148) add 3ce70aa Bump github/codeql-action from 2.1.23 to 2.1.25 #148 add b8117cc Update POM URL add cad7ab4 Add property commons.javadoc19.java.link add dadcf04 Add version 53 to RELEASE-NOTES.txt add 3880a9d Bump spdx-maven-plugin from 0.5.5 to 0.6.1 add f7a0be9 Bump actions/cache from 3.0.8 to 3.0.9 (#152) add e83057f Bump actions/cache from 3.0.8 to 3.0.9 #152 add 17c231c Bump github/codeql-action from 2.1.25 to 2.1.26 (#150) add 5a011ce Bump github/codeql-action from 2.1.25 to 2.1.26 #150 add a1f3a66 Bump pmd from 6.49.0 to 6.50.0 add e430f0b Bump actions/setup-java from 3 to 3.5.1 add ad335eb GitHub Actions build: no top level permission defined add be27ad0 Bump github/codeql-action from 2.1.26 to 2.1.27 (#156) add a5713c7 Bump actions/cache from 3.0.9 to 3.0.10 (#155) add 5afea87 Bump actions/checkout from 3.0.2 to 3.1.0 (#154) add a45d70a Bump GitHub dependencies add 5452ffd Bump bcel from 6.5.0 to 6.6.0 add d4328e8 Don't persist credentials unnecessarily add 9baef1d Remove duplicate property add 839d95d Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-parent add 05d350b Bump cyclonedx-maven-plugin from 2.7.1 to 2.7.2 (#157) add 9dab129 Bump cyclonedx-maven-plugin from 2.7.1 to 2.7.2 #157 add 88f654f Bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.2.1 (#158) add f7e0772 Bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.2.1 #158 add 8952df1 Bump spdx-maven-plugin from 0.6.1 to 0.6.2 (#159) add 2713b55 Bump spdx-maven-plugin from 0.6.1 to 0.6.2 #159 add a46ccb4 New interface methods must be default methods to maintain BC add a1416d1 Link to components add 9d793b5 Bump actions/cache from 3.0.10 to 3.0.11 (#160) add 282f31e Bump actions/cache from 3.0.10 to 3.0.11 #160 add b346940 Bump spotbugs from 4.7.2 to 4.7.3 (#161) add 552398d Bump spotbugs from 4.7.2 to 4.7.3 #161 add c81bda6 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-parent.git add f1fe4e1 Bump actions/setup-java from 3.5.1 to 3.6.0 (#164) add c17052c Bump github/codeql-action from 2.1.27 to 2.1.28 (#162) add e279fd1 Bump dependencies add 7812664 Bump ossf/scorecard-action from 1.1.2 to 2.0.6 (#163) add 938b679 Update changes.xml add fca9c2c Bump actions/upload-artifact from 3.1.0 to 3.1.1 (#165) add 07a2768 Bump actions/upload-artifact from 3.1.0 to 3.1.1 #165 add 64f4fd8 Bump github/codeql-action from 2.1.28 to 2.1.29 (#166) add 3f41f3c Bump github/codeql-action from 2.1.28 to 2.1.29 #166 add 374ee07 Bump versions-maven-plugin from 2.12.0 to 2.13.0 (#167) add a9893e8 Bump versions-maven-plugin from 2.12.0 to 2.13.0 #167 add 0b2e2ef Bump Scorecards 1 to 2 add dfc78b3 Bump pmd from 6.50.0 to 6.51.0 add e4a9bd2 Bump Apache Commons BCEL from 6.6.0 to 6.6.1. add 9b4a60c Bump spdx-maven-plugin from 0.6.2 to 0.6.3 add a31e55a Bump github/codeql-action from 2.1.22 to 2.1.30 (#168) add 784683b Bump github/codeql-action from 2.1.22 to 2.1.30 #168 add 4516c7c Bump spotbugs-maven-plugin from 4.7.2.1 to 4.7.2.2 (#170) add 847d527 Bump spotbugs-maven-plugin from 4.7.2.1 to 4.7.2.2 #170 add 1cdb538 Bump spotbugs-maven-plugin from 4.7.2.2 to 4.7.3.0 (#171) add 6426d4e Bump spotbugs-maven-plugin from 4.7.2.2 to 4.7.3.0 #171 add 5b0de2b Bump cyclonedx-maven-plugin from 2.7.2 to 2.7.3 (#173) add 155e843 Bump cyclonedx-maven-plugin from 2.7.2 to 2.7.3 #173 add c789c73 Bump github/codeql-action from 2.1.30 to 2.1.31 (#172) add d8be12d Bump github/codeql-action from 2.1.30 to 2.1.31 #172 add 44d5250 Fix XML add c07eb55 Bump japicmp-maven-plugin from 0.16.0 to 0.17.1 (#174) add 25144ce Bump japicmp-maven-plugin from 0.16.0 to 0.17.1 #174 add d442851 Add GHitHub robots file add c7d3422 Bump apache from 27 to 28 (#175) add 3b0138a Bump apache from 27 to 28 #175 add 13bbff5 Bump pmd from 6.51.0 to 6.52.0 add f67e77c Bump actions/setup-java from 3.6.0 to 3.7.0 #126 add a044516 Bump biz.aQute.bndlib from 6.3.1 to 6.4.0 (#176) add 8150893 Bump biz.aQute.bndlib from 6.3.1 to 6.4.0 #1
[commons-parent] annotated tag commons-parent-55-RC1 created (now 23e3f61)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a change to annotated tag commons-parent-55-RC1 in repository https://gitbox.apache.org/repos/asf/commons-parent.git at 23e3f61 (tag) tagging 926beba691866948f652c0f7ae2d1ce418ad78b0 (commit) replaces rel/commons-parent-54 by Gary Gregory on Wed Dec 7 14:27:17 2022 -0500 - Log - Tag Apache Commons Parent release 55 RC1 -BEGIN PGP SIGNATURE- iQEzBAABCAAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAmOQ6RUACgkQhv3H4qES YstJ2wf8DkgOz1H3+ZP7BzRuyJs1EndbuLUjo20vz5o/Yx9bZaY1VfL4vJcyT0bQ rSzJ8mZFcyNLruIKGBjlrYmv31gyRhjsMl/sL00uaUqaI/yCCbnkzSFfqrvw7nbf KQ67imMtKlmiwAz5zdNlg2jwzOMbwFMHRtUcKemjLyQw1Fbbo0wkb9eNGTcBaQy8 J8CW87g/f3QO1zMbW/99eHND6dP656ogLucamz3nf5T+2lkeHJ6fbIyykynkF3Zm yuPhfsBafn9KlUDw7Pg5hngVNPnMZGUG6vWY1llRpWdxGZ/qdq6XMKxfmCjlTZQV Y5U9T+g+bH3Y4MidiQquqQOswixoWA== =C2Xu -END PGP SIGNATURE- --- This annotated tag includes the following new commits: new a1a4b34 Prepare RC new 926beba Update POM version numbers for Apache Commons Parent release 55 The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[commons-parent] 02/02: Update POM version numbers for Apache Commons Parent release 55
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to annotated tag commons-parent-55-RC1 in repository https://gitbox.apache.org/repos/asf/commons-parent.git commit 926beba691866948f652c0f7ae2d1ce418ad78b0 Author: Gary Gregory AuthorDate: Wed Dec 7 14:26:47 2022 -0500 Update POM version numbers for Apache Commons Parent release 55 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1e55c5b..c3e5fc6 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ org.apache.commons commons-parent - 55-SNAPSHOT + 55 pom Apache Commons Parent The Apache Commons Parent POM provides common settings for all Apache Commons components. @@ -89,7 +89,7 @@ 3.3.9 - 2022-09-21T19:49:58Z + 2022-12-07T19:24:41Z ${project.version} RC1 COMMONSSITE
[commons-parent] 01/02: Prepare RC
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to annotated tag commons-parent-55-RC1 in repository https://gitbox.apache.org/repos/asf/commons-parent.git commit a1a4b348cafd1c0ae3b2a404b7422ea0f290cd8e Author: Gary Gregory AuthorDate: Wed Dec 7 14:26:35 2022 -0500 Prepare RC --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af54b2c..0add470 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Alternatively you can pull it from the central Maven repositories: org.apache.commons commons-parent - 55-SNAPSHOT + 55 ```
svn commit: r58535 [2/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/changes-report.html == --- dev/commons/commons-parent/55-RC1/site/changes-report.html (added) +++ dev/commons/commons-parent/55-RC1/site/changes-report.html Wed Dec 7 19:28:49 2022 @@ -0,0 +1,2255 @@ + + +http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> + + + + + + +Apache Commons – Apache Commons Parent Release Notes + + + + + + + + + + + + + + + https://commons.apache.org/"; id="bannerLeft" title="Apache Commons logo"> + + + + + + + + https://commons.apache.org/proper/commons-parent/";>Apache Commons Parent ™ + + + Last Published: 07 December 2022 +| Version: 55 + + + + https://www.apachecon.com/"; class="externalLink" title="ApacheCon"> +ApacheCon + + + https://www.apache.org"; class="externalLink" title="Apache"> +Apache + + + +Commons + + + + + + + + + + + + + + Project Documentation + + +Project Information + + + +Project Reports + + + +Changes + + + +JIRA Report + + + +Surefire Report + + + +Rat Report + + + + + + Commons + + +Home + + + https://www.apache.org/licenses/"; class="externalLink" title="License"> +License + + + +Components + + + +Sandbox + + + +Dormant + + + + General Information + + +Security + + + +Volunteering + + + +Contributing Patches + + + +Building Components + + + +Commons Parent Pom + + + +Commons Build Plugin + + + +Releasing Components + + + https://cwiki.apache.org/confluence/display/commons/FrontPage"; class="externalLink" title="Wiki"> +Wiki + + + + ASF + + https://www.apache.org/foundation/how-it-works.html"; class="externalLink" title="How the ASF works"> +How the ASF works + + + https://www.apache.org/foundation/getinvolved.html"; class="externalLink" title="Get Involved"> +Get Involved + + + https://www.apache.org/dev/"; class="externalLink" title="Developer Resources"> +Developer Resources + + + https://www.apache.org/foundation/policies/conduct.html"; class="externalLink" title="Code of Conduct"> +Code of Conduct + + + https://www.apache.org/foundation/sponsorship.html"; class="externalLink" title="Sponsorship"> +Sponsorship + + + https://www.apache.org/foundation/thanks
svn commit: r58535 [6/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/js/prettify.js == --- dev/commons/commons-parent/55-RC1/site/js/prettify.js (added) +++ dev/commons/commons-parent/55-RC1/site/js/prettify.js Wed Dec 7 19:28:49 2022 @@ -0,0 +1,640 @@ +/** + * + * Copyright (C) 2006 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +function H() { +var x = navigator && navigator.userAgent +&& /\bMSIE 6\./.test(navigator.userAgent); +H = function() { +return x +}; +return x +} +(function() { +function x(b) { +b = b.split(/ /g); +var a = {}; +for ( var c = b.length; --c >= 0;) { +var d = b[c]; +if (d) +a[d] = null +} +return a +} +var y = "break continue do else for if return while ", U = y ++ "auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile ", D = U ++ "catch class delete false import new operator private protected public this throw true try ", I = D ++ "alignof align_union asm axiom bool concept concept_map const_cast constexpr decltype dynamic_cast explicit export friend inline late_check mutable namespace nullptr reinterpret_cast static_assert static_cast template typeid typename typeof using virtual wchar_t where ", J = D ++ "boolean byte extends final finally implements import instanceof null native package strictfp super synchronized throws transient ", V = J ++ "as base by checked decimal delegate descending event fixed foreach from group implicit in interface internal into is lock object out override orderby params readonly ref sbyte sealed stackalloc string select uint ulong unchecked unsafe ushort var ", K = D ++ "debugger eval export function get null set undefined var with Infinity NaN ", L = "caller delete die do dump elsif eval exit foreach for goto if import last local my next no our print package redo require sub undef unless until use wantarray while BEGIN END ", M = y ++ "and as assert class def del elif except exec finally from global import in is lambda nonlocal not or pass print raise try with yield False True None ", N = y ++ "alias and begin case class def defined elsif end ensure false in module next nil not or redo rescue retry self super then true undef unless until when yield BEGIN END ", O = y ++ "case done elif esac eval fi function in local set then until ", W = I ++ V + K + L + M + N + O; +function X(b) { +return b >= "a" && b <= "z" || b >= "A" && b <= "Z" +} +function u(b, a, c, d) { +b.unshift(c, d || 0); +try { +a.splice.apply(a, b) +} finally { +b.splice(0, 2) +} +} +var Y = (function() { +var b = [ "!", "!=", "!==", "#", "%", "%=", "&", "&&", "&&=", "&=", +"(", "*", "*=", "+=", ",", "-=", "->", "/", "/=", ":", "::", +";", "<", "<<", "<<=", "<=", "=", "==", "===", ">", ">=", ">>", +">>=", ">>>", ">>>=", "?", "@", "[", "^", "^=", "^^", "^^=", +"{", "|", "|=", "||", "||=", "~", "break", "case", "continue", +"delete", "do", "else", "finally", "instanceof", "return", +"throw", "try", "typeof" ], a = "(?:(?:(?:^|[^0-9.])\\.{1,3})|(?:(?:^|[^\\+])\\+)|(?:(?:^|[^\\-])-)"; +for ( var c = 0; c < b.length; ++c) { +var d = b[c]; +a += X(d.charAt(0)) ? "|\\b" + d : "|" ++ d.replace(/([^=<>:&])/g, "\\$1") +} +a += "|^)\\s*$"; +return new RegExp(a) +})(), P = /&/g, Q = //g, Z = /\"/g; +function $(b) { +return b.replace(P, "&").replace(Q, "<").replace(R, ">") +.replace(Z, """) +} +function E(b) { +return b.replace(P, "&").replace(Q, "<").replace(R, ">") +} +var aa = //g, ca = /'/g, da = /"/g, ea = /&/g, fa = / /g; +function ga(b) { +var a = b.indexOf("&"); +if (a < 0) +return b; +for (--a; (a = b.indexOf("", a + 1)) >= 0;) { +var c = b.indexOf(";", a); +if (c >= 0) { +var d = b.substring(a + 3, c), g = 10; +if (d
svn commit: r58535 [7/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/rat-report.html == --- dev/commons/commons-parent/55-RC1/site/rat-report.html (added) +++ dev/commons/commons-parent/55-RC1/site/rat-report.html Wed Dec 7 19:28:49 2022 @@ -0,0 +1,256 @@ + + +http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> + + + + + +Apache Commons – Rat (Release Audit Tool) results + + + + + + + + + + + + + + + https://commons.apache.org/"; id="bannerLeft" title="Apache Commons logo"> + + + + + + + + https://commons.apache.org/proper/commons-parent/";>Apache Commons Parent ™ + + + Last Published: 07 December 2022 +| Version: 55 + + + + https://www.apachecon.com/"; class="externalLink" title="ApacheCon"> +ApacheCon + + + https://www.apache.org"; class="externalLink" title="Apache"> +Apache + + + +Commons + + + + + + + + + + + + + + Project Documentation + + +Project Information + + + +Project Reports + + + +Changes + + + +JIRA Report + + + +Surefire Report + + + +Rat Report + + + + + + Commons + + +Home + + + https://www.apache.org/licenses/"; class="externalLink" title="License"> +License + + + +Components + + + +Sandbox + + + +Dormant + + + + General Information + + +Security + + + +Volunteering + + + +Contributing Patches + + + +Building Components + + + +Commons Parent Pom + + + +Commons Build Plugin + + + +Releasing Components + + + https://cwiki.apache.org/confluence/display/commons/FrontPage"; class="externalLink" title="Wiki"> +Wiki + + + + ASF + + https://www.apache.org/foundation/how-it-works.html"; class="externalLink" title="How the ASF works"> +How the ASF works + + + https://www.apache.org/foundation/getinvolved.html"; class="externalLink" title="Get Involved"> +Get Involved + + + https://www.apache.org/dev/"; class="externalLink" title="Developer Resources"> +Developer Resources + + + https://www.apache.org/foundation/policies/conduct.html"; class="externalLink" title="Code of Conduct"> +Code of Conduct + + + https://www.apache.org/foundation/sponsorship.html"; class="externalLink" title="Sponsorship"> +Sponsorship + + + https://www.apache.org/foundation/thanks.html"; class="externalLin
svn commit: r58535 [5/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/js/jquery.min.js == --- dev/commons/commons-parent/55-RC1/site/js/jquery.min.js (added) +++ dev/commons/commons-parent/55-RC1/site/js/jquery.min.js Wed Dec 7 19:28:49 2022 @@ -0,0 +1,4 @@ +/*! jQuery v1.7.1 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p ;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parse Float(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.pro totype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a. context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[]. splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.
svn commit: r58535 [1/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Author: ggregory Date: Wed Dec 7 19:28:49 2022 New Revision: 58535 Log: Staging release: commons-parent, version: 55 Added: dev/commons/commons-parent/55-RC1/ dev/commons/commons-parent/55-RC1/HEADER.html dev/commons/commons-parent/55-RC1/README.html dev/commons/commons-parent/55-RC1/RELEASE-NOTES.txt dev/commons/commons-parent/55-RC1/binaries/ dev/commons/commons-parent/55-RC1/binaries/HEADER.html dev/commons/commons-parent/55-RC1/binaries/README.html dev/commons/commons-parent/55-RC1/signature-validator.sh dev/commons/commons-parent/55-RC1/site/ dev/commons/commons-parent/55-RC1/site/changes-report.html dev/commons/commons-parent/55-RC1/site/ci-management.html dev/commons/commons-parent/55-RC1/site/css/ dev/commons/commons-parent/55-RC1/site/css/bootstrap.min.css dev/commons/commons-parent/55-RC1/site/css/prettify.css dev/commons/commons-parent/55-RC1/site/css/print.css dev/commons/commons-parent/55-RC1/site/css/site.css dev/commons/commons-parent/55-RC1/site/dependency-convergence.html dev/commons/commons-parent/55-RC1/site/dependency-info.html dev/commons/commons-parent/55-RC1/site/dependency-management.html dev/commons/commons-parent/55-RC1/site/distribution-management.html dev/commons/commons-parent/55-RC1/site/images/ dev/commons/commons-parent/55-RC1/site/images/add.gif (with props) dev/commons/commons-parent/55-RC1/site/images/collapsed.gif (with props) dev/commons/commons-parent/55-RC1/site/images/commons-logo.png (with props) dev/commons/commons-parent/55-RC1/site/images/expanded.gif (with props) dev/commons/commons-parent/55-RC1/site/images/external-classic.png (with props) dev/commons/commons-parent/55-RC1/site/images/fix.gif (with props) dev/commons/commons-parent/55-RC1/site/images/help_logo.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_arrowfolderclosed1_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_arrowfolderopen2_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_arrowwaste1_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_arrowwaste2_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_doc_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_doc_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_error_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_error_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_folder_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_folder_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_help_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_info_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_info_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_members_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_sortdown.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_sortup.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_success_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_success_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_usergroups_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_warning_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_warning_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/logos/ dev/commons/commons-parent/55-RC1/site/images/logos/build-by-maven-black.png (with props) dev/commons/commons-parent/55-RC1/site/images/logos/build-by-maven-white.png (with props) dev/commons/commons-parent/55-RC1/site/images/logos/maven-feather.png (with props) dev/commons/commons-parent/55-RC1/site/images/newwindow-classic.png (with props) dev/commons/commons-parent/55-RC1/site/images/nw_maj_rond.gif (with props) dev/commons/commons-parent/55-RC1/site/images/remove.gif (with props) dev/commons/commons-parent/55-RC1/site/images/rss.png (with props) dev/commons/commons-parent/55-RC1/site/images/strich.gif (with props) dev/commons/commons-parent/55-RC1/site/images/sw_maj_rond.gif (with props) dev/commons/commons-parent/55-RC1/site/images/sw_med_rond.gif (with props) dev/commons/commons-parent/55-RC1/site/images/update.gif (with props) dev/commons/commons-parent/55-RC1/site/img/ dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings-white.png (with props) dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings.png (with props) dev/commons/commons-parent/55-RC1/site/index.html dev/commons/commons-paren
svn commit: r58535 [4/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Propchange: dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings-white.png -- svn:mime-type = application/octet-stream Added: dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings.png == Binary file - no diff available. Propchange: dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings.png -- svn:mime-type = application/octet-stream Added: dev/commons/commons-parent/55-RC1/site/index.html == --- dev/commons/commons-parent/55-RC1/site/index.html (added) +++ dev/commons/commons-parent/55-RC1/site/index.html Wed Dec 7 19:28:49 2022 @@ -0,0 +1,233 @@ + + +http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> + + + + + +Apache Commons – About + + + + + + + + + + + + + + + https://commons.apache.org/"; id="bannerLeft" title="Apache Commons logo"> + + + + + + + + https://commons.apache.org/proper/commons-parent/";>Apache Commons Parent ™ + + + Last Published: 07 December 2022 +| Version: 55 + + + + https://www.apachecon.com/"; class="externalLink" title="ApacheCon"> +ApacheCon + + + https://www.apache.org"; class="externalLink" title="Apache"> +Apache + + + +Commons + + + + + + + + + + + + + + Project Documentation + + +Project Information + + + +About + + + +Summary + + + +Source Code Management + + + +Issue Management + + + +Mailing Lists + + + +Dependency Information + + + +Dependency Management + + + +Dependency Convergence + + + +CI Management + + + +Distribution Management + + + + + +Project Reports + + + + Commons + + +Home + + + https://www.apache.org/licenses/"; class="externalLink" title="License"> +License + + + +Components + + + +Sandbox + + + +Dormant + + + + General Information + + +Security + + + +Volunteering + + + +Contributing Patches + + + +Building Components + + + +Commons Parent Pom + + + +Commons Build Plugin + + + +Releasing Components + + + https://cwiki.apache.org/confluence/display/commons/FrontPage"; class="externalLink
svn commit: r58535 [3/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/ci-management.html == --- dev/commons/commons-parent/55-RC1/site/ci-management.html (added) +++ dev/commons/commons-parent/55-RC1/site/ci-management.html Wed Dec 7 19:28:49 2022 @@ -0,0 +1,239 @@ + + +http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> + + + + + +Apache Commons – CI Management + + + + + + + + + + + + + + + https://commons.apache.org/"; id="bannerLeft" title="Apache Commons logo"> + + + + + + + + https://commons.apache.org/proper/commons-parent/";>Apache Commons Parent ™ + + + Last Published: 07 December 2022 +| Version: 55 + + + + https://www.apachecon.com/"; class="externalLink" title="ApacheCon"> +ApacheCon + + + https://www.apache.org"; class="externalLink" title="Apache"> +Apache + + + +Commons + + + + + + + + + + + + + + Project Documentation + + +Project Information + + + +About + + + +Summary + + + +Source Code Management + + + +Issue Management + + + +Mailing Lists + + + +Dependency Information + + + +Dependency Management + + + +Dependency Convergence + + + +CI Management + + + +Distribution Management + + + + + +Project Reports + + + + Commons + + +Home + + + https://www.apache.org/licenses/"; class="externalLink" title="License"> +License + + + +Components + + + +Sandbox + + + +Dormant + + + + General Information + + +Security + + + +Volunteering + + + +Contributing Patches + + + +Building Components + + + +Commons Parent Pom + + + +Commons Build Plugin + + + +Releasing Components + + + https://cwiki.apache.org/confluence/display/commons/FrontPage"; class="externalLink" title="Wiki"> +Wiki + + + + ASF + + https://www.apache.org/foundation/how-it-works.html"; class="externalLink" title="How the ASF works"> +How the ASF works + + + https://www.apache.org/foundation/getinvolved.html"; class="externalLink" title="Get Involved"> +Get Involved + + + https://www.apache.org/dev/"; class="externalLink
Nexus: Staging Completed
Message from: https://repository.apache.orgDescription:Close Apache Commons Parent 55 RC1Deployer properties:"userAgent" = "Apache-Maven/3.8.6 (Java 1.8.0_352; Mac OS X 13.0.1)""userId" = "ggregory""ip" = "98.180.80.161"Details:The following artifacts have been staged/org/apache/commons/commons-parent/55/commons-parent-55-cyclonedx.xml.asc(SHA1: 1b1e4e1ff6438a70187af06fb069b6f9053c2388)/org/apache/commons/commons-parent/55/commons-parent-55.spdx.json.asc(SHA1: 25691624beae44b5bda63fffcc162fc971dee0f3)/org/apache/commons/commons-parent/55/commons-parent-55-site.xml.asc(SHA1: b16ff03e19ad485207ad4a42c7bac0b6a0d962cc)/org/apache/commons/commons-parent/55/commons-parent-55-cyclonedx.json(SHA1: 776d5994ca63156aa325e770976772c469c0808d)/org/apache/commons/commons-parent/55/commons-parent-55.pom.asc(SHA1: 1c28fe0115391228f6f708dcb491bab6b5c2b6ff)/org/apache/commons/commons-parent/55/commons-parent-55.spdx.json(SHA1: 3ca512944a85f2d1d2a57e6186c47f3ef06f8608)/org/apache/commons/commons-parent/55/commons-parent-55-cyclonedx.xml(SHA1: 7f91b56538a8396c7e581f75886bf887829fff12)/org/apache/commons/commons-parent/55/commons-parent-55.pom(SHA1: 46dd529e664ea72355b71d230a518bb1be8b755b)/org/apache/commons/commons-parent/55/commons-parent-55-site.xml(SHA1: 953a5c0ecc84b0141007ef3e65c1d0fe8eeb5558)/org/apache/commons/commons-parent/55/commons-parent-55-cyclonedx.json.asc(SHA1: 1a74f809db6a561f4fcd0cf81a5838ba6487d696)Action performed by Gary D. Gregory (ggregory)
[commons-parent] branch release updated (c32c09f -> 926beba)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/commons-parent.git from c32c09f Prepare RC add a1a4b34 Prepare RC add 926beba Update POM version numbers for Apache Commons Parent release 55 No new revisions were added by this update. Summary of changes: README.md | 2 +- pom.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:Drop Apache Commons Parent 55 RC1.Deployer properties:"userAgent" = "Apache-Maven/3.8.6 (Java 1.8.0_352; Mac OS X 13.0.1)""userId" = "ggregory""ip" = "98.180.80.161"Details:The orgapachecommons-1610 staging repository has been dropped.Action performed by Gary D. Gregory (ggregory)
[commons-parent] annotated tag commons-parent-55-RC1 deleted (was 23e3f61)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a change to annotated tag commons-parent-55-RC1 in repository https://gitbox.apache.org/repos/asf/commons-parent.git *** WARNING: tag commons-parent-55-RC1 was deleted! *** tag was 23e3f61 The revisions that were on this annotated tag are still contained in other references; therefore, this change does not discard any commits from the repository.
[commons-parent] branch release updated: Prepare RC
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/commons-parent.git The following commit(s) were added to refs/heads/release by this push: new 1a8382d Prepare RC 1a8382d is described below commit 1a8382d227787216d76c1fea62b641158d0a265e Author: Gary Gregory AuthorDate: Wed Dec 7 14:35:20 2022 -0500 Prepare RC --- RELEASE-NOTES.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 5d294e5..2333029 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,7 +1,7 @@ - Apache Commons Parent 55-SNAPSHOT + Apache Commons Parent 55 RELEASE NOTES -The Apache Commons Parent team is pleased to announce the release of Apache Commons Parent 55-SNAPSHOT. +The Apache Commons Parent team is pleased to announce the release of Apache Commons Parent 55. The Apache Commons Parent POM provides common settings for all Apache Commons components.
svn commit: r58536 - /dev/commons/commons-parent/55-RC1/
Author: ggregory Date: Wed Dec 7 19:36:47 2022 New Revision: 58536 Log: Cleaning distribution area for: commons-parent Removed: dev/commons/commons-parent/55-RC1/
svn commit: r58537 [1/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Author: ggregory Date: Wed Dec 7 19:37:19 2022 New Revision: 58537 Log: Staging release: commons-parent, version: 55 Added: dev/commons/commons-parent/55-RC1/ dev/commons/commons-parent/55-RC1/HEADER.html dev/commons/commons-parent/55-RC1/README.html dev/commons/commons-parent/55-RC1/RELEASE-NOTES.txt dev/commons/commons-parent/55-RC1/binaries/ dev/commons/commons-parent/55-RC1/binaries/HEADER.html dev/commons/commons-parent/55-RC1/binaries/README.html dev/commons/commons-parent/55-RC1/signature-validator.sh dev/commons/commons-parent/55-RC1/site/ dev/commons/commons-parent/55-RC1/site/changes-report.html dev/commons/commons-parent/55-RC1/site/ci-management.html dev/commons/commons-parent/55-RC1/site/css/ dev/commons/commons-parent/55-RC1/site/css/bootstrap.min.css dev/commons/commons-parent/55-RC1/site/css/prettify.css dev/commons/commons-parent/55-RC1/site/css/print.css dev/commons/commons-parent/55-RC1/site/css/site.css dev/commons/commons-parent/55-RC1/site/dependency-convergence.html dev/commons/commons-parent/55-RC1/site/dependency-info.html dev/commons/commons-parent/55-RC1/site/dependency-management.html dev/commons/commons-parent/55-RC1/site/distribution-management.html dev/commons/commons-parent/55-RC1/site/images/ dev/commons/commons-parent/55-RC1/site/images/add.gif (with props) dev/commons/commons-parent/55-RC1/site/images/collapsed.gif (with props) dev/commons/commons-parent/55-RC1/site/images/commons-logo.png (with props) dev/commons/commons-parent/55-RC1/site/images/expanded.gif (with props) dev/commons/commons-parent/55-RC1/site/images/external-classic.png (with props) dev/commons/commons-parent/55-RC1/site/images/fix.gif (with props) dev/commons/commons-parent/55-RC1/site/images/help_logo.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_arrowfolderclosed1_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_arrowfolderopen2_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_arrowwaste1_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_arrowwaste2_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_doc_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_doc_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_error_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_error_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_folder_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_folder_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_help_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_info_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_info_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_members_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_sortdown.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_sortup.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_success_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_success_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_usergroups_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_warning_lrg.gif (with props) dev/commons/commons-parent/55-RC1/site/images/icon_warning_sml.gif (with props) dev/commons/commons-parent/55-RC1/site/images/logos/ dev/commons/commons-parent/55-RC1/site/images/logos/build-by-maven-black.png (with props) dev/commons/commons-parent/55-RC1/site/images/logos/build-by-maven-white.png (with props) dev/commons/commons-parent/55-RC1/site/images/logos/maven-feather.png (with props) dev/commons/commons-parent/55-RC1/site/images/newwindow-classic.png (with props) dev/commons/commons-parent/55-RC1/site/images/nw_maj_rond.gif (with props) dev/commons/commons-parent/55-RC1/site/images/remove.gif (with props) dev/commons/commons-parent/55-RC1/site/images/rss.png (with props) dev/commons/commons-parent/55-RC1/site/images/strich.gif (with props) dev/commons/commons-parent/55-RC1/site/images/sw_maj_rond.gif (with props) dev/commons/commons-parent/55-RC1/site/images/sw_med_rond.gif (with props) dev/commons/commons-parent/55-RC1/site/images/update.gif (with props) dev/commons/commons-parent/55-RC1/site/img/ dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings-white.png (with props) dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings.png (with props) dev/commons/commons-parent/55-RC1/site/index.html dev/commons/commons-paren
svn commit: r58537 [4/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Propchange: dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings-white.png -- svn:mime-type = application/octet-stream Added: dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings.png == Binary file - no diff available. Propchange: dev/commons/commons-parent/55-RC1/site/img/glyphicons-halflings.png -- svn:mime-type = application/octet-stream Added: dev/commons/commons-parent/55-RC1/site/index.html == --- dev/commons/commons-parent/55-RC1/site/index.html (added) +++ dev/commons/commons-parent/55-RC1/site/index.html Wed Dec 7 19:37:19 2022 @@ -0,0 +1,233 @@ + + +http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> + + + + + +Apache Commons – About + + + + + + + + + + + + + + + https://commons.apache.org/"; id="bannerLeft" title="Apache Commons logo"> + + + + + + + + https://commons.apache.org/proper/commons-parent/";>Apache Commons Parent ™ + + + Last Published: 07 December 2022 +| Version: 55 + + + + https://www.apachecon.com/"; class="externalLink" title="ApacheCon"> +ApacheCon + + + https://www.apache.org"; class="externalLink" title="Apache"> +Apache + + + +Commons + + + + + + + + + + + + + + Project Documentation + + +Project Information + + + +About + + + +Summary + + + +Source Code Management + + + +Issue Management + + + +Mailing Lists + + + +Dependency Information + + + +Dependency Management + + + +Dependency Convergence + + + +CI Management + + + +Distribution Management + + + + + +Project Reports + + + + Commons + + +Home + + + https://www.apache.org/licenses/"; class="externalLink" title="License"> +License + + + +Components + + + +Sandbox + + + +Dormant + + + + General Information + + +Security + + + +Volunteering + + + +Contributing Patches + + + +Building Components + + + +Commons Parent Pom + + + +Commons Build Plugin + + + +Releasing Components + + + https://cwiki.apache.org/confluence/display/commons/FrontPage"; class="externalLink
svn commit: r58537 [6/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/js/prettify.js == --- dev/commons/commons-parent/55-RC1/site/js/prettify.js (added) +++ dev/commons/commons-parent/55-RC1/site/js/prettify.js Wed Dec 7 19:37:19 2022 @@ -0,0 +1,640 @@ +/** + * + * Copyright (C) 2006 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +function H() { +var x = navigator && navigator.userAgent +&& /\bMSIE 6\./.test(navigator.userAgent); +H = function() { +return x +}; +return x +} +(function() { +function x(b) { +b = b.split(/ /g); +var a = {}; +for ( var c = b.length; --c >= 0;) { +var d = b[c]; +if (d) +a[d] = null +} +return a +} +var y = "break continue do else for if return while ", U = y ++ "auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile ", D = U ++ "catch class delete false import new operator private protected public this throw true try ", I = D ++ "alignof align_union asm axiom bool concept concept_map const_cast constexpr decltype dynamic_cast explicit export friend inline late_check mutable namespace nullptr reinterpret_cast static_assert static_cast template typeid typename typeof using virtual wchar_t where ", J = D ++ "boolean byte extends final finally implements import instanceof null native package strictfp super synchronized throws transient ", V = J ++ "as base by checked decimal delegate descending event fixed foreach from group implicit in interface internal into is lock object out override orderby params readonly ref sbyte sealed stackalloc string select uint ulong unchecked unsafe ushort var ", K = D ++ "debugger eval export function get null set undefined var with Infinity NaN ", L = "caller delete die do dump elsif eval exit foreach for goto if import last local my next no our print package redo require sub undef unless until use wantarray while BEGIN END ", M = y ++ "and as assert class def del elif except exec finally from global import in is lambda nonlocal not or pass print raise try with yield False True None ", N = y ++ "alias and begin case class def defined elsif end ensure false in module next nil not or redo rescue retry self super then true undef unless until when yield BEGIN END ", O = y ++ "case done elif esac eval fi function in local set then until ", W = I ++ V + K + L + M + N + O; +function X(b) { +return b >= "a" && b <= "z" || b >= "A" && b <= "Z" +} +function u(b, a, c, d) { +b.unshift(c, d || 0); +try { +a.splice.apply(a, b) +} finally { +b.splice(0, 2) +} +} +var Y = (function() { +var b = [ "!", "!=", "!==", "#", "%", "%=", "&", "&&", "&&=", "&=", +"(", "*", "*=", "+=", ",", "-=", "->", "/", "/=", ":", "::", +";", "<", "<<", "<<=", "<=", "=", "==", "===", ">", ">=", ">>", +">>=", ">>>", ">>>=", "?", "@", "[", "^", "^=", "^^", "^^=", +"{", "|", "|=", "||", "||=", "~", "break", "case", "continue", +"delete", "do", "else", "finally", "instanceof", "return", +"throw", "try", "typeof" ], a = "(?:(?:(?:^|[^0-9.])\\.{1,3})|(?:(?:^|[^\\+])\\+)|(?:(?:^|[^\\-])-)"; +for ( var c = 0; c < b.length; ++c) { +var d = b[c]; +a += X(d.charAt(0)) ? "|\\b" + d : "|" ++ d.replace(/([^=<>:&])/g, "\\$1") +} +a += "|^)\\s*$"; +return new RegExp(a) +})(), P = /&/g, Q = //g, Z = /\"/g; +function $(b) { +return b.replace(P, "&").replace(Q, "<").replace(R, ">") +.replace(Z, """) +} +function E(b) { +return b.replace(P, "&").replace(Q, "<").replace(R, ">") +} +var aa = //g, ca = /'/g, da = /"/g, ea = /&/g, fa = / /g; +function ga(b) { +var a = b.indexOf("&"); +if (a < 0) +return b; +for (--a; (a = b.indexOf("", a + 1)) >= 0;) { +var c = b.indexOf(";", a); +if (c >= 0) { +var d = b.substring(a + 3, c), g = 10; +if (d
svn commit: r58537 [2/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/changes-report.html == --- dev/commons/commons-parent/55-RC1/site/changes-report.html (added) +++ dev/commons/commons-parent/55-RC1/site/changes-report.html Wed Dec 7 19:37:19 2022 @@ -0,0 +1,2255 @@ + + +http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> + + + + + + +Apache Commons – Apache Commons Parent Release Notes + + + + + + + + + + + + + + + https://commons.apache.org/"; id="bannerLeft" title="Apache Commons logo"> + + + + + + + + https://commons.apache.org/proper/commons-parent/";>Apache Commons Parent ™ + + + Last Published: 07 December 2022 +| Version: 55 + + + + https://www.apachecon.com/"; class="externalLink" title="ApacheCon"> +ApacheCon + + + https://www.apache.org"; class="externalLink" title="Apache"> +Apache + + + +Commons + + + + + + + + + + + + + + Project Documentation + + +Project Information + + + +Project Reports + + + +Changes + + + +JIRA Report + + + +Surefire Report + + + +Rat Report + + + + + + Commons + + +Home + + + https://www.apache.org/licenses/"; class="externalLink" title="License"> +License + + + +Components + + + +Sandbox + + + +Dormant + + + + General Information + + +Security + + + +Volunteering + + + +Contributing Patches + + + +Building Components + + + +Commons Parent Pom + + + +Commons Build Plugin + + + +Releasing Components + + + https://cwiki.apache.org/confluence/display/commons/FrontPage"; class="externalLink" title="Wiki"> +Wiki + + + + ASF + + https://www.apache.org/foundation/how-it-works.html"; class="externalLink" title="How the ASF works"> +How the ASF works + + + https://www.apache.org/foundation/getinvolved.html"; class="externalLink" title="Get Involved"> +Get Involved + + + https://www.apache.org/dev/"; class="externalLink" title="Developer Resources"> +Developer Resources + + + https://www.apache.org/foundation/policies/conduct.html"; class="externalLink" title="Code of Conduct"> +Code of Conduct + + + https://www.apache.org/foundation/sponsorship.html"; class="externalLink" title="Sponsorship"> +Sponsorship + + + https://www.apache.org/foundation/thanks
svn commit: r58537 [5/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/js/jquery.min.js == --- dev/commons/commons-parent/55-RC1/site/js/jquery.min.js (added) +++ dev/commons/commons-parent/55-RC1/site/js/jquery.min.js Wed Dec 7 19:37:19 2022 @@ -0,0 +1,4 @@ +/*! jQuery v1.7.1 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p ;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parse Float(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.pro totype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a. context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[]. splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.
svn commit: r58537 [7/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/rat-report.html == --- dev/commons/commons-parent/55-RC1/site/rat-report.html (added) +++ dev/commons/commons-parent/55-RC1/site/rat-report.html Wed Dec 7 19:37:19 2022 @@ -0,0 +1,256 @@ + + +http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> + + + + + +Apache Commons – Rat (Release Audit Tool) results + + + + + + + + + + + + + + + https://commons.apache.org/"; id="bannerLeft" title="Apache Commons logo"> + + + + + + + + https://commons.apache.org/proper/commons-parent/";>Apache Commons Parent ™ + + + Last Published: 07 December 2022 +| Version: 55 + + + + https://www.apachecon.com/"; class="externalLink" title="ApacheCon"> +ApacheCon + + + https://www.apache.org"; class="externalLink" title="Apache"> +Apache + + + +Commons + + + + + + + + + + + + + + Project Documentation + + +Project Information + + + +Project Reports + + + +Changes + + + +JIRA Report + + + +Surefire Report + + + +Rat Report + + + + + + Commons + + +Home + + + https://www.apache.org/licenses/"; class="externalLink" title="License"> +License + + + +Components + + + +Sandbox + + + +Dormant + + + + General Information + + +Security + + + +Volunteering + + + +Contributing Patches + + + +Building Components + + + +Commons Parent Pom + + + +Commons Build Plugin + + + +Releasing Components + + + https://cwiki.apache.org/confluence/display/commons/FrontPage"; class="externalLink" title="Wiki"> +Wiki + + + + ASF + + https://www.apache.org/foundation/how-it-works.html"; class="externalLink" title="How the ASF works"> +How the ASF works + + + https://www.apache.org/foundation/getinvolved.html"; class="externalLink" title="Get Involved"> +Get Involved + + + https://www.apache.org/dev/"; class="externalLink" title="Developer Resources"> +Developer Resources + + + https://www.apache.org/foundation/policies/conduct.html"; class="externalLink" title="Code of Conduct"> +Code of Conduct + + + https://www.apache.org/foundation/sponsorship.html"; class="externalLink" title="Sponsorship"> +Sponsorship + + + https://www.apache.org/foundation/thanks.html"; class="externalLin
svn commit: r58537 [3/7] - in /dev/commons/commons-parent/55-RC1: ./ binaries/ site/ site/css/ site/images/ site/images/logos/ site/img/ site/js/ source/
Added: dev/commons/commons-parent/55-RC1/site/ci-management.html == --- dev/commons/commons-parent/55-RC1/site/ci-management.html (added) +++ dev/commons/commons-parent/55-RC1/site/ci-management.html Wed Dec 7 19:37:19 2022 @@ -0,0 +1,239 @@ + + +http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> + + + + + +Apache Commons – CI Management + + + + + + + + + + + + + + + https://commons.apache.org/"; id="bannerLeft" title="Apache Commons logo"> + + + + + + + + https://commons.apache.org/proper/commons-parent/";>Apache Commons Parent ™ + + + Last Published: 07 December 2022 +| Version: 55 + + + + https://www.apachecon.com/"; class="externalLink" title="ApacheCon"> +ApacheCon + + + https://www.apache.org"; class="externalLink" title="Apache"> +Apache + + + +Commons + + + + + + + + + + + + + + Project Documentation + + +Project Information + + + +About + + + +Summary + + + +Source Code Management + + + +Issue Management + + + +Mailing Lists + + + +Dependency Information + + + +Dependency Management + + + +Dependency Convergence + + + +CI Management + + + +Distribution Management + + + + + +Project Reports + + + + Commons + + +Home + + + https://www.apache.org/licenses/"; class="externalLink" title="License"> +License + + + +Components + + + +Sandbox + + + +Dormant + + + + General Information + + +Security + + + +Volunteering + + + +Contributing Patches + + + +Building Components + + + +Commons Parent Pom + + + +Commons Build Plugin + + + +Releasing Components + + + https://cwiki.apache.org/confluence/display/commons/FrontPage"; class="externalLink" title="Wiki"> +Wiki + + + + ASF + + https://www.apache.org/foundation/how-it-works.html"; class="externalLink" title="How the ASF works"> +How the ASF works + + + https://www.apache.org/foundation/getinvolved.html"; class="externalLink" title="Get Involved"> +Get Involved + + + https://www.apache.org/dev/"; class="externalLink
[commons-parent] annotated tag commons-parent-55-RC1 created (now fbf2634)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a change to annotated tag commons-parent-55-RC1 in repository https://gitbox.apache.org/repos/asf/commons-parent.git at fbf2634 (tag) tagging 1a8382d227787216d76c1fea62b641158d0a265e (commit) replaces rel/commons-parent-54 by Gary Gregory on Wed Dec 7 14:40:33 2022 -0500 - Log - Tag Apache Commons Parent release 55 RC1 -BEGIN PGP SIGNATURE- iQEzBAABCAAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAmOQ7DEACgkQhv3H4qES Ysv12wf/eG50cmkUkAzpBMOzQ+OsFWdWXyTUFPryuS1/mjM9s7XoC2lxmYBXfV9S 6gssJB+s4mHUNHgtsh7ElR5+2aU2wcTElBIxkUXSNgS98yc6dsidYlE27mtuHB2h w0hqhI8y80ZGAZTmzwv6L9ItabxWoMpjpj8bqwBPmfvOX7iXigq9l1cA9dRbhB4I tybQfvLjlRjjFyPOC2xs7OOKPAtWCEbd6A3/hNpuTL+GiCI2922P3azve8sihNGE Sawmles7uy8bZmAS8RmXb5f9q1mfZRursabNkt8O3f97yZ2buWPXoGf0i2qXCPd0 jI3Qax63vwRXDz//1C1wN7+RWAAmuw== =0HgB -END PGP SIGNATURE- --- No new revisions were added by this update.
Nexus: Staging Completed
Message from: https://repository.apache.orgDescription:Close Apache Commons Parent 55 RC1Deployer properties:"userAgent" = "Apache-Maven/3.8.6 (Java 1.8.0_352; Mac OS X 13.0.1)""userId" = "ggregory""ip" = "98.180.80.161"Details:The following artifacts have been staged/org/apache/commons/commons-parent/55/commons-parent-55-cyclonedx.xml.asc(SHA1: 1231990b347f2c491fc937d904d836d38348b5ee)/org/apache/commons/commons-parent/55/commons-parent-55.spdx.json.asc(SHA1: 394ad6d4565f534fd75f48961f6eb3a351cfa5d1)/org/apache/commons/commons-parent/55/commons-parent-55-site.xml.asc(SHA1: 164d4e8e1091affe35b9c61b0b304ee34c8746a1)/org/apache/commons/commons-parent/55/commons-parent-55-cyclonedx.json(SHA1: c8c035c8c0fc668a8004af715a98dd3aebb302b7)/org/apache/commons/commons-parent/55/commons-parent-55.pom.asc(SHA1: 948657ea6b0e82eb4def13aa6059c4e90ba9)/org/apache/commons/commons-parent/55/commons-parent-55.spdx.json(SHA1: 81ed2f2510e25647f20fd7bb4192cb67a27fcd63)/org/apache/commons/commons-parent/55/commons-parent-55-cyclonedx.xml(SHA1: e2051cf42d05f094ee848d80fb713bc13ac314bb)/org/apache/commons/commons-parent/55/commons-parent-55.pom(SHA1: 46dd529e664ea72355b71d230a518bb1be8b755b)/org/apache/commons/commons-parent/55/commons-parent-55-site.xml(SHA1: 953a5c0ecc84b0141007ef3e65c1d0fe8eeb5558)/org/apache/commons/commons-parent/55/commons-parent-55-cyclonedx.json.asc(SHA1: 8db756153dd27bd861bb2f1fb9692f90124dc2ec)Action performed by Gary D. Gregory (ggregory)
[commons-compress] branch master updated: COMPRESS-614: Use FileTime in SevenZArchiveEntry (#256)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new 650ad055 COMPRESS-614: Use FileTime in SevenZArchiveEntry (#256) 650ad055 is described below commit 650ad0555e3702177c7403544ae8850f4ebbc9b1 Author: Andre Brait AuthorDate: Thu Dec 8 02:10:16 2022 +0100 COMPRESS-614: Use FileTime in SevenZArchiveEntry (#256) * COMPRESS-612: Add deprecation notice * COMPRESS-614: Move NTFS <-> FileTime to ZipUtil * COMPRESS-614: Use FileTime in SevenZArchiveEntry * COMPRESS-614: Make Sonar happy * COMPRESS-614: Reuse time operations in TimeUtils * COMPRESS-614: Fix NTFS time conversion * COMPRESS-614: Remove unused imports from ZipUtil * COMPRESS-614: Revert some documentation changes * COMPRESS-614: Add tests for TimeUtils * COMPRESS-614: Refine tests * COMPRESS-614: Add missing license text * COMPRESS-614: Add missing since tags * COMPRESS-614: Workaround for Java 17 on *NIX OSes Java 17 supports nanosecond-precision FileTimes on Linux and macOS NTFS dates support only 100ns units, so truncate dates when comparing * COMPRESS-614: Add missing test cases * Update Javadoc since tags * Update Javadoc tag * Update Javadoc tags * Update TimeUtils.java Co-authored-by: Gary Gregory --- .../archivers/sevenz/SevenZArchiveEntry.java | 160 +- .../archivers/sevenz/SevenZOutputFile.java | 30 +++- .../compress/archivers/tar/TarArchiveEntry.java| 11 +- .../commons/compress/archivers/zip/X000A_NTFS.java | 105 ++-- .../apache/commons/compress/utils/TimeUtils.java | 141 .../commons/compress/archivers/SevenZTestCase.java | 26 ++- .../archivers/sevenz/SevenZArchiveEntryTest.java | 28 .../compress/archivers/sevenz/SevenZFileTest.java | 72 +++- .../archivers/sevenz/SevenZOutputFileTest.java | 36 +++- .../compress/archivers/zip/X000A_NTFSTest.java | 42 + .../commons/compress/utils/TimeUtilsTest.java | 181 + src/test/resources/times.7z| Bin 0 -> 3934 bytes 12 files changed, 737 insertions(+), 95 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java index 74d4276e..b303085f 100644 --- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java @@ -18,15 +18,15 @@ package org.apache.commons.compress.archivers.sevenz; import java.util.Arrays; -import java.util.Calendar; +import java.nio.file.attribute.FileTime; import java.util.Collections; import java.util.Date; import java.util.Iterator; import java.util.LinkedList; import java.util.Objects; -import java.util.TimeZone; import org.apache.commons.compress.archivers.ArchiveEntry; +import org.apache.commons.compress.utils.TimeUtils; /** * An entry in a 7z archive. @@ -42,9 +42,9 @@ public class SevenZArchiveEntry implements ArchiveEntry { private boolean hasCreationDate; private boolean hasLastModifiedDate; private boolean hasAccessDate; -private long creationDate; -private long lastModifiedDate; -private long accessDate; +private FileTime creationDate; +private FileTime lastModifiedDate; +private FileTime accessDate; private boolean hasWindowsAttributes; private int windowsAttributes; private boolean hasCrc; @@ -148,13 +148,26 @@ public class SevenZArchiveEntry implements ArchiveEntry { /** * Gets the creation date. - * @throws UnsupportedOperationException if the entry hasn't got a - * creation date. - * @return the creation date + * This is equivalent to {@link SevenZArchiveEntry#getCreationTime()}, but precision is truncated to milliseconds. + * + * @throws UnsupportedOperationException if the entry hasn't got a creation date. + * @return the new creation date + * @see SevenZArchiveEntry#getCreationTime() */ public Date getCreationDate() { +return TimeUtils.fileTimeToDate(getCreationTime()); +} + +/** + * Gets the creation time. + * + * @throws UnsupportedOperationException if the entry hasn't got a creation time. + * @return the creation time + * @since 1.23 + */ +public FileTime getCreationTime() { if (hasCreationDate) { -return ntfsTimeToJavaTime(creationDate); +return creationDate; } throw new UnsupportedOperationException( "The entry doesn't have this t
[commons-compress] branch master updated: Make statics private
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new 8a81cf14 Make statics private 8a81cf14 is described below commit 8a81cf14064666fbbe4dc0accf029245f710b009 Author: Gary Gregory AuthorDate: Wed Dec 7 20:10:56 2022 -0500 Make statics private --- src/main/java/org/apache/commons/compress/utils/TimeUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/utils/TimeUtils.java b/src/main/java/org/apache/commons/compress/utils/TimeUtils.java index e4bc119c..46fb02c3 100644 --- a/src/main/java/org/apache/commons/compress/utils/TimeUtils.java +++ b/src/main/java/org/apache/commons/compress/utils/TimeUtils.java @@ -42,13 +42,13 @@ public final class TimeUtils { * This is the offset of Windows time 0 to Unix epoch in 100-nanosecond intervals. * */ -public static final long WINDOWS_EPOCH_OFFSET = -1164447360L; +private static final long WINDOWS_EPOCH_OFFSET = -1164447360L; /** The amount of 100-nanosecond intervals in one second. */ -public static final long HUNDRED_NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1) / 100; +private static final long HUNDRED_NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1) / 100; /** The amount of 100-nanosecond intervals in one millisecond. */ -public static final long HUNDRED_NANOS_PER_MILLISECOND = TimeUnit.MILLISECONDS.toNanos(1) / 100; +private static final long HUNDRED_NANOS_PER_MILLISECOND = TimeUnit.MILLISECONDS.toNanos(1) / 100; /** * Converts NTFS time (100 nanosecond units since 1 January 1601) to Java time.
[commons-compress] branch master updated: Simpler new names.
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new ed0d8efd Simpler new names. ed0d8efd is described below commit ed0d8efdcbe7ff9e9b0ba53ad5484a2069a3c71d Author: Gary Gregory AuthorDate: Wed Dec 7 20:13:01 2022 -0500 Simpler new names. Make statics package-private --- .../archivers/sevenz/SevenZArchiveEntry.java | 18 ++-- .../archivers/sevenz/SevenZOutputFile.java | 6 +- .../compress/archivers/tar/TarArchiveEntry.java| 4 +- .../commons/compress/archivers/zip/X000A_NTFS.java | 4 +- .../apache/commons/compress/utils/TimeUtils.java | 100 ++--- .../commons/compress/utils/TimeUtilsTest.java | 12 +-- 6 files changed, 72 insertions(+), 72 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java index b303085f..5cc82cf4 100644 --- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java @@ -155,7 +155,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { * @see SevenZArchiveEntry#getCreationTime() */ public Date getCreationDate() { -return TimeUtils.fileTimeToDate(getCreationTime()); +return TimeUtils.toDate(getCreationTime()); } /** @@ -189,7 +189,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { * @see SevenZArchiveEntry#setCreationTime(FileTime) */ public void setCreationDate(final Date creationDate) { -setCreationTime(TimeUtils.dateToFileTime(creationDate)); +setCreationTime(TimeUtils.toFileTime(creationDate)); } /** @@ -232,7 +232,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { */ @Override public Date getLastModifiedDate() { -return TimeUtils.fileTimeToDate(getLastModifiedTime()); +return TimeUtils.toDate(getLastModifiedTime()); } /** @@ -266,7 +266,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { * @see SevenZArchiveEntry#setLastModifiedTime(FileTime) */ public void setLastModifiedDate(final Date lastModifiedDate) { -setLastModifiedTime(TimeUtils.dateToFileTime(lastModifiedDate)); +setLastModifiedTime(TimeUtils.toFileTime(lastModifiedDate)); } /** @@ -307,7 +307,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { * @see SevenZArchiveEntry#getAccessTime() */ public Date getAccessDate() { -return TimeUtils.fileTimeToDate(getAccessTime()); +return TimeUtils.toDate(getAccessTime()); } /** @@ -341,7 +341,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { * @see SevenZArchiveEntry#setAccessTime(FileTime) */ public void setAccessDate(final Date accessDate) { -setAccessTime(TimeUtils.dateToFileTime(accessDate)); +setAccessTime(TimeUtils.toFileTime(accessDate)); } /** @@ -633,12 +633,12 @@ public class SevenZArchiveEntry implements ArchiveEntry { * Converts Java time to NTFS time. * @param date the Java time * @return the NTFS time - * @deprecated Use {@link TimeUtils#dateToNtfsTime(Date)} instead. - * @see TimeUtils#dateToNtfsTime(Date) + * @deprecated Use {@link TimeUtils#toNtfsTime(Date)} instead. + * @see TimeUtils#toNtfsTime(Date) */ @Deprecated public static long javaTimeToNtfsTime(final Date date) { -return TimeUtils.dateToNtfsTime(date); +return TimeUtils.toNtfsTime(date); } private boolean equalSevenZMethods(final Iterable c1, diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java index 903e0df1..238dfb5c 100644 --- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java +++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java @@ -665,7 +665,7 @@ public class SevenZOutputFile implements Closeable { out.write(0); for (final SevenZArchiveEntry entry : files) { if (entry.getHasCreationDate()) { -final long ntfsTime = TimeUtils.fileTimeToNtfsTime(entry.getCreationTime()); +final long ntfsTime = TimeUtils.toNtfsTime(entry.getCreationTime()); out.writeLong(Long.reverseBytes(ntfsTime)); } } @@ -701,7 +701,7 @@ public class SevenZOutputFile implements Closeable { out.write(0); for (final SevenZArchiveEntry entry : files) {
[commons-compress] branch master updated: [COMPRESS-614] Use FileTime for time fields in SevenZipArchiveEntry
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new 85da0758 [COMPRESS-614] Use FileTime for time fields in SevenZipArchiveEntry 85da0758 is described below commit 85da0758f913ade2009cbf75a7951ef690de426d Author: Gary Gregory AuthorDate: Wed Dec 7 20:22:12 2022 -0500 [COMPRESS-614] Use FileTime for time fields in SevenZipArchiveEntry --- src/changes/changes.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index c43b4cb1..27dc1af8 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -48,6 +48,7 @@ The type attribute can be add,update,fix,remove. Avoid NPE in FileNameUtils.getBaseName(Path) for paths with zero elements like root paths. Avoid NPE in FileNameUtils.getExtension(Path) for paths with zero elements like root paths. + Use FileTime for time fields in SevenZipArchiveEntry. Bump mockito.version from 4.8.0 to 4.9.0 #328, #331. Bump pmd from 6.50.0 to 6.52.0.
[commons-compress] branch master updated: Javadoc
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new e08dca1f Javadoc e08dca1f is described below commit e08dca1f0e26f3cd9b00dc30c6d0b1dff2e30811 Author: Gary Gregory AuthorDate: Wed Dec 7 20:27:36 2022 -0500 Javadoc --- src/main/java/org/apache/commons/compress/harmony/pack200/Segment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/compress/harmony/pack200/Segment.java b/src/main/java/org/apache/commons/compress/harmony/pack200/Segment.java index 95f61d07..72273055 100644 --- a/src/main/java/org/apache/commons/compress/harmony/pack200/Segment.java +++ b/src/main/java/org/apache/commons/compress/harmony/pack200/Segment.java @@ -40,7 +40,8 @@ import org.objectweb.asm.Type; */ public class Segment extends ClassVisitor { -public static int ASM_API = Opcodes.ASM4; /* see https://asm.ow2.io/javadoc/org/objectweb/asm/Opcodes.html#ASM4 */ +/** See https://asm.ow2.io/javadoc/org/objectweb/asm/Opcodes.html#ASM4 */ +public static int ASM_API = Opcodes.ASM4; public Segment() { super(ASM_API);
[commons-compress] branch master updated: Sort members
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new 9c798f58 Sort members 9c798f58 is described below commit 9c798f58077dbfb73224a78fad64e22d2fd18de8 Author: Gary Gregory AuthorDate: Wed Dec 7 20:29:32 2022 -0500 Sort members --- .../archivers/sevenz/SevenZArchiveEntry.java | 664 ++--- .../commons/compress/archivers/zip/X000A_NTFS.java | 452 +++--- 2 files changed, 558 insertions(+), 558 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java index 5cc82cf4..5ea2fe92 100644 --- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java @@ -35,6 +35,30 @@ import org.apache.commons.compress.utils.TimeUtils; * @since 1.6 */ public class SevenZArchiveEntry implements ArchiveEntry { +static final SevenZArchiveEntry[] EMPTY_SEVEN_Z_ARCHIVE_ENTRY_ARRAY = new SevenZArchiveEntry[0]; +/** + * Converts Java time to NTFS time. + * @param date the Java time + * @return the NTFS time + * @deprecated Use {@link TimeUtils#toNtfsTime(Date)} instead. + * @see TimeUtils#toNtfsTime(Date) + */ +@Deprecated +public static long javaTimeToNtfsTime(final Date date) { +return TimeUtils.toNtfsTime(date); +} +/** + * Converts NTFS time (100 nanosecond units since 1 January 1601) + * to Java time. + * @param ntfsTime the NTFS time in 100 nanosecond units + * @return the Java time + * @deprecated Use {@link TimeUtils#ntfsTimeToDate(long)} instead. + * @see TimeUtils#ntfsTimeToDate(long) + */ +@Deprecated +public static Date ntfsTimeToJavaTime(final long ntfsTime) { +return TimeUtils.ntfsTimeToDate(ntfsTime); +} private String name; private boolean hasStream; private boolean isDirectory; @@ -49,101 +73,154 @@ public class SevenZArchiveEntry implements ArchiveEntry { private int windowsAttributes; private boolean hasCrc; private long crc, compressedCrc; + private long size, compressedSize; + private Iterable contentMethods; -static final SevenZArchiveEntry[] EMPTY_SEVEN_Z_ARCHIVE_ENTRY_ARRAY = new SevenZArchiveEntry[0]; public SevenZArchiveEntry() { } -/** - * Get this entry's name. - * - * This method returns the raw name as it is stored inside of the archive. - * - * @return This entry's name. - */ @Override -public String getName() { -return name; +public boolean equals(final Object obj) { +if (this == obj) { +return true; +} +if (obj == null || getClass() != obj.getClass()) { +return false; +} +final SevenZArchiveEntry other = (SevenZArchiveEntry) obj; +return +Objects.equals(name, other.name) && +hasStream == other.hasStream && +isDirectory == other.isDirectory && +isAntiItem == other.isAntiItem && +hasCreationDate == other.hasCreationDate && +hasLastModifiedDate == other.hasLastModifiedDate && +hasAccessDate == other.hasAccessDate && +Objects.equals(creationDate, other.creationDate) && +Objects.equals(lastModifiedDate, other.lastModifiedDate) && +Objects.equals(accessDate, other.accessDate) && +hasWindowsAttributes == other.hasWindowsAttributes && +windowsAttributes == other.windowsAttributes && +hasCrc == other.hasCrc && +crc == other.crc && +compressedCrc == other.compressedCrc && +size == other.size && +compressedSize == other.compressedSize && +equalSevenZMethods(contentMethods, other.contentMethods); } -/** - * Set this entry's name. - * - * @param name This entry's new name. - */ -public void setName(final String name) { -this.name = name; +private boolean equalSevenZMethods(final Iterable c1, +final Iterable c2) { +if (c1 == null) { +return c2 == null; +} +if (c2 == null) { +return false; +} +final Iterator i2 = c2.iterator(); +for (SevenZMethodConfiguration element : c1) { +if (!i2.hasNext()) { +return false; +} +if (!element.equals(i2.next())) { +return false; +} +} +return !i2.hasNext(); } /** - * Whether there is any content associated with this entry. - * @return whether there is any cont
[commons-compress] branch master updated: Javadoc
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new 755fad23 Javadoc 755fad23 is described below commit 755fad2347c4b9ea4b56c61209d8f1f387cd5a67 Author: Gary Gregory AuthorDate: Wed Dec 7 20:33:33 2022 -0500 Javadoc --- .../archivers/sevenz/SevenZArchiveEntry.java | 19 +++ .../commons/compress/archivers/zip/X000A_NTFS.java | 22 +++--- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java index 5ea2fe92..e9e73313 100644 --- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java @@ -160,6 +160,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { /** * Gets the compressed CRC. + * * @deprecated use getCompressedCrcValue instead. * @return the compressed CRC */ @@ -170,6 +171,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { /** * Gets the compressed CRC. + * * @since 1.7 * @return the CRC */ @@ -178,7 +180,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { } /** - * Get this entry's compressed file size. + * Gets this entry's compressed file size. * * @return This entry's compressed file size. */ @@ -216,6 +218,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { /** * Gets the CRC. + * * @since 1.7 * @return the CRC */ @@ -251,7 +254,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { } /** - * Returns whether this entry has got an access date at all. + * Gets whether this entry has got an access date at all. * @return whether this entry has got an access date at all. */ public boolean getHasAccessDate() { @@ -259,7 +262,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { } /** - * Returns whether this entry has got a crc. + * Gets whether this entry has got a crc. * * In general entries without streams don't have a CRC either. * @return whether this entry has got a crc. @@ -269,7 +272,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { } /** - * Returns whether this entry has got a creation date at all. + * Gets whether this entry has got a creation date at all. * @return whether the entry has got a creation date */ public boolean getHasCreationDate() { @@ -277,7 +280,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { } /** - * Returns whether this entry has got a last modified date at all. + * Gets whether this entry has got a last modified date at all. * @return whether this entry has got a last modified date at all */ public boolean getHasLastModifiedDate() { @@ -285,7 +288,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { } /** - * Returns whether this entry has windows attributes. + * Gets whether this entry has windows attributes. * @return whether this entry has windows attributes. */ public boolean getHasWindowsAttributes() { @@ -321,7 +324,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { } /** - * Get this entry's name. + * Gets this entry's name. * * This method returns the raw name as it is stored inside of the archive. * @@ -333,7 +336,7 @@ public class SevenZArchiveEntry implements ArchiveEntry { } /** - * Get this entry's file size. + * Gets this entry's file size. * * @return This entry's file size. */ diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java b/src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java index 30a91200..2185edd9 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java @@ -128,7 +128,7 @@ public class X000A_NTFS implements ZipExtraField { } /** - * Returns the access time as a java.util.Date + * Gets the access time as a java.util.Date * of this zip entry, or null if no such timestamp exists in the zip entry. * * @return access time as java.util.Date or null. @@ -138,7 +138,7 @@ public class X000A_NTFS implements ZipExtraField { } /** - * Returns the "File last access time" of this zip entry as a + * Gets the "File last access time" of this zip entry as a * ZipEightByteInteger object, or {@
[commons-compress] branch master updated: COMPRESS-621: Fix calculation the offset of the first zip central directory entry (#334)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new 0bacf83e COMPRESS-621: Fix calculation the offset of the first zip central directory entry (#334) 0bacf83e is described below commit 0bacf83eb0b3367cd5572ab27e42a444efbcd5f8 Author: Glavo AuthorDate: Thu Dec 8 09:53:48 2022 +0800 COMPRESS-621: Fix calculation the offset of the first zip central directory entry (#334) --- .../commons/compress/archivers/zip/ZipFile.java| 49 + .../compress/archivers/zip/ZipFileTest.java| 24 ++ src/test/resources/COMPRESS-621.zip| Bin 0 -> 217 bytes 3 files changed, 64 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java index df18dd41..3caf12f3 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java @@ -163,6 +163,7 @@ public class ZipFile implements Closeable { private long centralDirectoryStartDiskNumber, centralDirectoryStartRelativeOffset; private long centralDirectoryStartOffset; +private long firstLocalFileHeaderOffset = 0L; /** * Opens the given file for reading, assuming "UTF8" for file names. @@ -720,6 +721,28 @@ public class ZipFile implements Closeable { return null; } +/** + * Offset of the first local file header in the file. + * + * @return the length of the content before the first local file header + * @since 1.23 + */ +public long getFirstLocalFileHeaderOffset() { +return firstLocalFileHeaderOffset; +} + +/** + * Returns an InputStream for reading the content before the first local file header. + * + * @return null if there is no content before the first local file header. + * Otherwise returns a stream to read the content before the first local file header. + * @since 1.23 + */ +public InputStream getContentBeforeFirstLocalFileHeader() { +return firstLocalFileHeaderOffset == 0 +? null : createBoundedInputStream(0, firstLocalFileHeaderOffset); +} + /** * Ensures that the close method of this zipfile is called when * there are no more references to it. @@ -896,7 +919,7 @@ public class ZipFile implements Closeable { ze.setName(entryEncoding.decode(fileName), fileName); // LFH offset, -ze.setLocalHeaderOffset(ZipLong.getValue(cfhBuf, off)); +ze.setLocalHeaderOffset(ZipLong.getValue(cfhBuf, off) + firstLocalFileHeaderOffset); // data offset will be filled later entries.add(ze); @@ -1038,12 +1061,12 @@ public class ZipFile implements Closeable { /* maximum length of zipfile comment */ + ZIP64_MAGIC_SHORT; /** - * Offset of the field that holds the location of the first - * central directory entry inside the "End of central directory + * Offset of the field that holds the location of the length of + * the central directory inside the "End of central directory * record" relative to the start of the "End of central directory * record". */ -private static final int CFD_LOCATOR_OFFSET = +private static final int CFD_LENGTH_OFFSET = /* end of central dir signature*/ WORD /* number of this disk */ + SHORT /* number of the disk with the */ @@ -1051,8 +1074,7 @@ public class ZipFile implements Closeable { /* total number of entries in */ /* the central dir on this disk*/ + SHORT /* total number of entries in */ -/* the central dir */ + SHORT -/* size of the central directory */ + WORD; +/* the central dir */ + SHORT; /** * Offset of the field that holds the disk number of the first @@ -1253,6 +1275,7 @@ public class ZipFile implements Closeable { */ private void positionAtCentralDirectory32() throws IOException { +long endOfCentralDirectoryRecordOffset = archive.position(); if (isSplitZipArchive) { skipBytes(CFD_DISK_OFFSET); shortBbuf.rewind(); @@ -1267,12 +1290,20 @@ public class ZipFile implements Closeable { ((ZipSplitReadOnlySeekableByteChannel) archive) .position(centralDirectoryStartDiskNumber, centralDirectoryStartRelativeOffset); } else { -skipBytes(CFD_LOCATOR_OFFSET); +skipBytes(CFD_LENGTH_OFFSET); +wordBbuf.rewind(); +IOUtils.readFully(archive, wordBbuf); +long centralDirectoryLength = ZipLong.getValue(wordBuf);
[commons-compress] branch master updated: Javadoc, sort methods
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new 5c2b2d20 Javadoc, sort methods 5c2b2d20 is described below commit 5c2b2d2092e8f2f43e526ac31eb2067a18024fb8 Author: Gary Gregory AuthorDate: Wed Dec 7 20:56:26 2022 -0500 Javadoc, sort methods --- .../commons/compress/archivers/zip/ZipFile.java| 1719 ++-- 1 file changed, 859 insertions(+), 860 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java index 3caf12f3..14e949b6 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java @@ -87,133 +87,377 @@ import org.apache.commons.compress.utils.InputStreamStatistics; * instances. * close is allowed to throw IOException. * - * */ public class ZipFile implements Closeable { +/** + * Lock-free implementation of BoundedInputStream. The + * implementation uses positioned reads on the underlying archive + * file channel and therefore performs significantly faster in + * concurrent environment. + */ +private class BoundedFileChannelInputStream extends BoundedArchiveInputStream { +private final FileChannel archive; + +BoundedFileChannelInputStream(final long start, final long remaining) { +super(start, remaining); +archive = (FileChannel) ZipFile.this.archive; +} + +@Override +protected int read(final long pos, final ByteBuffer buf) throws IOException { +final int read = archive.read(buf, pos); +buf.flip(); +return read; +} +} +/** + * Extends ZipArchiveEntry to store the offset within the archive. + */ +private static class Entry extends ZipArchiveEntry { + +Entry() { +} + +@Override +public boolean equals(final Object other) { +if (super.equals(other)) { +// super.equals would return false if other were not an Entry +final Entry otherEntry = (Entry) other; +return getLocalHeaderOffset() +== otherEntry.getLocalHeaderOffset() +&& super.getDataOffset() +== otherEntry.getDataOffset() +&& super.getDiskNumberStart() +== otherEntry.getDiskNumberStart(); +} +return false; +} + +@Override +public int hashCode() { +return 3 * super.hashCode() ++ (int) getLocalHeaderOffset()+(int)(getLocalHeaderOffset()>>32); +} +} +private static final class NameAndComment { +private final byte[] name; +private final byte[] comment; +private NameAndComment(final byte[] name, final byte[] comment) { +this.name = name; +this.comment = comment; +} +} +private static class StoredStatisticsStream extends CountingInputStream implements InputStreamStatistics { +StoredStatisticsStream(final InputStream in) { +super(in); +} + +@Override +public long getCompressedCount() { +return super.getBytesRead(); +} + +@Override +public long getUncompressedCount() { +return getCompressedCount(); +} +} private static final int HASH_SIZE = 509; static final int NIBLET_MASK = 0x0f; static final int BYTE_SHIFT = 8; private static final int POS_0 = 0; + private static final int POS_1 = 1; + private static final int POS_2 = 2; + private static final int POS_3 = 3; + private static final byte[] ONE_ZERO_BYTE = new byte[1]; /** - * List of entries in the order they appear inside the central - * directory. + * Length of a "central directory" entry structure without file + * name, extra fields or comment. */ -private final List entries = -new LinkedList<>(); +private static final int CFH_LEN = +/* version made by */ SHORT +/* version needed to extract */ + SHORT +/* general purpose bit flag*/ + SHORT +/* compression method */ + SHORT +/* last mod file time */ + SHORT +/* last mod file date */ + SHORT +/* crc-32 */ + WORD +/* compressed size */ + WORD +/* uncompressed size */ + WORD +/* file name length */ + SHORT +/* extra field length */ + SHORT +/* file comment length
[commons-compress] branch master updated: Fix calculation the offset of the first zip central directory entry #334.
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new 15a3a73e Fix calculation the offset of the first zip central directory entry #334. 15a3a73e is described below commit 15a3a73e71e5b0749170d02205c40c517eb9e485 Author: Gary Gregory AuthorDate: Wed Dec 7 21:00:12 2022 -0500 Fix calculation the offset of the first zip central directory entry #334. --- src/changes/changes.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 27dc1af8..f88db27e 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -48,7 +48,8 @@ The type attribute can be add,update,fix,remove. Avoid NPE in FileNameUtils.getBaseName(Path) for paths with zero elements like root paths. Avoid NPE in FileNameUtils.getExtension(Path) for paths with zero elements like root paths. - Use FileTime for time fields in SevenZipArchiveEntry. + Use FileTime for time fields in SevenZipArchiveEntry #256. + Fix calculation the offset of the first zip central directory entry #334. Bump mockito.version from 4.8.0 to 4.9.0 #328, #331. Bump pmd from 6.50.0 to 6.52.0.
[commons-compress] branch master updated (15a3a73e -> 2da7052a)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git from 15a3a73e Fix calculation the offset of the first zip central directory entry #334. new 5097f6b3 Match PMD command line invocation to report section new 2da7052a Declutter root folder for PMD The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: pom.xml | 9 - pmd-ruleset.xml => src/conf/pmd-ruleset.xml | 0 2 files changed, 8 insertions(+), 1 deletion(-) rename pmd-ruleset.xml => src/conf/pmd-ruleset.xml (100%)
[commons-compress] 02/02: Declutter root folder for PMD
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git commit 2da7052acf2a05a9a926379eb8b3b6a69fce0b4a Author: Gary Gregory AuthorDate: Wed Dec 7 21:22:01 2022 -0500 Declutter root folder for PMD --- pom.xml | 4 ++-- pmd-ruleset.xml => src/conf/pmd-ruleset.xml | 0 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1a32916f..ef3c4933 100644 --- a/pom.xml +++ b/pom.xml @@ -462,7 +462,7 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. 200 ${maven.compiler.source} -${basedir}/pmd-ruleset.xml +${basedir}/src/conf/pmd-ruleset.xml @@ -505,7 +505,7 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. 200 ${maven.compiler.source} -${basedir}/pmd-ruleset.xml +${basedir}/src/conf/pmd-ruleset.xml diff --git a/pmd-ruleset.xml b/src/conf/pmd-ruleset.xml similarity index 100% rename from pmd-ruleset.xml rename to src/conf/pmd-ruleset.xml
[commons-compress] 01/02: Match PMD command line invocation to report section
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git commit 5097f6b3db98fd6c63b00a3a0e85c38808b91c14 Author: Gary Gregory AuthorDate: Wed Dec 7 21:20:28 2022 -0500 Match PMD command line invocation to report section --- pom.xml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/pom.xml b/pom.xml index 334d15c6..1a32916f 100644 --- a/pom.xml +++ b/pom.xml @@ -458,6 +458,13 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. org.apache.maven.plugins maven-pmd-plugin + + 200 + ${maven.compiler.source} + +${basedir}/pmd-ruleset.xml + + org.apache.maven.plugins
[commons-compress] branch master updated: Replace FindBugs with SpotBugs and declutter the root folder
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git The following commit(s) were added to refs/heads/master by this push: new 221d72d9 Replace FindBugs with SpotBugs and declutter the root folder 221d72d9 is described below commit 221d72d96e63ecb32de78fab2e8404dd2e52d2c1 Author: Gary Gregory AuthorDate: Wed Dec 7 21:26:06 2022 -0500 Replace FindBugs with SpotBugs and declutter the root folder --- pom.xml | 16 .../conf/spotbugs-exclude-filter.xml | 0 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index ef3c4933..b0eaed07 100644 --- a/pom.xml +++ b/pom.xml @@ -466,6 +466,15 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. + +com.github.spotbugs +spotbugs-maven-plugin + + Normal + Default + ${basedir}/src/conf/spotbugs-exclude-filter.xml + + org.apache.maven.plugins maven-antrun-plugin @@ -543,13 +552,12 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. -org.codehaus.mojo -findbugs-maven-plugin -3.0.5 +com.github.spotbugs +spotbugs-maven-plugin Normal Default - ${basedir}/findbugs-exclude-filter.xml + ${basedir}/src/conf/spotbugs-exclude-filter.xml diff --git a/findbugs-exclude-filter.xml b/src/conf/spotbugs-exclude-filter.xml similarity index 100% rename from findbugs-exclude-filter.xml rename to src/conf/spotbugs-exclude-filter.xml