Skip to content

Commit

Permalink
#1 fixed checkstyle violations
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Saenko committed Dec 27, 2014
1 parent 005fbb0 commit eaa196a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/jcabi/latex/maven/plugin/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private File bin(final String name) throws IOException {
}
if (file == null) {
final ProcessBuilder builder =
this.createProcessBuilderForBinLocation(name);
this.createProcessBuilderToLocate(name);
final Process process = builder.start();
try {
if (process.waitFor() == 0) {
Expand Down Expand Up @@ -246,7 +246,7 @@ private File bin(final String name) throws IOException {
* @param name Short name
* @return A new {@link ProcessBuilder} instance
*/
private ProcessBuilder createProcessBuilderForBinLocation(final String name) {
private ProcessBuilder createProcessBuilderToLocate(final String name) {
final String osName = System.getProperty("os.name");
String command;
if (StringUtils.startsWith(osName, "Windows")) {
Expand Down

0 comments on commit eaa196a

Please sign in to comment.