Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feature/#515-dependen…
Browse files Browse the repository at this point in the history
…cy-upgrade
  • Loading branch information
kaklakariada committed Feb 8, 2024
2 parents 9319f9f + 30d1832 commit 8d24d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public List<ChangesFileSection> getSections() {
* @return dependency change section
*/
public Optional<ChangesFileSection> getDependencyChangeSection() {
return Optional.ofNullable(dependencyChangeSection);
return Optional.ofNullable(this.dependencyChangeSection);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.io.*;
import java.nio.file.Path;
import java.util.*;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

Expand Down Expand Up @@ -46,8 +46,6 @@ private static class Parser {
final BufferedReader reader;
final Builder builder = ChangesFile.builder();
ChangesFileSection.Builder currentSection;

final List<String> lineBuffer = new ArrayList<>();
int lineCount = 0;

Parser(final Path file, final BufferedReader reader) {
Expand Down

0 comments on commit 8d24d1b

Please sign in to comment.