empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e.@apache.org
Subject svn commit: r1089035 - /incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/EmpireException.java
Date Tue, 05 Apr 2011 13:36:28 GMT
Author: ek
Date: Tue Apr  5 13:36:28 2011
New Revision: 1089035

URL: http://svn.apache.org/viewvc?rev=1089035&view=rev
Log:
renamed internal class ErrorInfoImpl to DeepCopyErrorInfo

Modified:
    incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/EmpireException.java

Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/EmpireException.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/EmpireException.java?rev=1089035&r1=1089034&r2=1089035&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/EmpireException.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/EmpireException.java
Tue Apr  5 13:36:28 2011
@@ -46,7 +46,7 @@ public final class EmpireException exten
         super(errorObject.getErrorMessage());
         // init
         this.errorType = errorObject.getErrorType();
-        this.errorObject = new ErrorInfoImpl(errorObject);
+        this.errorObject = new DeepCopyErrorInfo(errorObject);
         this.errorObjectClassname = errorObject.getClass().getName();
     }
     
@@ -77,7 +77,7 @@ public final class EmpireException exten
     /**
      * A serializable version of {@link ErrorInfo}.
      */
-    private static class ErrorInfoImpl implements ErrorInfo, Serializable {
+    private static class DeepCopyErrorInfo implements ErrorInfo, Serializable {
         private static final long serialVersionUID = 1L;
         
         private final boolean hasError;
@@ -90,7 +90,7 @@ public final class EmpireException exten
          * Copy ctor.
          * @param errorInfo
          */
-        ErrorInfoImpl(ErrorInfo errorInfo) {
+        DeepCopyErrorInfo(ErrorInfo errorInfo) {
             this.hasError = errorInfo.hasError();
             this.errorType = errorInfo.getErrorType();
             Object[] params = errorInfo.getErrorParams();



Mime
View raw message