details:   https://code.openbravo.com/erp/devel/pi/rev/313565b75f52
changeset: 35936:313565b75f52
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Fri May 31 10:01:20 2019 +0200
summary:   fixed issue 40937: removed unused ApplicationDictionaryValidator 
class

diffstat:

 src/org/openbravo/service/system/ApplicationDictionaryValidator.java |  55 
----------
 1 files changed, 0 insertions(+), 55 deletions(-)

diffs (59 lines):

diff -r ba77c69aebd6 -r 313565b75f52 
src/org/openbravo/service/system/ApplicationDictionaryValidator.java
--- a/src/org/openbravo/service/system/ApplicationDictionaryValidator.java      
Thu May 30 20:45:35 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
- * Version 1.1  with a permitted attribution clause; you may not  use this
- * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/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 Openbravo ERP. 
- * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2009-2010 Openbravo SLU 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-
-package org.openbravo.service.system;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * This class validates several aspects of the application dictionary. The 
application dictionary
- * itself is validated as well as the match between the application dictionary 
and the database.
- * 
- * @author mtaal
- */
-public class ApplicationDictionaryValidator {
-
-  private List<SystemValidator> validators = new ArrayList<SystemValidator>();
-
-  public ApplicationDictionaryValidator() {
-    validators.add(new DatabaseValidator());
-  }
-
-  /**
-   * Performs the validation using different validators. Returns the 
validation results grouped by
-   * type of validation.
-   * 
-   * @return the validation result.
-   */
-  public Map<String, SystemValidationResult> validate() {
-    final Map<String, SystemValidationResult> result = new HashMap<String, 
SystemValidationResult>();
-
-    for (SystemValidator validator : validators) {
-      result.put(validator.getCategory(), validator.validate());
-    }
-    return result;
-  }
-}


_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to