Skip to content

Commit

Permalink
#21: updating confusing argument names in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxist committed Mar 14, 2018
1 parent f761aa9 commit 796dc92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/zyxist/chainsaw/JavaModuleHacks.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public void exports(String module, String exportedPackage, Collection<String> ds
this.customExportItems.add(new ExportItem(module, exportedPackage).toAll(dstModules));
}

public void patches(String patchedDependency, String patchingDependency) {
this.patchedDependencies.put(patchedDependency, patchingDependency);
public void patches(String patchingDependency, String patchedModule) {
this.patchedDependencies.put(patchingDependency, patchedModule);
}

public List<OpenItem> getCustomOpenItems() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -16,15 +16,16 @@
package com.zyxist.chainsaw.algorithms;

import com.zyxist.chainsaw.jigsaw.cli.PatchItem;
import com.zyxist.chainsaw.jigsaw.cli.PatchListFlag;
import org.gradle.api.Project;
import org.gradle.api.artifacts.Configuration;
import org.gradle.api.artifacts.ResolvedArtifact;
import org.gradle.api.logging.LogLevel;
import org.gradle.api.logging.Logger;
import org.gradle.api.logging.Logging;

import java.util.*;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;

/**
* Generates the '--patch-module' flag configuration from dependencies, and
Expand Down

0 comments on commit 796dc92

Please sign in to comment.