code cleanup / jdoc
[nikiroo-utils.git] / src / be / nikiroo / fanfix / library / RemoteLibrary.java
index 83bb2124ecaaf9eb1bf66d92366670609c493610..3e0e192d1806abb2e7d4bd270f0e808821c20991 100644 (file)
@@ -141,8 +141,7 @@ public class RemoteLibrary extends BasicLibrary {
        private Status getStatusDo() {
                final Status[] result = new Status[1];
 
-               result[0] = Status.INVALID;
-
+               result[0] = null;
                try {
                        new RemoteConnectAction() {
                                @Override
@@ -447,7 +446,7 @@ public class RemoteLibrary extends BasicLibrary {
         * @throws SSLException
         *             when the key was not accepted
         */
-       public void exit() throws IOException, SSLException {
+       public void stop() throws IOException, SSLException {
                connectRemoteAction(new RemoteAction() {
                        @Override
                        public void action(ConnectActionClientObject action)
@@ -486,7 +485,7 @@ public class RemoteLibrary extends BasicLibrary {
        // The following methods are only used by Save and Delete in BasicLibrary:
 
        @Override
-       protected int getNextId() {
+       protected String getNextId() {
                throw new java.lang.InternalError("Should not have been called");
        }