File tree 4 files changed +5
-10
lines changed
app/test/processing/app/helpers
4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 29
29
30
30
package processing .app .helpers ;
31
31
32
+ import org .apache .commons .lang3 .StringUtils ;
32
33
import org .junit .Test ;
33
34
34
35
import static org .junit .Assert .assertEquals ;
Original file line number Diff line number Diff line change 36
36
import java .util .ArrayList ;
37
37
import java .util .List ;
38
38
39
+ import org .apache .commons .lang3 .StringUtils ;
40
+
39
41
import com .fasterxml .jackson .annotation .JsonAutoDetect .Visibility ;
40
42
import com .fasterxml .jackson .annotation .PropertyAccessor ;
41
43
import com .fasterxml .jackson .core .JsonFactory ;
48
50
import cc .arduino .packages .BoardPort ;
49
51
import cc .arduino .packages .Discovery ;
50
52
import processing .app .PreferencesData ;
51
- import processing .app .helpers .StringUtils ;
52
53
53
54
public class PluggableDiscovery implements Discovery {
54
55
Original file line number Diff line number Diff line change 44
44
import processing .app .helpers .PreferencesMap ;
45
45
import processing .app .helpers .PreferencesMapException ;
46
46
import processing .app .helpers .StringReplacer ;
47
- import processing .app .helpers .StringUtils ;
48
47
49
48
import java .io .File ;
50
49
import java .io .IOException ;
54
53
import java .util .List ;
55
54
import java .util .Set ;
56
55
56
+ import org .apache .commons .lang3 .StringUtils ;
57
+
57
58
import static processing .app .I18n .tr ;
58
59
59
60
public class SSHUploader extends Uploader {
Original file line number Diff line number Diff line change @@ -15,12 +15,4 @@ public static String rtrim(String s) {
15
15
}
16
16
return s .substring (0 , i + 1 );
17
17
}
18
-
19
- public static String join (String [] arr , String separator ) {
20
- StringBuffer sb = new StringBuffer ();
21
- for (String s : arr ) {
22
- sb .append (s ).append (separator );
23
- }
24
- return sb .substring (0 , sb .length () - separator .length ());
25
- }
26
18
}
You can’t perform that action at this time.
0 commit comments