From 0713cf8437ab95069fb4e3c81111242051b35f6f Mon Sep 17 00:00:00 2001 From: "Redhuan D. Oon" Date: Thu, 20 Nov 2008 11:48:25 +0000 Subject: [PATCH] parameterizing.. --- base/src/org/compiere/model/MRefList_Ext.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/base/src/org/compiere/model/MRefList_Ext.java b/base/src/org/compiere/model/MRefList_Ext.java index 2d02cda0aa..bf44bddabe 100644 --- a/base/src/org/compiere/model/MRefList_Ext.java +++ b/base/src/org/compiere/model/MRefList_Ext.java @@ -1,15 +1,15 @@ /****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Business Solution - * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. - * Portions created by Jorg Janke are Copyright (C) 1999-2003 Jorg Janke, parts - * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved. - * Contributor(s): ______________________________________. + * Product: Adempiere ERP & CRM Smart Business Solution * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * Author - Jorg Janke, Compiere * *****************************************************************************/ package org.compiere.model; @@ -41,7 +41,7 @@ public class MRefList_Ext extends MRefList { String AD_Language = Env.getAD_Language(ctx); String key = AD_Language + "_" + ListName + "_" + Value; - String retValue = (String)s_cache.get(key); + String retValue = s_cache.get(key); if (retValue != null) return retValue; @@ -98,7 +98,7 @@ public class MRefList_Ext extends MRefList /** Value Cache */ - private static CCache s_cache = new CCache("AD_Ref_List", 20); + private static CCache s_cache = new CCache("AD_Ref_List", 20); /**************************************************************************