Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
oehme committed Dec 15, 2015
1 parent c707689 commit aaa6aaf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ class IdeaPluginPlugin implements Plugin<Project> {
project.tasks.getAt(BasePlugin.ASSEMBLE_TASK_NAME).dependsOn(ideaZip)
}

private def hasSameArtifactId(File file1, File file2) {
private def hasSameArtifactIdAs(File file1, File file2) {
file1.artifactId == file2.artifactId
}

private def getArtifactIdAs(File file) {
private def getArtifactId(File file) {
val matcher = ARTIFACT_ID.matcher(file.name)
if (matcher.matches) matcher.group(1) else null
}
Expand Down

0 comments on commit aaa6aaf

Please sign in to comment.