@@ -34,26 +34,26 @@ import java.util.List;
34
34
import java.util.Properties ;
35
35
36
36
public class Application {
37
- public static void main (String [] args ) throws IOException {
37
+ public static void main (String [] args ) throws IOException {
38
38
39
- TonieHandler tonieHandler = new TonieHandler (" USERNAME" , " PASSWORD" );
40
- List<Tonie > tonies = tonieHandler. getTonies();
39
+ TonieHandler tonieHandler = new TonieHandler (" USERNAME" , " PASSWORD" );
40
+ List<Tonie > tonies = tonieHandler. getTonies();
41
41
42
- for (Tonie tonie : tonies) {
43
- if (StringUtils . equals(tonie. getTonieName(), " TONIES NAME" )) {
44
-
45
- // delete entire content from the Tonie
46
- tonieHandler. deleteTonieContent(tonie);
42
+ for (Tonie tonie : tonies) {
43
+ if (StringUtils . equals(tonie. getTonieName(), " TONIES NAME" )) {
44
+
45
+ // delete entire content from the Tonie
46
+ tonieHandler. deleteTonieContent(tonie);
47
+
48
+ // rename the Tonie
49
+ tonieHandler. changeTonieName(tonie, " Tonies New Name" );
47
50
48
- // rename the Tonie
49
- tonieHandler. changeTonieName(tonie, " Tonies New Name" );
50
-
51
- // upload file to Tonie
52
- tonieHandler. uploadFile(tonie, " New Track" , " PATH_TO_MP3.mp3" );
53
- return ;
54
- }
55
- }
56
- }
51
+ // upload file to Tonie
52
+ tonieHandler. uploadFile(tonie, " New Track" , " PATH_TO_MP3.mp3" );
53
+ return ;
54
+ }
55
+ }
56
+ }
57
57
}
58
58
59
59
```
0 commit comments