Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
timtebeek and github-actions[bot] authored Jul 31, 2024
1 parent 3e678aa commit 26469cf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
@EqualsAndHashCode(callSuper = false)
public class ChangeDependencyVersionValue extends Recipe {
private static final Logger log = LoggerFactory.getLogger(ChangeDependencyVersionValue.class);

@EqualsAndHashCode.Exclude
MavenMetadataFailures metadataFailures = new MavenMetadataFailures(this);

Expand All @@ -57,6 +58,7 @@ public enum VersionLocation {
this.name = name;
}

@Override
public String toString() {
return this.name;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2024 the original author or authors.
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* 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.openrewrite.maven;

import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -918,4 +933,4 @@ void alreadyLatestVersionButWithPropertyChange() {
)
);
}
}
}

0 comments on commit 26469cf

Please sign in to comment.