bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject [bval] 08/50: organize imports; rename loggger to logger
Date Mon, 10 Jun 2019 05:02:02 GMT
This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to tag 0.4
in repository https://gitbox.apache.org/repos/asf/bval.git

commit 117d7cd051ebfdb714bfb6b36c0ff4fedd1b5954
Author: mbenson <mbenson@13f79535-47bb-0310-9956-ffa450edef68>
AuthorDate: Sat Mar 31 17:13:50 2012 +0000

    organize imports; rename loggger to logger
    
    git-svn-id: http://svn.apache.org/repos/asf/bval/trunk@1307855 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/bval/xml/XMLMetaBeanFactory.java    | 23 +++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/bval-xstream/src/main/java/org/apache/bval/xml/XMLMetaBeanFactory.java b/bval-xstream/src/main/java/org/apache/bval/xml/XMLMetaBeanFactory.java
index 384ad3a..83454ef 100644
--- a/bval-xstream/src/main/java/org/apache/bval/xml/XMLMetaBeanFactory.java
+++ b/bval-xstream/src/main/java/org/apache/bval/xml/XMLMetaBeanFactory.java
@@ -16,24 +16,29 @@
  */
 package org.apache.bval.xml;
 
-import org.apache.bval.MetaBeanFactory;
-import org.apache.bval.model.FeaturesCapable;
-import org.apache.bval.model.MetaBean;
-import org.apache.bval.model.MetaProperty;
-import org.apache.bval.routines.StandardValidation;
+import static org.apache.bval.model.Features.Property.JAVASCRIPT_VALIDATION_FUNCTIONS;
 
 import java.io.IOException;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 
-import static org.apache.bval.model.Features.Property.JAVASCRIPT_VALIDATION_FUNCTIONS;
+import org.apache.bval.MetaBeanFactory;
+import org.apache.bval.model.FeaturesCapable;
+import org.apache.bval.model.MetaBean;
+import org.apache.bval.model.MetaProperty;
+import org.apache.bval.routines.StandardValidation;
 
 /**
  * Description: Create or enrich MetaBeans from apache beanInfos xml<br/>
  */
 public class XMLMetaBeanFactory implements MetaBeanFactory {
-    private static final Logger loggger = Logger.getLogger(XMLMetaBeanFactory.class.getName());
+    private static final Logger logger = Logger.getLogger(XMLMetaBeanFactory.class.getName());
 
     // use LinkedHashMap to keep sequence of loaders
     private final Map<XMLMetaBeanLoader, XMLMetaBeanInfos> resources =
@@ -230,7 +235,7 @@ public class XMLMetaBeanFactory implements MetaBeanFactory {
     }
 
     public void handleLoadException(Object loader, IOException e) {
-        loggger.log(Level.SEVERE, String.format("Error loading %s", loader), e);
+        logger.log(Level.SEVERE, String.format("Error loading %s", loader), e);
     }
 
 }


Mime
View raw message