diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-07-29 23:50:03 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-07-29 23:50:03 +1200 |
commit | ec90f70efd0e65d54cff98683973a0a2cf38ca74 (patch) | |
tree | db8c5b335944ed3a00731e96694137db3232f619 /src/org/traccar/web | |
parent | 43544c345f0f32fdeccf1d193ac48e40f89d4f2e (diff) | |
download | trackermap-web-ec90f70efd0e65d54cff98683973a0a2cf38ca74.tar.gz trackermap-web-ec90f70efd0e65d54cff98683973a0a2cf38ca74.tar.bz2 trackermap-web-ec90f70efd0e65d54cff98683973a0a2cf38ca74.zip |
Remove warning from log
Diffstat (limited to 'src/org/traccar/web')
-rw-r--r-- | src/org/traccar/web/client/model/DataService.java | 2 | ||||
-rw-r--r-- | src/org/traccar/web/server/model/DataServiceImpl.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/web/client/model/DataService.java b/src/org/traccar/web/client/model/DataService.java index 2bb78832..a693b6e6 100644 --- a/src/org/traccar/web/client/model/DataService.java +++ b/src/org/traccar/web/client/model/DataService.java @@ -29,7 +29,7 @@ import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; @RemoteServiceRelativePath("dataService") public interface DataService extends RemoteService { - User authenticated(); + User authenticated() throws IllegalStateException; User login(String login, String password); diff --git a/src/org/traccar/web/server/model/DataServiceImpl.java b/src/org/traccar/web/server/model/DataServiceImpl.java index 6e99897b..2a148e25 100644 --- a/src/org/traccar/web/server/model/DataServiceImpl.java +++ b/src/org/traccar/web/server/model/DataServiceImpl.java @@ -116,7 +116,7 @@ public class DataServiceImpl extends RemoteServiceServlet implements DataService } @Override - public User authenticated() { + public User authenticated() throws IllegalStateException { return getSessionUser(); } |