public boolean sameElement()

in src/main/java/org/apache/sling/query/impl/resource/ResourceTreeProvider.java [69:77]


    public boolean sameElement(Resource o1, Resource o2) {
        if (o1 == null && o2 == null) {
            return true;
        }
        if (o1 == null || o2 == null) {
            return false;
        }
        return o1.getPath().equals(o2.getPath());
    }