From c3b22164c0776f23028fdc33f07aa36d01c5e61a Mon Sep 17 00:00:00 2001 From: remm Date: Thu, 30 Mar 2006 10:00:57 +0000 Subject: [PATCH] - 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 --- java/org/apache/tomcat/util/modeler/Registry.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ); -- 2.11.0