Closed amir9979 closed 3 years ago
valid,type,issue,module,commit,parent,testcase,has_test_annotation,traces,bugged_components,description,extra_description,blamed_components,diff True,Delta,-1,commons-lang,1f35e7c99b66b8d46c4ad96558e694a10aa38062,2fb9e71da695f4ffc1d390209944399b12c53a5d,org.apache.commons.lang3.builder.HashCodeBuilderTest.testReflectionObjectCycle,False,[],,,,org.apache.commons.lang3.builder.hashcodebuilder.getregistry()@org.apache.commons.lang3.builder.hashcodebuilder.unregister(object)@org.apache.commons.lang3.builder.hashcodebuilder.register(object)@org.apache.commons.lang3.builder.hashcodebuilder.isregistered(object),"u'diff --git a/src/test/java/org/apache/commons/lang3/builder/HashCodeBuilderTest.java b/src/test/java/org/apache/commons/lang3/builder/HashCodeBuilderTest.java\nindex f6af5f035..64b34f907 100644\n--- a/src/test/java/org/apache/commons/lang3/builder/HashCodeBuilderTest.java\n+++ b/src/test/java/org/apache/commons/lang3/builder/HashCodeBuilderTest.java\n@@ -521,7 +521,9 @@ public class HashCodeBuilderTest extends TestCase {\n // at org.apache.commons.lang.builder.HashCodeBuilder.append(HashCodeBuilder.java:422)\n \n a.hashCode();\n+ assertNull(HashCodeBuilder.getRegistry());\n b.hashCode();\n+ assertNull(HashCodeBuilder.getRegistry());\n }\n \n /**'"
valid,type,issue,module,commit,parent,testcase,has_test_annotation,traces,bugged_components,description,extra_description,blamed_components,diff True,Regression,-1,commons-lang,825481f019e4482e5ea74d5b0b5e5c438535cb68,91ac16e0b4a74b437d86c2dd7a47272105b4317c,org.apache.commons.lang3.time.FastDateFormatTest.testLang538,False,[],,,,"org.apache.commons.lang3.time.fastdateformat.format(calendar,stringbuffer)","u'diff --git a/src/test/org/apache/commons/lang3/time/FastDateFormatTest.java b/src/test/org/apache/commons/lang3/time/FastDateFormatTest.java\nindex 32bed7fe3..4a20ddf1d 100644\n--- a/src/test/org/apache/commons/lang3/time/FastDateFormatTest.java\n+++ b/src/test/org/apache/commons/lang3/time/FastDateFormatTest.java\n@@ -333,4 +333,17 @@ public class FastDateFormatTest extends TestCase {\n format = (FastDateFormat) SerializationUtils.deserialize( SerializationUtils.serialize( format ) );\n assertEquals(output, format.format(cal));\n }\n+\n+ public void testLang538() {\n+ final String dateTime = ""2009-10-16T16:42:16.000Z"";\n+\n+ // more commonly constructed with: cal = new GregorianCalendar(2009, 9, 16, 8, 42, 16)\n+ // for the unit test to work in any time zone, constructing with GMT-8 rather than default locale time zone\n+ GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone(""GMT-8""));\n+ cal.clear();\n+ cal.set(2009, 9, 16, 8, 42, 16);\n+\n+ FastDateFormat format = FastDateFormat.getInstance(""yyyy-MM-dd\'T\'HH:mm:ss.SSS\'Z\'"", TimeZone.getTimeZone(""GMT""));\n+ assertEquals(""dateTime"", dateTime, format.format(cal));\n+ }\n }'"
The issue you have reported seems to be resolved now. The extracted data can be found at releases by number commons-lang_376.
7