提交 dc4f999e authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting, javadocs

上级 0dae0b0b
......@@ -116,15 +116,17 @@ public class DbDriverActivator implements BundleActivator {
}
/**
* Extend the H2 class loading in order to find class defined in other bundles.
* Extend the H2 class loading in order to find class defined in other
* bundles.
*
* The Class must be registered as a service.
* The class must be registered as a service.
*
* The main difference with {@link OSGIClassFactory} is that it does not rely to a specific bundle.
* OSGIServiceClassFactory is the preferred way to register function used in table constraints,
* theses functions should not be removed of the DataBase.
* The main difference with {@link OSGIClassFactory} is that it does not
* rely to a specific bundle. OSGIServiceClassFactory is the preferred way
* to register function used in table constraints, these functions should
* not be removed from the database.
*
* The class format for bundle service class is the following :
* The class format for bundle service class is the following:
* OSGI:BinaryClassNameService
*/
private static class OSGIServiceClassFactory implements Utils.ClassFactory {
......
......@@ -81,10 +81,10 @@ public class ValueGeometry extends Value {
* envelope.
*
* @param r the other geometry
* @return true if the two envelopes overlaps
* @return true if the two overlap
*/
public boolean intersectsBoundingBox(ValueGeometry r) {
// it is useless to cache the envelope as the Geometry object do this already
// the Geometry object caches the envelope
return geometry.getEnvelopeInternal().intersects(r.getGeometry().getEnvelopeInternal());
}
......@@ -105,7 +105,7 @@ public class ValueGeometry extends Value {
* Get the intersection.
*
* @param r the other geometry
* @return the intersection of this geometry envelope and another geometry envelope
* @return the intersection of this geometry envelope and another
*/
public ValueGeometry getEnvelopeIntersection(ValueGeometry r) {
Envelope e1 = geometry.getEnvelopeInternal();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论