~/f/hamcrest/RPMS.2017 ~/f/hamcrest ~/f/hamcrest RPMS.2017/hamcrest-1.3-0.0.noarch.rpm RPMS/hamcrest-1.3-0.0.noarch.rpm differ: byte 225, line 1 Comparing hamcrest-1.3-0.0.noarch.rpm to hamcrest-1.3-0.0.noarch.rpm comparing the rpm tags of hamcrest --- old-rpm-tags +++ new-rpm-tags @@ -109,10 +109,10 @@ ___QF_CHECKSUM___ /usr/share/java/hamcrest 0 -/usr/share/java/hamcrest/all.jar 76901fb1676a8e24b307d584797a4763fbd4c87bb1f2f5adc58727ad45af88de 0 +/usr/share/java/hamcrest/all.jar e8576ce6e9c6dd6631feeee688fc85f3489e2a4ea60e1942d440391fef7e6ca3 0 /usr/share/java/hamcrest/generator.jar b2442d2fadbcf8c23c27ab7a4743c6792585cbac379354922755f09aea86c81e 0 /usr/share/java/hamcrest/integration.jar cf5b64336f2d33554911a09a3bf4b85b5720a415ec7cf491abaa70f51af1bb78 0 -/usr/share/java/hamcrest/library.jar 2f35c313b24308b4963dcf1712859f153798560af220c7a6c7cd4a22ecc3a618 0 +/usr/share/java/hamcrest/library.jar 42aee361ba880784367c6a5e25f7fa95fbbd2f097190c1553c276ba869430665 0 /usr/share/licenses/hamcrest 0 /usr/share/licenses/hamcrest/LICENSE.txt 3810798072d089fb5e521688b868df0885f7e1b312b1e20c345be34c8e21f06a 128 /usr/share/maven-metadata/hamcrest.xml 38f42042e07cae28fe9e1649fb43b100d6c70219dbbf8043564bab0e8ed9a887 0 comparing rpmtags comparing RELEASE comparing PROVIDES comparing scripts comparing filelist comparing file checksum creating rename script RPM file checksum differs. Extracting packages /usr/share/java/hamcrest/all.jar/org/hamcrest/CoreMatchers.class differs at offset '2325' ([architecture=11995648] [architecture=12323328]) --- old /usr/share/java/hamcrest/all.jar/org/hamcrest/CoreMatchers.class (hex) +++ new /usr/share/java/hamcrest/all.jar/org/hamcrest/CoreMatchers.class (hex) @@ -1,33 +1,33 @@ 00000900 63 68 65 72 3c 54 54 3b 3e 3b 01 00 05 61 6e 79 |cher;...any| -00000910 4f 66 01 00 5d 28 4c 6f 72 67 2f 68 61 6d 63 72 |Of..](Lorg/hamcr| -00000920 65 73 74 2f 4d 61 74 63 68 65 72 3b 4c 6f 72 67 |est/Matcher;Lorg| -00000930 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 |/hamcrest/Matche| -00000940 72 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f |r;Lorg/hamcrest/| -00000950 4d 61 74 63 68 65 72 3b 29 4c 6f 72 67 2f 68 61 |Matcher;)Lorg/ha| -00000960 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 6e 79 4f |mcrest/core/AnyO| -00000970 66 3b 01 00 1b 4c 6f 72 67 2f 68 61 6d 63 72 65 |f;...Lorg/hamcre| -00000980 73 74 2f 4d 61 74 63 68 65 72 3c 54 54 3b 3e 3b |st/Matcher;| -00000990 01 00 89 3c 54 3a 4c 6a 61 76 61 2f 6c 61 6e 67 |...(Lorg/h| -000009b0 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 72 3c |amcrest/Matcher<| -000009c0 54 54 3b 3e 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 |TT;>;Lorg/hamcre| -000009d0 73 74 2f 4d 61 74 63 68 65 72 3c 2d 54 54 3b 3e |st/Matcher<-TT;>| -000009e0 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d |;Lorg/hamcrest/M| -000009f0 61 74 63 68 65 72 3c 2d 54 54 3b 3e 3b 29 4c 6f |atcher<-TT;>;)Lo| -00000a00 72 67 2f 68 61 6d 63 72 65 73 74 2f 63 6f 72 65 |rg/hamcrest/core| -00000a10 2f 41 6e 79 4f 66 3c 54 54 3b 3e 3b 01 00 73 28 |/AnyOf;..s(| -00000a20 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d 61 |Lorg/hamcrest/Ma| -00000a30 74 63 68 65 72 3b 4c 6f 72 67 2f 68 61 6d 63 72 |tcher;Lorg/hamcr| -00000a40 65 73 74 2f 4d 61 74 63 68 65 72 3b 4c 6f 72 67 |est/Matcher;Lorg| -00000a50 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 |/hamcrest/Matche| -00000a60 72 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f |r;Lorg/hamcrest/| -00000a70 4d 61 74 63 68 65 72 3b 29 4c 6f 72 67 2f 68 61 |Matcher;)Lorg/ha| -00000a80 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 6e 79 4f |mcrest/core/AnyO| -00000a90 66 3b 01 00 a5 3c 54 3a 4c 6a 61 76 61 2f 6c 61 |f;...(Lorg| -00000ab0 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 |/hamcrest/Matche| -00000ac0 72 3c 54 54 3b 3e 3b 4c 6f 72 67 2f 68 61 6d 63 |r;Lorg/hamc| -00000ad0 72 65 73 74 2f 4d 61 74 63 68 65 72 3c 2d 54 54 |rest/Matcher<-TT| -00000ae0 3b 3e 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 |;>;Lorg/hamcrest| -00000af0 2f 4d 61 74 63 68 65 72 3c 2d 54 54 3b 3e 3b 4c |/Matcher<-TT;>;L| +00000910 4f 66 01 00 2f 28 4c 6a 61 76 61 2f 6c 61 6e 67 |Of../(Ljava/lang| +00000920 2f 49 74 65 72 61 62 6c 65 3b 29 4c 6f 72 67 2f |/Iterable;)Lorg/| +00000930 68 61 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 6e |hamcrest/core/An| +00000940 79 4f 66 3b 01 00 68 3c 54 3a 4c 6a 61 76 61 2f |yOf;..h(Lj| +00000960 61 76 61 2f 6c 61 6e 67 2f 49 74 65 72 61 62 6c |ava/lang/Iterabl| +00000970 65 3c 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f |e;>;| +00000990 29 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 63 |)Lorg/hamcrest/c| +000009a0 6f 72 65 2f 41 6e 79 4f 66 3c 54 54 3b 3e 3b 01 |ore/AnyOf;.| +000009b0 00 32 28 5b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 |.2([Lorg/hamcres| +000009c0 74 2f 4d 61 74 63 68 65 72 3b 29 4c 6f 72 67 2f |t/Matcher;)Lorg/| +000009d0 68 61 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 6e |hamcrest/core/An| +000009e0 79 4f 66 3b 01 00 53 3c 54 3a 4c 6a 61 76 61 2f |yOf;..S([L| +00000a00 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 |org/hamcrest/Mat| +00000a10 63 68 65 72 3c 2d 54 54 3b 3e 3b 29 4c 6f 72 67 |cher<-TT;>;)Lorg| +00000a20 2f 68 61 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 |/hamcrest/core/A| +00000a30 6e 79 4f 66 3c 54 54 3b 3e 3b 01 00 73 28 4c 6f |nyOf;..s(Lo| +00000a40 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 |rg/hamcrest/Matc| +00000a50 68 65 72 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 |her;Lorg/hamcres| +00000a60 74 2f 4d 61 74 63 68 65 72 3b 4c 6f 72 67 2f 68 |t/Matcher;Lorg/h| +00000a70 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 72 3b |amcrest/Matcher;| +00000a80 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d 61 |Lorg/hamcrest/Ma| +00000a90 74 63 68 65 72 3b 29 4c 6f 72 67 2f 68 61 6d 63 |tcher;)Lorg/hamc| +00000aa0 72 65 73 74 2f 63 6f 72 65 2f 41 6e 79 4f 66 3b |rest/core/AnyOf;| +00000ab0 01 00 1b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 |...Lorg/hamcrest| +00000ac0 2f 4d 61 74 63 68 65 72 3c 54 54 3b 3e 3b 01 00 |/Matcher;..| +00000ad0 a5 3c 54 3a 4c 6a 61 76 61 2f 6c 61 6e 67 2f 4f |.(Lorg/ham| +00000af0 63 72 65 73 74 2f 4d 61 74 63 68 65 72 3c 54 54 |crest/Matcher;...is| -00002d70 45 6d 70 74 79 53 74 72 69 6e 67 01 00 15 73 74 |EmptyString...st| +00002d20 65 53 70 61 63 65 01 00 0d 69 73 45 6d 70 74 79 |eSpace...isEmpty| +00002d30 53 74 72 69 6e 67 01 00 2c 28 29 4c 6f 72 67 2f |String..,()Lorg/| +00002d40 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 72 |hamcrest/Matcher| +00002d50 3c 4c 6a 61 76 61 2f 6c 61 6e 67 2f 53 74 72 69 |;...isEmptyO| +00002d70 72 4e 75 6c 6c 53 74 72 69 6e 67 01 00 15 73 74 |rNullString...st| 00002d80 72 69 6e 67 43 6f 6e 74 61 69 6e 73 49 6e 4f 72 |ringContainsInOr| 00002d90 64 65 72 01 00 0a 73 75 62 73 74 72 69 6e 67 73 |der...substrings| 00002da0 01 00 28 4c 6a 61 76 61 2f 6c 61 6e 67 2f 49 74 |..(Ljava/lang/It| /usr/share/java/hamcrest/library.jar/org/hamcrest/Matchers.class differs at offset '11561' ([64-bit architecture=8587777] [64-bit architecture=8915457]) --- old /usr/share/java/hamcrest/library.jar/org/hamcrest/Matchers.class (hex) +++ new /usr/share/java/hamcrest/library.jar/org/hamcrest/Matchers.class (hex) @@ -1,11 +1,11 @@ 00002d00 63 74 65 64 53 74 72 69 6e 67 01 00 19 65 71 75 |ctedString...equ| 00002d10 61 6c 54 6f 49 67 6e 6f 72 69 6e 67 57 68 69 74 |alToIgnoringWhit| -00002d20 65 53 70 61 63 65 01 00 13 69 73 45 6d 70 74 79 |eSpace...isEmpty| -00002d30 4f 72 4e 75 6c 6c 53 74 72 69 6e 67 01 00 2c 28 |OrNullString..,(| -00002d40 29 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d |)Lorg/hamcrest/M| -00002d50 61 74 63 68 65 72 3c 4c 6a 61 76 61 2f 6c 61 6e |atcher;...is| -00002d70 45 6d 70 74 79 53 74 72 69 6e 67 01 00 15 73 74 |EmptyString...st| +00002d20 65 53 70 61 63 65 01 00 0d 69 73 45 6d 70 74 79 |eSpace...isEmpty| +00002d30 53 74 72 69 6e 67 01 00 2c 28 29 4c 6f 72 67 2f |String..,()Lorg/| +00002d40 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 72 |hamcrest/Matcher| +00002d50 3c 4c 6a 61 76 61 2f 6c 61 6e 67 2f 53 74 72 69 |;...isEmptyO| +00002d70 72 4e 75 6c 6c 53 74 72 69 6e 67 01 00 15 73 74 |rNullString...st| 00002d80 72 69 6e 67 43 6f 6e 74 61 69 6e 73 49 6e 4f 72 |ringContainsInOr| 00002d90 64 65 72 01 00 0a 73 75 62 73 74 72 69 6e 67 73 |der...substrings| 00002da0 01 00 28 4c 6a 61 76 61 2f 6c 61 6e 67 2f 49 74 |..(Ljava/lang/It| RPMS.2017/hamcrest-core-1.3-0.0.noarch.rpm RPMS/hamcrest-core-1.3-0.0.noarch.rpm differ: byte 225, line 1 Comparing hamcrest-core-1.3-0.0.noarch.rpm to hamcrest-core-1.3-0.0.noarch.rpm comparing the rpm tags of hamcrest-core --- old-rpm-tags +++ new-rpm-tags @@ -90,7 +90,7 @@ ___QF_CHECKSUM___ /usr/share/java/hamcrest 0 -/usr/share/java/hamcrest/core.jar 01cb492700d53e039fa6be7881c8061034f2e140ab71e542f65a46f7e37711a3 0 +/usr/share/java/hamcrest/core.jar 466a492121ca54eb6d2ae374cf67039ef821664fbc5576935c00b8a31f97df11 0 /usr/share/licenses/hamcrest-core 0 /usr/share/licenses/hamcrest-core/LICENSE.txt 3810798072d089fb5e521688b868df0885f7e1b312b1e20c345be34c8e21f06a 128 /usr/share/maven-metadata/hamcrest-core.xml c5cdb6e6417bd2ceacdf85a331d68b8b86e249df9d5156d4c6a8553f32442b52 0 comparing rpmtags comparing RELEASE comparing PROVIDES comparing scripts comparing filelist comparing file checksum creating rename script RPM file checksum differs. Extracting packages /usr/share/java/hamcrest/core.jar/org/hamcrest/CoreMatchers.class differs at offset '2325' ([architecture=11995648] [architecture=12323328]) --- old /usr/share/java/hamcrest/core.jar/org/hamcrest/CoreMatchers.class (hex) +++ new /usr/share/java/hamcrest/core.jar/org/hamcrest/CoreMatchers.class (hex) @@ -1,33 +1,33 @@ 00000900 63 68 65 72 3c 54 54 3b 3e 3b 01 00 05 61 6e 79 |cher;...any| -00000910 4f 66 01 00 5d 28 4c 6f 72 67 2f 68 61 6d 63 72 |Of..](Lorg/hamcr| -00000920 65 73 74 2f 4d 61 74 63 68 65 72 3b 4c 6f 72 67 |est/Matcher;Lorg| -00000930 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 |/hamcrest/Matche| -00000940 72 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f |r;Lorg/hamcrest/| -00000950 4d 61 74 63 68 65 72 3b 29 4c 6f 72 67 2f 68 61 |Matcher;)Lorg/ha| -00000960 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 6e 79 4f |mcrest/core/AnyO| -00000970 66 3b 01 00 1b 4c 6f 72 67 2f 68 61 6d 63 72 65 |f;...Lorg/hamcre| -00000980 73 74 2f 4d 61 74 63 68 65 72 3c 54 54 3b 3e 3b |st/Matcher;| -00000990 01 00 89 3c 54 3a 4c 6a 61 76 61 2f 6c 61 6e 67 |...(Lorg/h| -000009b0 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 72 3c |amcrest/Matcher<| -000009c0 54 54 3b 3e 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 |TT;>;Lorg/hamcre| -000009d0 73 74 2f 4d 61 74 63 68 65 72 3c 2d 54 54 3b 3e |st/Matcher<-TT;>| -000009e0 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d |;Lorg/hamcrest/M| -000009f0 61 74 63 68 65 72 3c 2d 54 54 3b 3e 3b 29 4c 6f |atcher<-TT;>;)Lo| -00000a00 72 67 2f 68 61 6d 63 72 65 73 74 2f 63 6f 72 65 |rg/hamcrest/core| -00000a10 2f 41 6e 79 4f 66 3c 54 54 3b 3e 3b 01 00 73 28 |/AnyOf;..s(| -00000a20 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d 61 |Lorg/hamcrest/Ma| -00000a30 74 63 68 65 72 3b 4c 6f 72 67 2f 68 61 6d 63 72 |tcher;Lorg/hamcr| -00000a40 65 73 74 2f 4d 61 74 63 68 65 72 3b 4c 6f 72 67 |est/Matcher;Lorg| -00000a50 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 |/hamcrest/Matche| -00000a60 72 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f |r;Lorg/hamcrest/| -00000a70 4d 61 74 63 68 65 72 3b 29 4c 6f 72 67 2f 68 61 |Matcher;)Lorg/ha| -00000a80 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 6e 79 4f |mcrest/core/AnyO| -00000a90 66 3b 01 00 a5 3c 54 3a 4c 6a 61 76 61 2f 6c 61 |f;...(Lorg| -00000ab0 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 |/hamcrest/Matche| -00000ac0 72 3c 54 54 3b 3e 3b 4c 6f 72 67 2f 68 61 6d 63 |r;Lorg/hamc| -00000ad0 72 65 73 74 2f 4d 61 74 63 68 65 72 3c 2d 54 54 |rest/Matcher<-TT| -00000ae0 3b 3e 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 |;>;Lorg/hamcrest| -00000af0 2f 4d 61 74 63 68 65 72 3c 2d 54 54 3b 3e 3b 4c |/Matcher<-TT;>;L| +00000910 4f 66 01 00 2f 28 4c 6a 61 76 61 2f 6c 61 6e 67 |Of../(Ljava/lang| +00000920 2f 49 74 65 72 61 62 6c 65 3b 29 4c 6f 72 67 2f |/Iterable;)Lorg/| +00000930 68 61 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 6e |hamcrest/core/An| +00000940 79 4f 66 3b 01 00 68 3c 54 3a 4c 6a 61 76 61 2f |yOf;..h(Lj| +00000960 61 76 61 2f 6c 61 6e 67 2f 49 74 65 72 61 62 6c |ava/lang/Iterabl| +00000970 65 3c 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f |e;>;| +00000990 29 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 63 |)Lorg/hamcrest/c| +000009a0 6f 72 65 2f 41 6e 79 4f 66 3c 54 54 3b 3e 3b 01 |ore/AnyOf;.| +000009b0 00 32 28 5b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 |.2([Lorg/hamcres| +000009c0 74 2f 4d 61 74 63 68 65 72 3b 29 4c 6f 72 67 2f |t/Matcher;)Lorg/| +000009d0 68 61 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 6e |hamcrest/core/An| +000009e0 79 4f 66 3b 01 00 53 3c 54 3a 4c 6a 61 76 61 2f |yOf;..S([L| +00000a00 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 |org/hamcrest/Mat| +00000a10 63 68 65 72 3c 2d 54 54 3b 3e 3b 29 4c 6f 72 67 |cher<-TT;>;)Lorg| +00000a20 2f 68 61 6d 63 72 65 73 74 2f 63 6f 72 65 2f 41 |/hamcrest/core/A| +00000a30 6e 79 4f 66 3c 54 54 3b 3e 3b 01 00 73 28 4c 6f |nyOf;..s(Lo| +00000a40 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d 61 74 63 |rg/hamcrest/Matc| +00000a50 68 65 72 3b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 |her;Lorg/hamcres| +00000a60 74 2f 4d 61 74 63 68 65 72 3b 4c 6f 72 67 2f 68 |t/Matcher;Lorg/h| +00000a70 61 6d 63 72 65 73 74 2f 4d 61 74 63 68 65 72 3b |amcrest/Matcher;| +00000a80 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 2f 4d 61 |Lorg/hamcrest/Ma| +00000a90 74 63 68 65 72 3b 29 4c 6f 72 67 2f 68 61 6d 63 |tcher;)Lorg/hamc| +00000aa0 72 65 73 74 2f 63 6f 72 65 2f 41 6e 79 4f 66 3b |rest/core/AnyOf;| +00000ab0 01 00 1b 4c 6f 72 67 2f 68 61 6d 63 72 65 73 74 |...Lorg/hamcrest| +00000ac0 2f 4d 61 74 63 68 65 72 3c 54 54 3b 3e 3b 01 00 |/Matcher;..| +00000ad0 a5 3c 54 3a 4c 6a 61 76 61 2f 6c 61 6e 67 2f 4f |.(Lorg/ham| +00000af0 63 72 65 73 74 2f 4d 61 74 63 68 65 72 3c 54 54 |crest/MatcherassertThat("myValue", allOf(startsWith("my"), containsString("Val"))) - +
  • anyOf

    -
    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<T> first,
    -                                 Matcher<? super T> second,
    -                                 Matcher<? super T> third)
    +
    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<? super T>> matchers)
    Creates a matcher that matches if the examined object matches ANY of the specified matchers.

    For example:
    assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))
- +
  • anyOf

    -
    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<T> first,
    -                                 Matcher<? super T> second,
    -                                 Matcher<? super T> third,
    -                                 Matcher<? super T> fourth)
    +
    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<? super T>... matchers)
    Creates a matcher that matches if the examined object matches ANY of the specified matchers.

    For example:
    assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))
- +
    @@ -716,15 +711,14 @@
    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<T> first,
                                      Matcher<? super T> second,
                                      Matcher<? super T> third,
    -                                 Matcher<? super T> fourth,
    -                                 Matcher<? super T> fifth)
    + Matcher<? super T> fourth)
    Creates a matcher that matches if the examined object matches ANY of the specified matchers.

    For example:
    assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))
- +
    @@ -732,36 +726,42 @@

    anyOf

    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<T> first,
                                      Matcher<? super T> second,
    -                                 Matcher<? super T> third,
    -                                 Matcher<? super T> fourth,
    -                                 Matcher<? super T> fifth,
    -                                 Matcher<? super T> sixth)
    + Matcher<? super T> third)
    Creates a matcher that matches if the examined object matches ANY of the specified matchers.

    For example:
    assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))
- +
  • anyOf

    -
    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<? super T>> matchers)
    +
    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<T> first,
    +                                 Matcher<? super T> second,
    +                                 Matcher<? super T> third,
    +                                 Matcher<? super T> fourth,
    +                                 Matcher<? super T> fifth)
    Creates a matcher that matches if the examined object matches ANY of the specified matchers.

    For example:
    assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))
- +
  • anyOf

    -
    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<? super T>... matchers)
    +
    public static <T> AnyOf<T> anyOf&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<T> first,
    +                                 Matcher<? super T> second,
    +                                 Matcher<? super T> third,
    +                                 Matcher<? super T> fourth,
    +                                 Matcher<? super T> fifth,
    +                                 Matcher<? super T> sixth)
    Creates a matcher that matches if the examined object matches ANY of the specified matchers.

    For example: /usr/share/javadoc/hamcrest/org/hamcrest/Matchers.html differs (HTML document, ASCII text, with very long lines) --- old//usr/share/javadoc/hamcrest/org/hamcrest/Matchers.html 2020-07-26 19:58:31.540201532 +0000 +++ new//usr/share/javadoc/hamcrest/org/hamcrest/Matchers.html 2020-07-26 19:58:31.552201628 +0000 @@ -2672,31 +2672,31 @@
- +
  • -

    isEmptyOrNullString

    -
    public static Matcher<java.lang.String> isEmptyOrNullString()
    -
    Creates a matcher of String that matches when the examined string is null, or - has zero length. +

    isEmptyString

    +
    public static Matcher<java.lang.String> isEmptyString()
    +
    Creates a matcher of String that matches when the examined string has zero length.

    For example: -
    assertThat(((String)null), isEmptyString())
    +
    assertThat("", isEmptyString())
- +
  • -

    isEmptyString

    -
    public static Matcher<java.lang.String> isEmptyString()
    -
    Creates a matcher of String that matches when the examined string has zero length. +

    isEmptyOrNullString

    +
    public static Matcher<java.lang.String> isEmptyOrNullString()
    +
    Creates a matcher of String that matches when the examined string is null, or + has zero length.

    For example: -
    assertThat("", isEmptyString())
    +
    assertThat(((String)null), isEmptyString())
@@ -2861,20 +2861,24 @@ - +
  • hasXPath

    -
    public static Matcher<org.w3c.dom.Node> hasXPath&#href_anchor"block">Creates a matcher of Nodes that matches when the examined node contains a node
    - at the specified xPath, with any content.
    +
    public static Matcher<org.w3c.dom.Node> hasXPath&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<java.lang.String> valueMatcher)
    +
    Creates a matcher of Nodes that matches when the examined node has a value at the + specified xPath, within the specified namespaceContext, that satisfies + the specified valueMatcher.

    For example: -
    assertThat(xml, hasXPath("/root/something[2]/cheese"))
    +
    assertThat(xml, hasXPath("/root/something[2]/cheese", myNs, equalTo("Cheddar")))
    Parameters:
    xPath - the target xpath
    +
    namespaceContext - the namespace for matching nodes
    +
    valueMatcher - matcher for the value at the specified xpath
@@ -2897,24 +2901,20 @@ - +
  • hasXPath

    -
    public static Matcher<org.w3c.dom.Node> hasXPath&#href_anchor"Matcher.html" title="interface in org.hamcrest">Matcher<java.lang.String> valueMatcher)
    -
    Creates a matcher of Nodes that matches when the examined node has a value at the - specified xPath, within the specified namespaceContext, that satisfies - the specified valueMatcher. +
    public static Matcher<org.w3c.dom.Node> hasXPath&#href_anchor"block">Creates a matcher of Nodes that matches when the examined node contains a node
    + at the specified xPath, with any content.
      

    For example: -
    assertThat(xml, hasXPath("/root/something[2]/cheese", myNs, equalTo("Cheddar")))
    +
    assertThat(xml, hasXPath("/root/something[2]/cheese"))
    Parameters:
    xPath - the target xpath
    -
    namespaceContext - the namespace for matching nodes
    -
    valueMatcher - matcher for the value at the specified xpath
overalldiffered=3 (not bit-by-bit identical) overall=1