@@ -1686,7 +1686,7 @@ public <T> T searchForObject(LdapQuery query, ContextMapper<T> mapper) {
1686
1686
@ Override
1687
1687
public <T > T findByDn (Name dn , final Class <T > clazz ) {
1688
1688
if (LOG .isDebugEnabled ()) {
1689
- LOG .debug (String .format ("Reading Entry at - %s$1 " , dn ));
1689
+ LOG .debug (String .format ("Reading Entry at - %1$s " , dn ));
1690
1690
}
1691
1691
1692
1692
// Make sure the class is OK before doing the lookup
@@ -1703,7 +1703,7 @@ public T mapFromContext(Object ctx) throws javax.naming.NamingException {
1703
1703
throw new OdmException (String .format ("Entry %1$s does not have the required objectclasses " , dn ));
1704
1704
}
1705
1705
if (LOG .isDebugEnabled ()) {
1706
- LOG .debug (String .format ("Found entry - %s$1 " , result ));
1706
+ LOG .debug (String .format ("Found entry - %1$s " , result ));
1707
1707
}
1708
1708
1709
1709
return result ;
@@ -1717,7 +1717,7 @@ public void create(Object entry) {
1717
1717
Assert .notNull (entry , "Entry must not be null" );
1718
1718
1719
1719
if (LOG .isDebugEnabled ()) {
1720
- LOG .debug (String .format ("Creating entry - %s$1 " , entry ));
1720
+ LOG .debug (String .format ("Creating entry - %1$s " , entry ));
1721
1721
}
1722
1722
1723
1723
Name id = odm .getId (entry );
@@ -1741,7 +1741,7 @@ public void create(Object entry) {
1741
1741
public void update (Object entry ) {
1742
1742
Assert .notNull (entry , "Entry must not be null" );
1743
1743
if (LOG .isDebugEnabled ()) {
1744
- LOG .debug (String .format ("Updating entry - %s$1 " , entry ));
1744
+ LOG .debug (String .format ("Updating entry - %1$s " , entry ));
1745
1745
}
1746
1746
1747
1747
Name originalId = odm .getId (entry );
@@ -1786,7 +1786,7 @@ public void update(Object entry) {
1786
1786
public void delete (Object entry ) {
1787
1787
Assert .notNull (entry , "Entry must not be null" );
1788
1788
if (LOG .isDebugEnabled ()) {
1789
- LOG .debug (String .format ("Deleting %s$1 " , entry ));
1789
+ LOG .debug (String .format ("Deleting %1$s " , entry ));
1790
1790
}
1791
1791
1792
1792
Name id = odm .getId (entry );
0 commit comments