mirror of
https://github.com/revanced/smali.git
synced 2025-05-02 07:34:28 +02:00
Use guava's 'Joiner' instead of 'String.join'
This replaces the usage of the Java 8 'String.join' method with guava's 'Joiner' which is Java 6 compatible.
This commit is contained in:
parent
8f6f59cc66
commit
8b309d62f4
3
dexlib2/src/main/java/org/jf/dexlib2/analysis/ClassProto.java
Normal file → Executable file
3
dexlib2/src/main/java/org/jf/dexlib2/analysis/ClassProto.java
Normal file → Executable file
@ -31,6 +31,7 @@
|
||||
|
||||
package org.jf.dexlib2.analysis;
|
||||
|
||||
import com.google.common.base.Joiner;
|
||||
import com.google.common.base.Predicates;
|
||||
import com.google.common.base.Supplier;
|
||||
import com.google.common.base.Suppliers;
|
||||
@ -219,7 +220,7 @@ public class ClassProto implements TypeProto {
|
||||
|
||||
if (!interfacesFullyResolved) {
|
||||
throw new UnresolvedClassException("Interfaces for class %s not fully resolved: %s", getType(),
|
||||
String.join(",", getUnresolvedInterfaces()));
|
||||
Joiner.on(',').join(getUnresolvedInterfaces()));
|
||||
}
|
||||
|
||||
return directInterfaces;
|
||||
|
Loading…
x
Reference in New Issue
Block a user