Created
April 29, 2015 19:15
-
-
Save sergei-ivanov/085110bb98793737dc4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/com/google/protobuf/maven/Protoc.java b/src/main/java/com/google/protobuf/maven/Protoc.java | |
index 610165c..492e644 100644 | |
--- a/src/main/java/com/google/protobuf/maven/Protoc.java | |
+++ b/src/main/java/com/google/protobuf/maven/Protoc.java | |
@@ -3,6 +3,7 @@ package com.google.protobuf.maven; | |
import com.google.common.base.Joiner; | |
import com.google.common.collect.ImmutableList; | |
import com.google.common.collect.ImmutableSet; | |
+ | |
import org.apache.maven.plugin.logging.Log; | |
import org.codehaus.plexus.util.cli.CommandLineException; | |
import org.codehaus.plexus.util.cli.CommandLineUtils; | |
@@ -10,6 +11,7 @@ import org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer; | |
import org.codehaus.plexus.util.cli.Commandline; | |
import java.io.File; | |
+import java.util.LinkedHashSet; | |
import java.util.List; | |
import java.util.Set; | |
@@ -350,7 +352,7 @@ final class Protoc { | |
Builder(final String executable) { | |
this.executable = checkNotNull(executable, "executable"); | |
this.protoFiles = newHashSet(); | |
- this.protopathElements = newHashSet(); | |
+ this.protopathElements = new LinkedHashSet<File>(); | |
this.plugins = newHashSet(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment