Convert javolution FastMap, FastSet and FastList by standard java.util.*
Related to OFBIZ-5781 Convert Javolution collections into Java collections Thanks to Deepak Dixit and Adrian Crum for their help. By defautl converted : * FastMap by HashMap * FastList by LinkedList * FastSet by HashSet git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672752 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -21,10 +21,9 @@
|
||||
|
||||
package org.ofbiz.common;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import javolution.util.FastMap;
|
||||
|
||||
<#-- The comment in UPPERCASE below is dynamically put in the JsLanguageFilesMapping.java generated file, so please keep it... -->
|
||||
|
||||
public final class JsLanguageFilesMapping {
|
||||
@@ -34,7 +33,7 @@ public final class JsLanguageFilesMapping {
|
||||
|
||||
public static class datejs {
|
||||
|
||||
private static Map<String, String> localeFiles = FastMap.newInstance();
|
||||
private static Map<String, String> localeFiles = new HashMap<String, String>();
|
||||
private static String defaultDateJs = "/images/jquery/plugins/datejs/date-en-US.js";
|
||||
|
||||
static {
|
||||
@@ -54,7 +53,7 @@ public final class JsLanguageFilesMapping {
|
||||
}
|
||||
|
||||
public static class jquery {
|
||||
private static Map<String, String> localeFiles = FastMap.newInstance();
|
||||
private static Map<String, String> localeFiles = new HashMap<String, String>();
|
||||
private static String defaultDateJs = "/images/jquery/ui/i18n/jquery.ui.datepicker-en.js";
|
||||
|
||||
static {
|
||||
@@ -74,7 +73,7 @@ public final class JsLanguageFilesMapping {
|
||||
}
|
||||
|
||||
public static class validation {
|
||||
private static Map<String, String> localeFiles = FastMap.newInstance();
|
||||
private static Map<String, String> localeFiles = new HashMap<String, String>();
|
||||
private static String defaultValidation = "/images/webapp/images/jquery/plugins/validate/localization/messages_en.js";
|
||||
|
||||
static {
|
||||
@@ -93,7 +92,7 @@ public final class JsLanguageFilesMapping {
|
||||
}
|
||||
|
||||
public static class dateTime {
|
||||
private static Map<String, String> localeFiles = FastMap.newInstance();
|
||||
private static Map<String, String> localeFiles = new HashMap<String, String>();
|
||||
private static String defaultDateTime = "/images/webapp/images/jquery/ui/i18n/jquery.ui.datepicker-en.js";
|
||||
|
||||
static {
|
||||
|
||||
Reference in New Issue
Block a user