Object obj = objectHolder.remove(node.nodeID);
- if (_logger.isDebugEnabled())
- _logger.debug(String.format("leave: %s in %s. object = %s", node, schema, obj));
+ if (_logger.isTraceEnabled())
+ _logger.trace(String.format("leave: %s in %s. object = %s", node, schema, obj));
}
public void newAmoeba(Schema schema, Node coreNode, Node attributeNode) throws Exception
{
- if (_logger.isDebugEnabled())
- _logger.debug(String.format("amoeba: (%s, %s) in %s", coreNode, attributeNode, schema));
+ if (_logger.isTraceEnabled())
+ _logger.trace(String.format("amoeba: (%s, %s) in %s", coreNode, attributeNode, schema));
Binder binder = schema2binder.get(schema);
if (binder == null)
}
+ public static class Read
+ {
+ public long viewstart;
+ public long viewend;
+ }
+
+ @Test
+ public void primitiveTypeBind() throws Exception
+ {
+ Read r = Lens.loadSilk(Read.class, FileResource.find(ObjectMapperTest.class, "long.silk"));
+ assertEquals(1721L, r.viewstart);
+ assertEquals(2871L, r.viewend);
+ }
}