--- a/javauis/lcdui_qt/src/javax/microedition/lcdui/AlertType.java Mon May 03 12:27:20 2010 +0300
+++ b/javauis/lcdui_qt/src/javax/microedition/lcdui/AlertType.java Fri May 14 15:47:24 2010 +0300
@@ -11,7 +11,7 @@
*
* Contributors:
*
-* Description:
+* Description:
*
*/
package javax.microedition.lcdui;
@@ -19,7 +19,8 @@
/**
* Implementation of LCDUI <code>AlertType</code> class.
*/
-public class AlertType extends Object {
+public class AlertType extends Object
+{
/**
* Alarm Alert type.
@@ -49,7 +50,8 @@
/**
* Protected constructor for subclasses.
*/
- protected AlertType() {
+ protected AlertType()
+ {
}
/**
@@ -58,10 +60,12 @@
* @param display on which the sound should be played
* @return true is the sound was played, false otherwise.
*/
- public boolean playSound(Display display) {
- if (display == null) {
+ public boolean playSound(Display display)
+ {
+ if(display == null)
+ {
throw new NullPointerException(
- MsgRepository.ALERTTYPE_EXCEPTION_PLAYSOUND_NULL_POINTER);
+ MsgRepository.ALERTTYPE_EXCEPTION_PLAYSOUND_NULL_POINTER);
}
// TODO: eSWT support required
return false;