Author: jdonnerstag
Date: Sun Dec  2 00:45:26 2007
New Revision: 600257

URL: http://svn.apache.org/viewvc?rev=600257&view=rev
Log:
fixed wicket-1191: wicket-jmx ignores wicket.mbean.server.class property

Modified:
    
wicket/trunk/jdk-1.5/wicket-jmx/src/main/java/org/apache/wicket/jmx/Initializer.java

Modified: 
wicket/trunk/jdk-1.5/wicket-jmx/src/main/java/org/apache/wicket/jmx/Initializer.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-jmx/src/main/java/org/apache/wicket/jmx/Initializer.java?rev=600257&r1=600256&r2=600257&view=diff
==============================================================================
--- 
wicket/trunk/jdk-1.5/wicket-jmx/src/main/java/org/apache/wicket/jmx/Initializer.java
 (original)
+++ 
wicket/trunk/jdk-1.5/wicket-jmx/src/main/java/org/apache/wicket/jmx/Initializer.java
 Sun Dec  2 00:45:26 2007
@@ -123,13 +123,12 @@
                                String impl = null;
                                try
                                {
-                                       
System.getProperty("wicket.mbean.server.class");
+                                       impl = 
System.getProperty("wicket.mbean.server.class");
                                }
                                catch (SecurityException e)
                                {
                                        // Ignore - we're not allowed to read 
this property.
-                                       log
-                                                       .warn("not allowed to 
read property wicket.mbean.server.class due to security settings; ignoring");
+                                       log.warn("not allowed to read property 
wicket.mbean.server.class due to security settings; ignoring");
                                }
                                if (impl != null)
                                {


Reply via email to