From 102dd71f8ddfa7fdb54402e7d1a51402d8d72b6b Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 12 Jul 2007 20:30:51 +0000 Subject: [PATCH] Widening. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4756 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../presents/util/ConfirmAdapter.java | 8 +++---- .../presents/util/PersistingUnit.java | 22 +++++++++---------- .../presents/util/ResultAdapter.java | 8 +++---- 3 files changed, 16 insertions(+), 22 deletions(-) diff --git a/src/java/com/threerings/presents/util/ConfirmAdapter.java b/src/java/com/threerings/presents/util/ConfirmAdapter.java index 46e3b4faf..6a271932e 100644 --- a/src/java/com/threerings/presents/util/ConfirmAdapter.java +++ b/src/java/com/threerings/presents/util/ConfirmAdapter.java @@ -29,11 +29,9 @@ import com.threerings.presents.data.InvocationCodes; import com.threerings.presents.server.InvocationException; /** - * Adapts the response from a {@link ResultListener} to a {@link - * ConfirmListener} if the failure is an instance fo {@link - * InvocationException} the message will be passed on to the confirm - * listener, otherwise they will be provided with {@link - * InvocationCodes#INTERNAL_ERROR}. + * Adapts the response from a {@link ResultListener} to a {@link ConfirmListener} if the failure is + * an instance fo {@link InvocationException} the message will be passed on to the confirm + * listener, otherwise they will be provided with {@link InvocationCodes#INTERNAL_ERROR}. */ public class ConfirmAdapter implements ResultListener { diff --git a/src/java/com/threerings/presents/util/PersistingUnit.java b/src/java/com/threerings/presents/util/PersistingUnit.java index a795c6cea..ddbe4f99e 100644 --- a/src/java/com/threerings/presents/util/PersistingUnit.java +++ b/src/java/com/threerings/presents/util/PersistingUnit.java @@ -29,11 +29,10 @@ import com.threerings.presents.client.InvocationService; import com.threerings.presents.data.InvocationCodes; /** - * Simplifies a common pattern which is to post an {@link Invoker} unit which - * does some database operation and then calls back to an {@link - * InvocationService.InvocationListener} of some sort. If the database operation - * fails, the error will be logged and the result listener will be replied to - * with {@link InvocationCodes#INTERNAL_ERROR}. + * Simplifies a common pattern which is to post an {@link Invoker} unit which does some database + * operation and then calls back to an {@link InvocationService.InvocationListener} of some + * sort. If the database operation fails, the error will be logged and the result listener will be + * replied to with {@link InvocationCodes#INTERNAL_ERROR}. */ public abstract class PersistingUnit extends Invoker.Unit { @@ -50,9 +49,8 @@ public abstract class PersistingUnit extends Invoker.Unit } /** - * This method is where the unit performs its persistent actions. Any - * persistence exception will be caught and logged along with the output - * from {@link #getFailureMessage}, if any. + * This method is where the unit performs its persistent actions. Any persistence exception + * will be caught and logged along with the output from {@link #getFailureMessage}, if any. */ public abstract void invokePersistent () throws PersistenceException; @@ -65,8 +63,8 @@ public abstract class PersistingUnit extends Invoker.Unit } /** - * Handles the failure case by logging the error and reporting an internal - * error to the listener. + * Handles the failure case by logging the error and reporting an internal error to the + * listener. */ public void handleFailure (PersistenceException error) { @@ -76,8 +74,8 @@ public abstract class PersistingUnit extends Invoker.Unit } /** - * Provides a custom failure message in the event that the persistent - * action fails. This will be logged along with the exception. + * Provides a custom failure message in the event that the persistent action fails. This will + * be logged along with the exception. */ public String getFailureMessage () { diff --git a/src/java/com/threerings/presents/util/ResultAdapter.java b/src/java/com/threerings/presents/util/ResultAdapter.java index ce455a3bc..fadb85486 100644 --- a/src/java/com/threerings/presents/util/ResultAdapter.java +++ b/src/java/com/threerings/presents/util/ResultAdapter.java @@ -29,11 +29,9 @@ import com.threerings.presents.data.InvocationCodes; import com.threerings.presents.server.InvocationException; /** - * Adapts the response from a {@link ResultListener} to an - * InvocationService.ResultListener if the failure is an - * instance fo {@link InvocationException} the message will be passed on - * to the result listener, otherwise they will be provided with {@link - * InvocationCodes#INTERNAL_ERROR}. + * Adapts the response from a {@link ResultListener} to an InvocationService.ResultListener if the + * failure is an instance of {@link InvocationException} the message will be passed on to the + * result listener, otherwise they will be provided with {@link InvocationCodes#INTERNAL_ERROR}. */ public class ResultAdapter implements ResultListener {