You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2009/05/20 12:24:18 UTC
svn commit: r776652 -
/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
Author: jukka
Date: Wed May 20 10:24:17 2009
New Revision: 776652
URL: http://svn.apache.org/viewvc?rev=776652&view=rev
Log:
JCR-2120: java.lang.Iterable support for RangeIterators
Fixed formatting.
Modified:
jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java?rev=776652&r1=776651&r2=776652&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java Wed May 20 10:24:17 2009
@@ -45,7 +45,7 @@
* @return nodes in the shared set
*/
public static Iterable<Node> getSharedSet(final Node node) {
- return new Iterable<Node>(){
+ return new Iterable<Node>() {
@SuppressWarnings("unchecked")
public Iterator<Node> iterator() {
try {
@@ -68,7 +68,7 @@
* @return child nodes
*/
public static Iterable<Node> getChildNodes(final Node node) {
- return new Iterable<Node>(){
+ return new Iterable<Node>() {
@SuppressWarnings("unchecked")
public Iterator<Node> iterator() {
try {
@@ -93,7 +93,7 @@
*/
public static Iterable<Node> getChildNodes(
final Node node, final String pattern) {
- return new Iterable<Node>(){
+ return new Iterable<Node>() {
@SuppressWarnings("unchecked")
public Iterator<Node> iterator() {
try {
@@ -118,7 +118,7 @@
*/
public static Iterable<Node> getChildNodes(
final Node node, final String[] globs) {
- return new Iterable<Node>(){
+ return new Iterable<Node>() {
@SuppressWarnings("unchecked")
public Iterator<Node> iterator() {
try {
@@ -141,7 +141,7 @@
* @return properties of the node
*/
public static Iterable<Property> getProperties(final Node node) {
- return new Iterable<Property>(){
+ return new Iterable<Property>() {
@SuppressWarnings("unchecked")
public Iterator<Property> iterator() {
try {
@@ -166,7 +166,7 @@
*/
public static Iterable<Property> getProperties(
final Node node, final String pattern) {
- return new Iterable<Property>(){
+ return new Iterable<Property>() {
@SuppressWarnings("unchecked")
public Iterator<Property> iterator() {
try {
@@ -191,7 +191,7 @@
*/
public static Iterable<Property> getProperties(
final Node node, final String[] globs) {
- return new Iterable<Property>(){
+ return new Iterable<Property>() {
@SuppressWarnings("unchecked")
public Iterator<Property> iterator() {
try {
@@ -215,7 +215,7 @@
* @return references that point to the given node
*/
public static Iterable<Property> getReferences(final Node node) {
- return new Iterable<Property>(){
+ return new Iterable<Property>() {
@SuppressWarnings("unchecked")
public Iterator<Property> iterator() {
try {
@@ -241,7 +241,7 @@
*/
public static Iterable<Property> getReferences(
final Node node, final String name) {
- return new Iterable<Property>(){
+ return new Iterable<Property>() {
@SuppressWarnings("unchecked")
public Iterator<Property> iterator() {
try {
@@ -265,7 +265,7 @@
* @return weak references that point to the given node
*/
public static Iterable<Property> getWeakReferences(final Node node) {
- return new Iterable<Property>(){
+ return new Iterable<Property>() {
@SuppressWarnings("unchecked")
public Iterator<Property> iterator() {
try {
@@ -291,7 +291,7 @@
*/
public static Iterable<Property> getWeakReferences(
final Node node, final String name) {
- return new Iterable<Property>(){
+ return new Iterable<Property>() {
@SuppressWarnings("unchecked")
public Iterator<Property> iterator() {
try {