jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r830500 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
Date Wed, 28 Oct 2009 11:12:08 GMT
Author: jukka
Date: Wed Oct 28 11:12:08 2009
New Revision: 830500

URL: http://svn.apache.org/viewvc?rev=830500&view=rev
Log:
JCR-1438: Replace Config classes with factories

Use only non-static setters.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java?rev=830500&r1=830499&r2=830500&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
Wed Oct 28 11:12:08 2009
@@ -207,6 +207,7 @@
             String name = method.getName();
             if (name.startsWith("set") && name.length() > 3
                     && Modifier.isPublic(method.getModifiers())
+                    && !Modifier.isStatic(method.getModifiers())
                     && Void.TYPE.equals(method.getReturnType())
                     && method.getParameterTypes().length == 1) {
                 methods.put(



Mime
View raw message