Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6682709

Browse filesBrowse files
Duncan MackinderDuncan Mackinder
authored andcommitted
Remove minor unwanted code change
1 parent 6c00a7c commit 6682709
Copy full SHA for 6682709

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: src/main/java/org/skyscreamer/jsonassert/comparator/CustomComparator.java
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.