/[svn]/jsampler/trunk/src/org/jsampler/task/DuplicateChannels.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/task/DuplicateChannels.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1866 by iliev, Mon Apr 2 21:18:31 2007 UTC revision 1867 by iliev, Mon Mar 16 22:12:32 2009 UTC
# Line 1  Line 1 
1  /*  /*
2   *   JSampler - a java front-end for LinuxSampler   *   JSampler - a java front-end for LinuxSampler
3   *   *
4   *   Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com>   *   Copyright (C) 2005-2009 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 22  Line 22 
22    
23  package org.jsampler.task;  package org.jsampler.task;
24    
 import java.util.logging.Level;  
   
25  import org.jsampler.CC;  import org.jsampler.CC;
 import org.jsampler.HF;  
26    
27  import org.jsampler.view.JSChannel;  import org.jsampler.view.JSChannel;
28    
# Line 74  public class DuplicateChannels extends E Line 71  public class DuplicateChannels extends E
71          }          }
72                    
73          /** The entry point of the task. */          /** The entry point of the task. */
74            @Override
75          public void          public void
76          run() {          exec() throws Exception {
77                  try {                  for(SamplerChannel c : chnS) {
78                          for(SamplerChannel c : chnS) {                          duplicateSettings(c, CC.getClient().addSamplerChannel());
                                 duplicateSettings(c, CC.getClient().addSamplerChannel());  
                         }  
                 }  
                 catch(Exception x) {  
                         setErrorMessage(getDescription() + ": " + HF.getErrorMessage(x));  
                         CC.getLogger().log(Level.FINE, getErrorMessage(), x);  
79                  }                  }
80          }          }
81                    

Legend:
Removed from v.1866  
changed lines
  Added in v.1867

  ViewVC Help
Powered by ViewVC