cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <glen.ma...@gmail.com>
Subject Re: svn commit: r1042803 - /cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
Date Mon, 06 Dec 2010 22:27:37 GMT
Not to be hated, but is getPassword() one of those functions that should 
be returning a char array instead of a string?

Glen

On 12/06/2010 04:40 PM, dkulp@apache.org wrote:
> Author: dkulp
> Date: Mon Dec  6 21:40:18 2010
> New Revision: 1042803
>
> URL: http://svn.apache.org/viewvc?rev=1042803&view=rev
> Log:
> Make a few methods public to allow it to be used easier without the
> spring config
>
> Modified:
>      cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
>
> Modified: cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
> URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java?rev=1042803&r1=1042802&r2=1042803&view=diff
> ==============================================================================
> --- cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
(original)
> +++ cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
Mon Dec  6 21:40:18 2010
> @@ -150,7 +150,7 @@ public class RMTxStore implements RMStor
>           driverClassName = dcn;
>       }
>
> -    String getDriverClassName() {
> +    public String getDriverClassName() {
>           return driverClassName;
>       }
>
> @@ -158,7 +158,7 @@ public class RMTxStore implements RMStor
>           password = p;
>       }
>
> -    String getPassword() {
> +    public String getPassword() {
>           return password;
>       }
>
> @@ -166,7 +166,7 @@ public class RMTxStore implements RMStor
>           url = u;
>       }
>
> -    String getUrl() {
> +    public String getUrl() {
>           return url;
>       }
>
> @@ -174,7 +174,7 @@ public class RMTxStore implements RMStor
>           userName = un;
>       }
>
> -    String getUserName() {
> +    public String getUserName() {
>           return userName;
>       }
>
> @@ -581,7 +581,7 @@ public class RMTxStore implements RMStor
>       }
>
>       @PostConstruct
> -    synchronized void init() {
> +    public synchronized void init() {
>
>           if (null == connection) {
>               LOG.log(Level.FINE, "Using derby.system.home: {0}", System.getProperty("derby.system.home"));
>
>
>
>    


Mime
View raw message