From 1e74f3c039dfd5e1ad60abd5690d5b32643a6c4c Mon Sep 17 00:00:00 2001 From: willemc Date: Fri, 19 Oct 2007 02:44:15 +0200 Subject: [PATCH] [svn r292] removed log line --- .../idcanet/vasc/annotations/VascAnnotationParser.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/com/idcanet/vasc/annotations/VascAnnotationParser.java b/src/com/idcanet/vasc/annotations/VascAnnotationParser.java index 97c9536..b97b563 100644 --- a/src/com/idcanet/vasc/annotations/VascAnnotationParser.java +++ b/src/com/idcanet/vasc/annotations/VascAnnotationParser.java @@ -28,8 +28,6 @@ package com.idcanet.vasc.annotations; import java.lang.annotation.Annotation; import java.lang.reflect.Method; -import java.util.logging.Level; -import java.util.logging.Logger; /** * Parses the Vasc annotations @@ -42,14 +40,11 @@ public class VascAnnotationParser { /** Determens if no when no annotation is found null will return or default key */ private Boolean noAnnotationNullReturn = null; - private Logger logger = null; - /** * Creates an VascAnnotationParser */ public VascAnnotationParser() { setNoAnnotationNullReturn(false); - logger = Logger.getLogger(VascAnnotationParser.class.getName()); } /** @@ -166,7 +161,6 @@ public class VascAnnotationParser { if(index>0) { propRest = property.substring(index+1); property = property.substring(0,index); - logger.finest("slit property into: '"+propRest+"' and '"+property+"'"); } for(Method method:beanClass.getMethods()) { @@ -237,8 +231,7 @@ public class VascAnnotationParser { try { return v.defaultValueClass().newInstance(); } catch (Exception e) { - logger.log(Level.WARNING,e.getMessage(),e); - throw new NullPointerException("Could not init defaultValueClass"); + throw new NullPointerException("Could not init defaultValueClass error: "+e.getMessage()); } } if ("null".equals(v.defaultValue())) {