Skip to content

Commit f6630e7

Browse files
herbyderbycopybara-github
authored andcommitted
Automatic code cleanup.
PiperOrigin-RevId: 483438551 Change-Id: Ibaa151e6fc9770520b41f824b5d4c6314c8793e8
1 parent b5db379 commit f6630e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/google/devtools/build/lib/rules/android/AndroidBuildViewTestCase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
import java.util.List;
5757
import java.util.Map;
5858
import java.util.Set;
59+
import java.util.regex.Pattern;
5960
import javax.annotation.Nullable;
6061
import org.junit.Before;
6162

@@ -362,7 +363,7 @@ protected Map<String, String> getMergeeManifests(Artifact processedManifest) thr
362363
}
363364
Map<String, String> splitData =
364365
Splitter.on(",")
365-
.withKeyValueSeparator(Splitter.onPattern("(?<!\\\\):"))
366+
.withKeyValueSeparator(Splitter.on(Pattern.compile("(?<!\\\\):")))
366367
.split(mergeArgs.get(mergeArgs.indexOf("--mergeeManifests") + 1));
367368
ImmutableMap.Builder<String, String> results = new ImmutableMap.Builder<>();
368369
for (Map.Entry<String, String> manifestAndLabel : splitData.entrySet()) {

0 commit comments

Comments
 (0)