mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
replacing e.printStackTrace() with Log.error...
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12254 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
wolf.posdorfer
parent
30766c525d
commit
3acb6feba4
@ -886,8 +886,7 @@ public final class LoginDialog {
|
||||
try {
|
||||
connection.connect();
|
||||
} catch (XMPPException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
Log.error("connection error",e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -817,14 +817,12 @@ public class ConferenceRoomBrowser extends JPanel implements ActionListener, Com
|
||||
|
||||
public void componentHidden(ComponentEvent e)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void componentMoved(ComponentEvent e)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void componentResized(ComponentEvent e)
|
||||
@ -907,7 +905,6 @@ public class ConferenceRoomBrowser extends JPanel implements ActionListener, Com
|
||||
|
||||
public void componentShown(ComponentEvent e)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -32,6 +32,7 @@ import javax.swing.filechooser.FileSystemView;
|
||||
*/
|
||||
public class WindowsFileSystemView extends FileSystemView {
|
||||
|
||||
// TODO WindowsFileSystemView
|
||||
//-------------------------------------------------------------
|
||||
// Initialization ---------------------------------------------
|
||||
//-------------------------------------------------------------
|
||||
@ -40,7 +41,7 @@ public class WindowsFileSystemView extends FileSystemView {
|
||||
* Constructor WindowsFileSystemView
|
||||
*/
|
||||
public WindowsFileSystemView() {
|
||||
// TODO
|
||||
//
|
||||
} // WindowsFileSystemView()
|
||||
|
||||
//-------------------------------------------------------------
|
||||
@ -50,32 +51,32 @@ public class WindowsFileSystemView extends FileSystemView {
|
||||
/**
|
||||
* isRoot
|
||||
*
|
||||
* @param value0 TODO
|
||||
* @param value0
|
||||
* @return boolean
|
||||
*/
|
||||
public boolean isRoot(File value0) {
|
||||
return false; // TODO
|
||||
return false; //
|
||||
} // isRoot()
|
||||
|
||||
/**
|
||||
* createNewFolder
|
||||
*
|
||||
* @param value0 TODO
|
||||
* @throws IOException TODO
|
||||
* @param value0
|
||||
* @throws IOException
|
||||
* @return File
|
||||
*/
|
||||
public File createNewFolder(File value0) throws IOException {
|
||||
return null; // TODO
|
||||
return null; //
|
||||
} // createNewFolder()
|
||||
|
||||
/**
|
||||
* isHiddenFile
|
||||
*
|
||||
* @param value0 TODO
|
||||
* @param value0
|
||||
* @return boolean
|
||||
*/
|
||||
public boolean isHiddenFile(File value0) {
|
||||
return false; // TODO
|
||||
return false; //
|
||||
} // isHiddenFile()
|
||||
|
||||
/**
|
||||
@ -84,7 +85,7 @@ public class WindowsFileSystemView extends FileSystemView {
|
||||
* @return File[]
|
||||
*/
|
||||
public File[] getRoots() {
|
||||
return null; // TODO
|
||||
return null; //
|
||||
} // getRoots()
|
||||
|
||||
|
||||
|
||||
@ -77,13 +77,11 @@ public class PrivacyPreferences implements Preference {
|
||||
|
||||
@Override
|
||||
public void load() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void commit() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@ -99,13 +97,11 @@ public class PrivacyPreferences implements Preference {
|
||||
|
||||
@Override
|
||||
public Object getData() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void shutdown() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -99,16 +99,16 @@ public class TaskUI extends JPanel implements ActionListener {
|
||||
}
|
||||
|
||||
public void mouseEntered(MouseEvent e) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
public void mouseExited(MouseEvent e) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
public void mousePressed(MouseEvent e) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
public void mouseReleased(MouseEvent e) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -46,8 +46,7 @@ public class GrowlMessageListener implements GlobalMessageListener {
|
||||
|
||||
_growltalker = new GrowlTalker();
|
||||
} catch (GrowlException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
Log.error("growl error",e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -35,6 +35,8 @@ import java.util.List;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
|
||||
import org.jivesoftware.spark.util.log.Log;
|
||||
|
||||
/**
|
||||
* Growl notification implementation. This uses JNI to send messages to Growl.
|
||||
*
|
||||
@ -103,8 +105,7 @@ class GrowlNative implements Growl {
|
||||
|
||||
imageData = baos.toByteArray();
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
Log.error("Growl error",e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -127,7 +127,6 @@ public class TestGrowl extends JFrame {
|
||||
} catch (GrowlException ge) {
|
||||
ge.printStackTrace();
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
@ -165,7 +164,6 @@ public class TestGrowl extends JFrame {
|
||||
} catch (GrowlException ge) {
|
||||
ge.printStackTrace();
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
@ -223,7 +223,6 @@ public class VideoChannel {
|
||||
try {
|
||||
processor = javax.media.Manager.createProcessor( javax.media.Manager.createDataSource(locator));
|
||||
} catch (NoDataSourceException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
} catch (NoProcessorException npe) {
|
||||
|
||||
@ -151,11 +151,11 @@ public class LogManagerImpl implements SoftPhoneListener, LogManager {
|
||||
}
|
||||
|
||||
public void messageReceived(MessageEvent evt) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
public void receivedUnknownMessage(UnknownMessageEvent evt) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
public void registerStatusChanged(RegisterEvent evt) {
|
||||
|
||||
@ -82,8 +82,7 @@ public class TranslatorUtil {
|
||||
|
||||
|
||||
} catch (TransformerException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
Log.warning("Translator error",e);
|
||||
}
|
||||
|
||||
// int length = list.getLength();
|
||||
|
||||
Reference in New Issue
Block a user