Skip to content

Commit

Permalink
remove system.err.println
Browse files Browse the repository at this point in the history
  • Loading branch information
sannies committed Oct 6, 2015
1 parent df27345 commit f6bfbee
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ public class AppendTrack extends AbstractTrack {
SampleDescriptionBox stsd;
List<Sample> lists;

public static String appendTracknames(Track... tracks) {
String name = "";
for (Track track : tracks) {
name += track.getName() + " + ";
}
return name.substring(0, name.length() - 3);
}

public AppendTrack(Track... tracks) throws IOException {
super(appendTracknames(tracks));
this.tracks = tracks;
Expand All @@ -70,11 +62,19 @@ public AppendTrack(Track... tracks) throws IOException {
lists = new ArrayList<Sample>();

for (Track track : tracks) {
System.err.println("Track " + track + " is about to be appended");
//System.err.println("Track " + track + " is about to be appended");
lists.addAll(track.getSamples());
}
}

public static String appendTracknames(Track... tracks) {
String name = "";
for (Track track : tracks) {
name += track.getName() + " + ";
}
return name.substring(0, name.length() - 3);
}

public void close() throws IOException {
for (Track track : tracks) {
track.close();
Expand Down

0 comments on commit f6bfbee

Please sign in to comment.