Skip to content

Commit 088ea45

Browse files
authored
Make fields final (#1383)
1 parent 3938b67 commit 088ea45

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/src/main/java/org/jboss/pnc/build/finder/core/LicenseInfo.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@
2222
import org.apache.maven.model.License;
2323

2424
public class LicenseInfo implements Comparable<LicenseInfo> {
25-
private String comments;
25+
private final String comments;
2626

27-
private String distribution;
27+
private final String distribution;
2828

29-
private String name;
29+
private final String name;
3030

31-
private String url;
31+
private final String url;
3232

3333
private String spdxLicenseId;
3434

35-
private String source;
35+
private final String source;
3636

3737
public LicenseInfo(FileObject fileObject, License license) {
3838
comments = license.getComments();

0 commit comments

Comments
 (0)