james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/remotemanager RemoteManagerHandler.java
Date Wed, 09 Jan 2002 21:35:50 GMT
danny       02/01/09 13:35:50

  Modified:    src/java/org/apache/james/remotemanager
                        RemoteManagerHandler.java
  Log:
  fixed line end problem with login
  
  Revision  Changes    Path
  1.7       +4 -4      jakarta-james/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java
  
  Index: RemoteManagerHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- RemoteManagerHandler.java	30 Nov 2001 11:20:16 -0000	1.6
  +++ RemoteManagerHandler.java	9 Jan 2002 21:35:50 -0000	1.7
  @@ -44,8 +44,8 @@
    * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
    * @author <a href="mailto:charles@benett1.demon.co.uk">Charles Benett</a>
    *
  - * Last changed by: $Author: danny $ on $Date: 2001/11/30 11:20:16 $
  - * $Revision: 1.6 $
  + * Last changed by: $Author: danny $ on $Date: 2002/01/09 21:35:50 $
  + * $Revision: 1.7 $
    *
    */
   public class RemoteManagerHandler
  @@ -130,9 +130,9 @@
                       getLogger().info( message );
                   }
                   out.println("Login id:");
  -                login = in.readLine();
  +                login = in.readLine().trim();
                   out.println("Password:");
  -                password = in.readLine();
  +                password = in.readLine().trim();
               } while (!password.equals(admaccount.get(login)) || password.length() == 0);
   
               scheduler.resetTrigger(this.toString());
  
  
  

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message