Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Aug 16, 2023
1 parent c933f16 commit 82ead98
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions src/main/java/rife/bld/publish/PomBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ public String build() {
*/
public static void generateInto(PublishInfo info, DependencyScopes dependencies, File file)
throws FileUtilsErrorException {
var pomBuilder = new PomBuilder();
pomBuilder.info_ = info;
pomBuilder.dependencies_ = dependencies;
var pomBuilder = new PomBuilder().info(info).dependencies(dependencies);
FileUtils.writeString(pomBuilder.build(), file);
}

Expand Down

0 comments on commit 82ead98

Please sign in to comment.