Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2020-06-29 09:40:35 +0300
committerDaniel Lublin <daniel@lublin.se>2020-07-02 16:49:12 +0300
commit33ed38d674a5b00448aa54531e517f059265cc86 (patch)
treef1ded388d72260da1777e21c7ffc9374c4db755d
parentc7efc4382fc454432b2a2ba461f3b9ce895d16ed (diff)
Rename function to clarify that this isn't some Mumble session id or so
-rw-r--r--src/main/java/se/lublin/humla/HumlaService.java5
-rw-r--r--src/main/java/se/lublin/humla/IHumlaService.java2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/se/lublin/humla/HumlaService.java b/src/main/java/se/lublin/humla/HumlaService.java
index a0b73bf..ac83980 100644
--- a/src/main/java/se/lublin/humla/HumlaService.java
+++ b/src/main/java/se/lublin/humla/HumlaService.java
@@ -737,9 +737,10 @@ public class HumlaService extends Service implements IHumlaService, IHumlaSessio
}
@Override
- public IHumlaSession getSession() throws HumlaDisconnectedException {
- if (mConnectionState != ConnectionState.CONNECTED)
+ public IHumlaSession HumlaSession() throws HumlaDisconnectedException {
+ if (mConnectionState != ConnectionState.CONNECTED) {
throw new HumlaDisconnectedException();
+ }
return this;
}
diff --git a/src/main/java/se/lublin/humla/IHumlaService.java b/src/main/java/se/lublin/humla/IHumlaService.java
index 41df4e1..add7756 100644
--- a/src/main/java/se/lublin/humla/IHumlaService.java
+++ b/src/main/java/se/lublin/humla/IHumlaService.java
@@ -84,5 +84,5 @@ public interface IHumlaService {
* @return the active session.
* @throws HumlaDisconnectedException if the connection state is not CONNECTED.
*/
- IHumlaSession getSession() throws HumlaDisconnectedException;
+ IHumlaSession HumlaSession() throws HumlaDisconnectedException;
}