accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1189806 [20/46] - in /incubator/accumulo: branches/1.3/contrib/ branches/1.3/src/core/src/main/java/org/apache/accumulo/core/client/ branches/1.3/src/core/src/main/java/org/apache/accumulo/core/client/admin/ branches/1.3/src/core/src/main/...
Date Thu, 27 Oct 2011 15:25:17 GMT
Modified: incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NoSuchLogIDException.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NoSuchLogIDException.java?rev=1189806&r1=1189805&r2=1189806&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NoSuchLogIDException.java
(original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NoSuchLogIDException.java
Thu Oct 27 15:24:51 2011
@@ -5,164 +5,158 @@
  */
 package org.apache.accumulo.core.tabletserver.thrift;
 
-
-
 import org.apache.thrift.*;
 import org.apache.thrift.meta_data.*;
 import org.apache.thrift.protocol.*;
 
 @SuppressWarnings("serial")
-public class NoSuchLogIDException extends Exception implements TBase<NoSuchLogIDException,
NoSuchLogIDException._Fields>, java.io.Serializable, Cloneable {
+public class NoSuchLogIDException extends Exception implements TBase<NoSuchLogIDException,NoSuchLogIDException._Fields>,
java.io.Serializable, Cloneable {
   private static final TStruct STRUCT_DESC = new TStruct("NoSuchLogIDException");
-
-
-
+  
   /** The set of fields this struct contains, along with convenience methods for finding
and manipulating them. */
   public enum _Fields implements TFieldIdEnum {
-;
-
-    private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String,
_Fields>();
-
+    ;
+    
+    private static final java.util.Map<String,_Fields> byName = new java.util.HashMap<String,_Fields>();
+    
     static {
       for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
         byName.put(field.getFieldName(), field);
       }
     }
-
+    
     /**
      * Find the _Fields constant that matches fieldId, or null if its not found.
      */
     public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
+      switch (fieldId) {
         default:
           return null;
       }
     }
-
+    
     /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
+     * Find the _Fields constant that matches fieldId, throwing an exception if it is not
found.
      */
     public static _Fields findByThriftIdOrThrow(int fieldId) {
       _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't
exist!");
+      if (fields == null)
+        throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
       return fields;
     }
-
+    
     /**
      * Find the _Fields constant that matches name, or null if its not found.
      */
     public static _Fields findByName(String name) {
       return byName.get(name);
     }
-
+    
     private final short _thriftId;
     private final String _fieldName;
-
+    
     _Fields(short thriftId, String fieldName) {
       _thriftId = thriftId;
       _fieldName = fieldName;
     }
-
+    
     public short getThriftFieldId() {
       return _thriftId;
     }
-
+    
     public String getFieldName() {
       return _fieldName;
     }
   }
-  public static final java.util.Map<_Fields, FieldMetaData> metaDataMap;
+  
+  public static final java.util.Map<_Fields,FieldMetaData> metaDataMap;
   static {
-    java.util.Map<_Fields, FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,
FieldMetaData>(_Fields.class);
+    java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.class);
     metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
     FieldMetaData.addStructMetaDataMap(NoSuchLogIDException.class, metaDataMap);
   }
-
-  public NoSuchLogIDException() {
-  }
-
+  
+  public NoSuchLogIDException() {}
+  
   /**
    * Performs a deep copy on <i>other</i>.
    */
-  public NoSuchLogIDException(NoSuchLogIDException other) {
-  }
-
+  public NoSuchLogIDException(NoSuchLogIDException other) {}
+  
   public NoSuchLogIDException deepCopy() {
     return new NoSuchLogIDException(this);
   }
-
+  
   @Deprecated
   public NoSuchLogIDException clone() {
     return new NoSuchLogIDException(this);
   }
-
+  
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
     }
   }
-
+  
   public void setFieldValue(int fieldID, Object value) {
     setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
   }
-
+  
   public Object getFieldValue(_Fields field) {
     switch (field) {
     }
     throw new IllegalStateException();
   }
-
+  
   public Object getFieldValue(int fieldId) {
     return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
   }
-
+  
   /** Returns true if field corresponding to fieldID is set (has been asigned a value) and
false otherwise */
   public boolean isSet(_Fields field) {
     switch (field) {
     }
     throw new IllegalStateException();
   }
-
+  
   public boolean isSet(int fieldID) {
     return isSet(_Fields.findByThriftIdOrThrow(fieldID));
   }
-
+  
   @Override
   public boolean equals(Object that) {
     if (that == null)
       return false;
     if (that instanceof NoSuchLogIDException)
-      return this.equals((NoSuchLogIDException)that);
+      return this.equals((NoSuchLogIDException) that);
     return false;
   }
-
+  
   public boolean equals(NoSuchLogIDException that) {
     if (that == null)
       return false;
-
+    
     return true;
   }
-
+  
   @Override
   public int hashCode() {
     return 0;
   }
-
+  
   public int compareTo(NoSuchLogIDException other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
-
+    
     return 0;
   }
-
+  
   public void read(TProtocol iprot) throws TException {
     TField field;
     iprot.readStructBegin();
-    while (true)
-    {
+    while (true) {
       field = iprot.readFieldBegin();
-      if (field.type == TType.STOP) { 
+      if (field.type == TType.STOP) {
         break;
       }
       switch (field.id) {
@@ -172,29 +166,28 @@ public class NoSuchLogIDException extend
       iprot.readFieldEnd();
     }
     iprot.readStructEnd();
-
+    
     // check for required fields of primitive type, which can't be checked in the validate
method
     validate();
   }
-
+  
   public void write(TProtocol oprot) throws TException {
     validate();
-
+    
     oprot.writeStructBegin(STRUCT_DESC);
     oprot.writeFieldStop();
     oprot.writeStructEnd();
   }
-
+  
   @Override
   public String toString() {
     StringBuilder sb = new StringBuilder("NoSuchLogIDException(");
     sb.append(")");
     return sb.toString();
   }
-
+  
   public void validate() throws TException {
     // check for required fields
   }
-
+  
 }
-

Modified: incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java?rev=1189806&r1=1189805&r2=1189806&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java
(original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java
Thu Oct 27 15:24:51 2011
@@ -5,164 +5,158 @@
  */
 package org.apache.accumulo.core.tabletserver.thrift;
 
-
-
 import org.apache.thrift.*;
 import org.apache.thrift.meta_data.*;
 import org.apache.thrift.protocol.*;
 
 @SuppressWarnings("serial")
-public class NoSuchScanIDException extends Exception implements TBase<NoSuchScanIDException,
NoSuchScanIDException._Fields>, java.io.Serializable, Cloneable {
+public class NoSuchScanIDException extends Exception implements TBase<NoSuchScanIDException,NoSuchScanIDException._Fields>,
java.io.Serializable, Cloneable {
   private static final TStruct STRUCT_DESC = new TStruct("NoSuchScanIDException");
-
-
-
+  
   /** The set of fields this struct contains, along with convenience methods for finding
and manipulating them. */
   public enum _Fields implements TFieldIdEnum {
-;
-
-    private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String,
_Fields>();
-
+    ;
+    
+    private static final java.util.Map<String,_Fields> byName = new java.util.HashMap<String,_Fields>();
+    
     static {
       for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
         byName.put(field.getFieldName(), field);
       }
     }
-
+    
     /**
      * Find the _Fields constant that matches fieldId, or null if its not found.
      */
     public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
+      switch (fieldId) {
         default:
           return null;
       }
     }
-
+    
     /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
+     * Find the _Fields constant that matches fieldId, throwing an exception if it is not
found.
      */
     public static _Fields findByThriftIdOrThrow(int fieldId) {
       _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't
exist!");
+      if (fields == null)
+        throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
       return fields;
     }
-
+    
     /**
      * Find the _Fields constant that matches name, or null if its not found.
      */
     public static _Fields findByName(String name) {
       return byName.get(name);
     }
-
+    
     private final short _thriftId;
     private final String _fieldName;
-
+    
     _Fields(short thriftId, String fieldName) {
       _thriftId = thriftId;
       _fieldName = fieldName;
     }
-
+    
     public short getThriftFieldId() {
       return _thriftId;
     }
-
+    
     public String getFieldName() {
       return _fieldName;
     }
   }
-  public static final java.util.Map<_Fields, FieldMetaData> metaDataMap;
+  
+  public static final java.util.Map<_Fields,FieldMetaData> metaDataMap;
   static {
-    java.util.Map<_Fields, FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,
FieldMetaData>(_Fields.class);
+    java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.class);
     metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
     FieldMetaData.addStructMetaDataMap(NoSuchScanIDException.class, metaDataMap);
   }
-
-  public NoSuchScanIDException() {
-  }
-
+  
+  public NoSuchScanIDException() {}
+  
   /**
    * Performs a deep copy on <i>other</i>.
    */
-  public NoSuchScanIDException(NoSuchScanIDException other) {
-  }
-
+  public NoSuchScanIDException(NoSuchScanIDException other) {}
+  
   public NoSuchScanIDException deepCopy() {
     return new NoSuchScanIDException(this);
   }
-
+  
   @Deprecated
   public NoSuchScanIDException clone() {
     return new NoSuchScanIDException(this);
   }
-
+  
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
     }
   }
-
+  
   public void setFieldValue(int fieldID, Object value) {
     setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
   }
-
+  
   public Object getFieldValue(_Fields field) {
     switch (field) {
     }
     throw new IllegalStateException();
   }
-
+  
   public Object getFieldValue(int fieldId) {
     return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
   }
-
+  
   /** Returns true if field corresponding to fieldID is set (has been asigned a value) and
false otherwise */
   public boolean isSet(_Fields field) {
     switch (field) {
     }
     throw new IllegalStateException();
   }
-
+  
   public boolean isSet(int fieldID) {
     return isSet(_Fields.findByThriftIdOrThrow(fieldID));
   }
-
+  
   @Override
   public boolean equals(Object that) {
     if (that == null)
       return false;
     if (that instanceof NoSuchScanIDException)
-      return this.equals((NoSuchScanIDException)that);
+      return this.equals((NoSuchScanIDException) that);
     return false;
   }
-
+  
   public boolean equals(NoSuchScanIDException that) {
     if (that == null)
       return false;
-
+    
     return true;
   }
-
+  
   @Override
   public int hashCode() {
     return 0;
   }
-
+  
   public int compareTo(NoSuchScanIDException other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
-
+    
     return 0;
   }
-
+  
   public void read(TProtocol iprot) throws TException {
     TField field;
     iprot.readStructBegin();
-    while (true)
-    {
+    while (true) {
       field = iprot.readFieldBegin();
-      if (field.type == TType.STOP) { 
+      if (field.type == TType.STOP) {
         break;
       }
       switch (field.id) {
@@ -172,29 +166,28 @@ public class NoSuchScanIDException exten
       iprot.readFieldEnd();
     }
     iprot.readStructEnd();
-
+    
     // check for required fields of primitive type, which can't be checked in the validate
method
     validate();
   }
-
+  
   public void write(TProtocol oprot) throws TException {
     validate();
-
+    
     oprot.writeStructBegin(STRUCT_DESC);
     oprot.writeFieldStop();
     oprot.writeStructEnd();
   }
-
+  
   @Override
   public String toString() {
     StringBuilder sb = new StringBuilder("NoSuchScanIDException(");
     sb.append(")");
     return sb.toString();
   }
-
+  
   public void validate() throws TException {
     // check for required fields
   }
-
+  
 }
-

Modified: incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java?rev=1189806&r1=1189805&r2=1189806&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java
(original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java
Thu Oct 27 15:24:51 2011
@@ -5,99 +5,95 @@
  */
 package org.apache.accumulo.core.tabletserver.thrift;
 
-
-
 import org.apache.thrift.*;
 import org.apache.thrift.meta_data.*;
 import org.apache.thrift.protocol.*;
 
 @SuppressWarnings("serial")
-public class NotServingTabletException extends Exception implements TBase<NotServingTabletException,
NotServingTabletException._Fields>, java.io.Serializable, Cloneable {
+public class NotServingTabletException extends Exception implements TBase<NotServingTabletException,NotServingTabletException._Fields>,
java.io.Serializable,
+    Cloneable {
   private static final TStruct STRUCT_DESC = new TStruct("NotServingTabletException");
-
-  private static final TField EXTENT_FIELD_DESC = new TField("extent", TType.STRUCT, (short)1);
-
+  
+  private static final TField EXTENT_FIELD_DESC = new TField("extent", TType.STRUCT, (short)
1);
+  
   public org.apache.accumulo.core.data.thrift.TKeyExtent extent;
-
+  
   /** The set of fields this struct contains, along with convenience methods for finding
and manipulating them. */
   public enum _Fields implements TFieldIdEnum {
-    EXTENT((short)1, "extent");
-
-    private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String,
_Fields>();
-
+    EXTENT((short) 1, "extent");
+    
+    private static final java.util.Map<String,_Fields> byName = new java.util.HashMap<String,_Fields>();
+    
     static {
       for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
         byName.put(field.getFieldName(), field);
       }
     }
-
+    
     /**
      * Find the _Fields constant that matches fieldId, or null if its not found.
      */
     public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
+      switch (fieldId) {
         case 1: // EXTENT
           return EXTENT;
         default:
           return null;
       }
     }
-
+    
     /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
+     * Find the _Fields constant that matches fieldId, throwing an exception if it is not
found.
      */
     public static _Fields findByThriftIdOrThrow(int fieldId) {
       _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't
exist!");
+      if (fields == null)
+        throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
       return fields;
     }
-
+    
     /**
      * Find the _Fields constant that matches name, or null if its not found.
      */
     public static _Fields findByName(String name) {
       return byName.get(name);
     }
-
+    
     private final short _thriftId;
     private final String _fieldName;
-
+    
     _Fields(short thriftId, String fieldName) {
       _thriftId = thriftId;
       _fieldName = fieldName;
     }
-
+    
     public short getThriftFieldId() {
       return _thriftId;
     }
-
+    
     public String getFieldName() {
       return _fieldName;
     }
   }
-
+  
   // isset id assignments
-
-  public static final java.util.Map<_Fields, FieldMetaData> metaDataMap;
+  
+  public static final java.util.Map<_Fields,FieldMetaData> metaDataMap;
   static {
-    java.util.Map<_Fields, FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,
FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.EXTENT, new FieldMetaData("extent", TFieldRequirementType.DEFAULT,

-        new StructMetaData(TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
+    java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.EXTENT, new FieldMetaData("extent", TFieldRequirementType.DEFAULT,
new StructMetaData(TType.STRUCT,
+        org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
     metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
     FieldMetaData.addStructMetaDataMap(NotServingTabletException.class, metaDataMap);
   }
-
-  public NotServingTabletException() {
-  }
-
-  public NotServingTabletException(
-    org.apache.accumulo.core.data.thrift.TKeyExtent extent)
-  {
+  
+  public NotServingTabletException() {}
+  
+  public NotServingTabletException(org.apache.accumulo.core.data.thrift.TKeyExtent extent)
{
     this();
     this.extent = extent;
   }
-
+  
   /**
    * Performs a deep copy on <i>other</i>.
    */
@@ -106,96 +102,96 @@ public class NotServingTabletException e
       this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent);
     }
   }
-
+  
   public NotServingTabletException deepCopy() {
     return new NotServingTabletException(this);
   }
-
+  
   @Deprecated
   public NotServingTabletException clone() {
     return new NotServingTabletException(this);
   }
-
+  
   public org.apache.accumulo.core.data.thrift.TKeyExtent getExtent() {
     return this.extent;
   }
-
+  
   public NotServingTabletException setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent
extent) {
     this.extent = extent;
     return this;
   }
-
+  
   public void unsetExtent() {
     this.extent = null;
   }
-
+  
   /** Returns true if field extent is set (has been asigned a value) and false otherwise
*/
   public boolean isSetExtent() {
     return this.extent != null;
   }
-
+  
   public void setExtentIsSet(boolean value) {
     if (!value) {
       this.extent = null;
     }
   }
-
+  
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
-    case EXTENT:
-      if (value == null) {
-        unsetExtent();
-      } else {
-        setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
-      }
-      break;
-
+      case EXTENT:
+        if (value == null) {
+          unsetExtent();
+        } else {
+          setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent) value);
+        }
+        break;
+    
     }
   }
-
+  
   public void setFieldValue(int fieldID, Object value) {
     setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
   }
-
+  
   public Object getFieldValue(_Fields field) {
     switch (field) {
-    case EXTENT:
-      return getExtent();
-
+      case EXTENT:
+        return getExtent();
+        
     }
     throw new IllegalStateException();
   }
-
+  
   public Object getFieldValue(int fieldId) {
     return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
   }
-
+  
   /** Returns true if field corresponding to fieldID is set (has been asigned a value) and
false otherwise */
   public boolean isSet(_Fields field) {
     switch (field) {
-    case EXTENT:
-      return isSetExtent();
+      case EXTENT:
+        return isSetExtent();
     }
     throw new IllegalStateException();
   }
-
+  
   public boolean isSet(int fieldID) {
     return isSet(_Fields.findByThriftIdOrThrow(fieldID));
   }
-
+  
   @Override
   public boolean equals(Object that) {
     if (that == null)
       return false;
     if (that instanceof NotServingTabletException)
-      return this.equals((NotServingTabletException)that);
+      return this.equals((NotServingTabletException) that);
     return false;
   }
-
+  
   public boolean equals(NotServingTabletException that) {
     if (that == null)
       return false;
-
+    
     boolean this_present_extent = true && this.isSetExtent();
     boolean that_present_extent = true && that.isSetExtent();
     if (this_present_extent || that_present_extent) {
@@ -204,42 +200,42 @@ public class NotServingTabletException e
       if (!this.extent.equals(that.extent))
         return false;
     }
-
+    
     return true;
   }
-
+  
   @Override
   public int hashCode() {
     return 0;
   }
-
+  
   public int compareTo(NotServingTabletException other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
-
+    
     int lastComparison = 0;
-    NotServingTabletException typedOther = (NotServingTabletException)other;
-
+    NotServingTabletException typedOther = (NotServingTabletException) other;
+    
     lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent());
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetExtent()) {      lastComparison = TBaseHelper.compareTo(this.extent, typedOther.extent);
+    if (isSetExtent()) {
+      lastComparison = TBaseHelper.compareTo(this.extent, typedOther.extent);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
     return 0;
   }
-
+  
   public void read(TProtocol iprot) throws TException {
     TField field;
     iprot.readStructBegin();
-    while (true)
-    {
+    while (true) {
       field = iprot.readFieldBegin();
-      if (field.type == TType.STOP) { 
+      if (field.type == TType.STOP) {
         break;
       }
       switch (field.id) {
@@ -247,7 +243,7 @@ public class NotServingTabletException e
           if (field.type == TType.STRUCT) {
             this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
             this.extent.read(iprot);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -257,14 +253,14 @@ public class NotServingTabletException e
       iprot.readFieldEnd();
     }
     iprot.readStructEnd();
-
+    
     // check for required fields of primitive type, which can't be checked in the validate
method
     validate();
   }
-
+  
   public void write(TProtocol oprot) throws TException {
     validate();
-
+    
     oprot.writeStructBegin(STRUCT_DESC);
     if (this.extent != null) {
       oprot.writeFieldBegin(EXTENT_FIELD_DESC);
@@ -274,7 +270,7 @@ public class NotServingTabletException e
     oprot.writeFieldStop();
     oprot.writeStructEnd();
   }
-
+  
   @Override
   public String toString() {
     StringBuilder sb = new StringBuilder("NotServingTabletException(");
@@ -287,10 +283,9 @@ public class NotServingTabletException e
     sb.append(")");
     return sb.toString();
   }
-
+  
   public void validate() throws TException {
     // check for required fields
   }
-
+  
 }
-

Modified: incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ScanState.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ScanState.java?rev=1189806&r1=1189805&r2=1189806&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ScanState.java
(original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ScanState.java
Thu Oct 27 15:24:51 2011
@@ -5,31 +5,30 @@
  */
 package org.apache.accumulo.core.tabletserver.thrift;
 
-
 import org.apache.thrift.TEnum;
 
 public enum ScanState implements TEnum {
-  IDLE(0),
-  RUNNING(1);
-
+  IDLE(0), RUNNING(1);
+  
   private final int value;
-
+  
   private ScanState(int value) {
     this.value = value;
   }
-
+  
   /**
    * Get the integer value of this enum value, as defined in the Thrift IDL.
    */
   public int getValue() {
     return value;
   }
-
+  
   /**
    * Find a the enum type by its integer value, as defined in the Thrift IDL.
+   * 
    * @return null if the value is not found.
    */
-  public static ScanState findByValue(int value) { 
+  public static ScanState findByValue(int value) {
     switch (value) {
       case 0:
         return IDLE;

Modified: incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ScanType.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ScanType.java?rev=1189806&r1=1189805&r2=1189806&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ScanType.java
(original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ScanType.java
Thu Oct 27 15:24:51 2011
@@ -5,31 +5,30 @@
  */
 package org.apache.accumulo.core.tabletserver.thrift;
 
-
 import org.apache.thrift.TEnum;
 
 public enum ScanType implements TEnum {
-  SINGLE(0),
-  BATCH(1);
-
+  SINGLE(0), BATCH(1);
+  
   private final int value;
-
+  
   private ScanType(int value) {
     this.value = value;
   }
-
+  
   /**
    * Get the integer value of this enum value, as defined in the Thrift IDL.
    */
   public int getValue() {
     return value;
   }
-
+  
   /**
    * Find a the enum type by its integer value, as defined in the Thrift IDL.
+   * 
    * @return null if the value is not found.
    */
-  public static ScanType findByValue(int value) { 
+  public static ScanType findByValue(int value) {
     switch (value) {
       case 0:
         return SINGLE;



Mime
View raw message