File tree 1 file changed +2
-5
lines changed
src/main/java/com/google/devtools/build/lib/analysis
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 14
14
15
15
package com .google .devtools .build .lib .analysis ;
16
16
17
- import com .google .common .collect .ImmutableList ;
18
17
import com .google .common .collect .ImmutableMap ;
18
+ import com .google .common .collect .Iterables ;
19
19
import com .google .devtools .build .lib .cmdline .Label ;
20
20
import com .google .devtools .build .lib .packages .Attribute ;
21
21
import com .google .devtools .build .lib .packages .AttributeMap ;
@@ -96,10 +96,7 @@ public boolean isConfigurable(String attributeName) {
96
96
97
97
@ Override
98
98
public Iterable <String > getAttributeNames () {
99
- return ImmutableList .<String >builder ()
100
- .addAll (ruleAttributes .getAttributeNames ())
101
- .addAll (aspectAttributes .keySet ())
102
- .build ();
99
+ return Iterables .concat (ruleAttributes .getAttributeNames (), aspectAttributes .keySet ());
103
100
}
104
101
105
102
@ Override
You can’t perform that action at this time.
0 commit comments