Skip to content

Commit 6682709

Browse files
Duncan MackinderDuncan Mackinder
authored andcommitted
Remove minor unwanted code change
1 parent 6c00a7c commit 6682709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/skyscreamer/jsonassert/comparator/CustomComparator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ public class CustomComparator extends DefaultComparator {
1515

1616
public CustomComparator(JSONCompareMode mode, Customization... customizations) {
1717
super(mode);
18-
this.customizations = Arrays.asList((Customization[])customizations);
18+
this.customizations = Arrays.asList(customizations);
1919
}
2020

2121
@Override
2222
public void compareValues(String prefix, Object expectedValue, Object actualValue, JSONCompareResult result) throws JSONException {
23-
Customization customization = getCustomization(prefix);
23+
Customization customization = getCustomization(prefix);
2424
if (customization != null) {
2525
try {
2626
if (!customization.matches(prefix, actualValue, expectedValue, result)) {

0 commit comments

Comments
 (0)