// Copyright 2011 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package org.apache.tapestry5.internal;

import java.io.IOException;

/**
 * An operation that may throw an IOException.
 * 
 * @asince 5.3.0
 */
public interface IOOperation
{
    void perform() throws IOException;
}

@@ -677,25 +677,83 @@
 %0A * 
-An operation that
+This interface is similar to %7B@link Runnable%7D, except that%0A * the operation
  may
@@ -762,16 +762,23 @@
 hrow an 
+%7B@link 
 IOExcept
@@ -780,16 +780,17 @@
 xception
+%7D
 .%0A * %0A *
@@ -791,17 +791,16 @@
  * %0A * @
-a
 since 5.
@@ -809,40 +809,221 @@
 0%0A *
-/%0Apublic interface IOOperation%0A%7B
+ @see TapestryInternalUtils#performIO(org.apache.tapestry5.ioc.OperationTracker, String, IOOperation)%0A */%0Apublic interface IOOperation%0A%7B%0A    /**%0A     * Perform some work.%0A     * %0A     * @throws IOException%0A     */
 %0A   

Improve documentation of IOOperation