Skip to content

Commit

Permalink
basename set for source and javadoc jars
Browse files Browse the repository at this point in the history
  • Loading branch information
albertlatacz committed Dec 2, 2016
1 parent 8fe158a commit 4067ebb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ repositories {


task javadocJar(type: Jar, dependsOn: shadowJar) {
baseName "javarepl"
from javadoc
}

task sourceJar(type: Jar, dependsOn: shadowJar) {
baseName "javarepl"
from sourceSets.main.allSource
}

Expand Down
7 changes: 1 addition & 6 deletions src/javarepl/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,7 @@ public static void setBuffer(final ConsoleReader reader, final CharSequence valu
reader.setCursorPosition(offset + value.length());
}

/**
* Print out the candidates. If the size of the candidates is greater than the
* {@link ConsoleReader#getAutoprintThreshold}, they prompt with a warning.
*
* @param candidates the list of candidates to print
*/

public static void printCandidates(final ConsoleReader reader, Collection<CharSequence> candidates) throws
IOException {
Set<CharSequence> distinct = new HashSet<CharSequence>(candidates);
Expand Down

0 comments on commit 4067ebb

Please sign in to comment.