Fixed warnings

This commit is contained in:
Ziver Koc 2016-07-16 23:26:27 +02:00
parent cc0fd5c1f6
commit 3be4168cf2
6 changed files with 18 additions and 21 deletions

View file

@ -9,5 +9,5 @@ public interface HalAutoScannableController {
* Indicates if the controller has all the configuration
* data and resources to be able to initialize
*/
public boolean isAvailable();
boolean isAvailable();
}

View file

@ -27,7 +27,7 @@ package se.hal.intf;
*/
public interface HalBot {
public void initialize();
void initialize();
public String respond(String question);
String respond(String question);
}

View file

@ -6,6 +6,7 @@ import java.util.concurrent.ScheduledExecutorService;
* Created by Ziver on 2015-12-03.
*/
public interface HalDaemon extends Runnable{
public void initiate(ScheduledExecutorService executor);
void initiate(ScheduledExecutorService executor);
}

View file

@ -15,23 +15,23 @@ public interface HalEventController {
/**
* Will register an event type to be handled by this controller
*/
public void register(HalEventData event);
void register(HalEventData event);
/**
* Deregisters an event from this controller, the controller
* will no longer handle that type of event
*/
public void deregister(HalEventData event);
void deregister(HalEventData event);
/**
* @param event transmit this event if possible.
*/
public void send(HalEventData event); // TODO: where to put data?
void send(HalEventData event); // TODO: where to put data?
/**
* @return the number of registered objects
*/
public int size();
int size();
/**
* Set a listener that will receive all reports from the the registered Events
@ -44,5 +44,5 @@ public interface HalEventController {
* This method could be called multiple times, first time
* should be handled as normal any subsequent calls should be ignored.
*/
public void close();
void close();
}

View file

@ -23,13 +23,11 @@
package se.hal.intf;
/**
* Created with IntelliJ IDEA.
* User: ezivkoc
* Date: 2013-12-17
* Time: 13:40
* @author Ziver
*/
public interface HalSpeachToText {
public void initSTT();
public String listen();
void initSTT();
String listen();
}

View file

@ -23,13 +23,11 @@
package se.hal.intf;
/**
* Created with IntelliJ IDEA.
* User: ezivkoc
* Date: 2013-12-17
* Time: 13:40
* @author Ziver
*/
public interface HalTextToSpeach {
public void initTTS();
public void speak(String msg);
void initTTS();
void speak(String msg);
}