Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
re3turn committed Jan 14, 2025
1 parent 4f00eda commit 67c9ea0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*
* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2023-2025 Jeremy Long. All Rights Reserved.
*/
package io.github.jeremylong.openvulnerability.client.ghsa;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public class SecurityAdvisory implements Serializable {
private String classification;

// https://docs.github.com/en/graphql/overview/breaking-changes#changes-scheduled-for-2025-10-01
// cvss will be removed at 2025-10-01.
// cvss will be removed at 2025-10-01.
// New cvssSeverities field will now contain both cvssV3 and cvssV4 properties.
@Deprecated(forRemoval = true)
@JsonProperty("cvss")
Expand Down Expand Up @@ -252,7 +252,7 @@ public CVSS getCvss() {
}

/**
* The CVSS associated with this advisory.
* The CVSS associated with this advisory.
*
* @return the CVSS associated with this advisory.
*/
Expand Down Expand Up @@ -309,8 +309,8 @@ public boolean equals(Object o) {
&& severity == that.severity && Objects.equals(summary, that.summary)
&& Objects.equals(updatedAt, that.updatedAt) && Objects.equals(withdrawnAt, that.withdrawnAt)
&& Objects.equals(classification, that.classification) && Objects.equals(cvss, that.cvss)
&& Objects.equals(cvssSeverities, that.cvssSeverities)
&& Objects.equals(cwes, that.cwes) && Objects.equals(vulnerabilities, that.vulnerabilities);
&& Objects.equals(cvssSeverities, that.cvssSeverities) && Objects.equals(cwes, that.cwes)
&& Objects.equals(vulnerabilities, that.vulnerabilities);
}

@Override
Expand Down

0 comments on commit 67c9ea0

Please sign in to comment.