From: remm Date: Thu, 30 Mar 2006 10:00:57 +0000 (+0000) Subject: - Add missing patch (I didn't update from sources before merging). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c3b22164c0776f23028fdc33f07aa36d01c5e61a;p=tomcat7.0 - Add missing patch (I didn't update from sources before merging). git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@390055 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/tomcat/util/modeler/Registry.java b/java/org/apache/tomcat/util/modeler/Registry.java index 1aac7dcaf..92ddff20b 100644 --- a/java/org/apache/tomcat/util/modeler/Registry.java +++ b/java/org/apache/tomcat/util/modeler/Registry.java @@ -1,5 +1,5 @@ /* - * Copyright 2001-2004 The Apache Software Foundation. + * Copyright 2001-2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -713,6 +713,9 @@ public class Registry implements RegistryMBean, MBeanRegistration { } else if( "java.lang.Integer".equals( type ) || "int".equals( type )) { objValue=new Integer( value ); + } else if( "java.lang.Long".equals( type ) || + "long".equals( type )) { + objValue=new Long( value ); } else if( "java.lang.Boolean".equals( type ) || "boolean".equals( type )) { objValue=new Boolean( value );