james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Benett <char...@benett1.demon.co.uk>
Subject Re: [PATCH] JDBC-backed UsersRepository implementation.
Date Mon, 11 Jun 2001 09:54:34 GMT
Committed, thanks!
Charles
PS My version seemed to have spaces not tabs anyway. Bizarre.
C

Darrell DeBoer wrote:
> 
> Hi,
> 
> The minor fix I sent for MySQL seems to have got corrupted. The real one is
> included here. Note that a few changes are just replacing tabs with spaces.
> 
> ciao
> Daz
> 
> Index:
> proposals/v1.3/java/org/apache/james/userrepository/UsersJDBCRepository.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-james/proposals/v1.3/java/org/apache/james/userrepository/UsersJDBCRepository.java,v
> retrieving revision 1.1
> diff -r1.1 UsersJDBCRepository.java
> 87c87
> <       getLogger().debug("Loading driver :" + driverName);
> ---
> >         getLogger().debug("Loading driver :" + driverName);
> 90c90
> <           getLogger().info("Database driver " + driverName + " loaded");
> ---
> >             getLogger().info("Database driver " + driverName + " loaded");
> 140c140
> <               getLogger().info("Created \'JamesUsers\' table.");
> ---
> >                 getLogger().info("Created \'JamesUsers\' table.");
> 212c212
> <         boolean useForwarding = user.getForwarding();
> ---
> >         int useForwarding = user.getForwarding() ? 1 : 0 ;
> 218c218
> <         boolean useAlias = user.getAliasing();
> ---
> >         int useAlias = user.getAliasing() ? 1 : 0 ;
> 230c230
> <             addUserStatement.setBoolean(4, useForwarding);
> ---
> >             addUserStatement.setInt(4, useForwarding);
> 232c232
> <             addUserStatement.setBoolean(6, useAlias);
> ---
> >             addUserStatement.setInt(6, useAlias);
> 345c345
> <         boolean useForwarding = user.getForwarding();
> ---
> >         int useForwarding = user.getForwarding() ? 1 : 0 ;
> 351c351
> <         boolean useAlias = user.getAliasing();
> ---
> >         int useAlias = user.getAliasing() ? 1 : 0 ;
> 362c362
> <             updateUserStatement.setBoolean(3, useForwarding);
> ---
> >             updateUserStatement.setInt(3, useForwarding);
> 364c364
> <             updateUserStatement.setBoolean(5, useAlias);
> ---
> >             updateUserStatement.setInt(5, useAlias);
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org

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


Mime
View raw message