private synchronized TYPE_1 METHOD_1 ( TYPE_2 node ) { TYPE_1 path = new TYPE_1 ( ) ; while ( ( ( node . METHOD_2 ( ) ) != null ) && ( node != null ) ) { path . METHOD_3 ( node ) ; node = node . METHOD_2 ( ) ; } return path ; }

private synchronized TYPE_1 METHOD_1 ( TYPE_2 node ) { TYPE_1 path = new TYPE_1 ( ) ; while ( ( node . METHOD_2 ( ) ) != null ) { path . METHOD_3 ( node ) ; node = node . METHOD_2 ( ) ; } return path ; }
