From 317c966e11f7946e998e677b8d9035a55e8d164c Mon Sep 17 00:00:00 2001 From: Brett Wooldridge Date: Mon, 26 Jan 2015 10:53:47 +0900 Subject: [PATCH] Fix #240 correct error message --- .../main/java/com/zaxxer/hikari/util/PropertyBeanSetter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hikaricp-common/src/main/java/com/zaxxer/hikari/util/PropertyBeanSetter.java b/hikaricp-common/src/main/java/com/zaxxer/hikari/util/PropertyBeanSetter.java index 3c7003de..7e06e87d 100644 --- a/hikaricp-common/src/main/java/com/zaxxer/hikari/util/PropertyBeanSetter.java +++ b/hikaricp-common/src/main/java/com/zaxxer/hikari/util/PropertyBeanSetter.java @@ -130,7 +130,7 @@ public final class PropertyBeanSetter propertyDescriptor = new PropertyDescriptor(propName, target.getClass(), null, capitalized); } catch (IntrospectionException e1) { - LOGGER.error("Property {} is does not exist on target class {}", propName, target.getClass()); + LOGGER.error("Property {} does not exist on target {}", propName, target.getClass()); throw new RuntimeException(e); } } @@ -155,7 +155,7 @@ public final class PropertyBeanSetter } } catch (Exception e) { - LOGGER.error("Exception setting property {} on target class {}", propName, target.getClass(), e); + LOGGER.error("Exception setting property {} on target {}", propName, target.getClass(), e); throw new RuntimeException(e); } }