CLOUDSTACK-1253: Remove @author tag.

This commit is contained in:
Min Chen 2013-02-15 10:40:39 -08:00
parent b54db07d20
commit 5147fb16ac
19 changed files with 5 additions and 32 deletions

View File

@ -21,7 +21,6 @@ import com.cloud.utils.exception.CloudRuntimeException;
/** /**
* Exception thrown if number of requests is over api rate limit set. * Exception thrown if number of requests is over api rate limit set.
* @author minc
* *
*/ */
public class RequestLimitException extends CloudRuntimeException { public class RequestLimitException extends CloudRuntimeException {

View File

@ -18,7 +18,6 @@ package org.apache.cloudstack.api;
/** /**
* Enum class for various API error code used in CloudStack * Enum class for various API error code used in CloudStack
* @author minc
* *
*/ */
public enum ApiErrorCode { public enum ApiErrorCode {

View File

@ -58,7 +58,6 @@ import com.cloud.exception.PermissionDeniedException;
/** /**
* Service used for list api query. * Service used for list api query.
* @author minc
* *
*/ */
public interface QueryService { public interface QueryService {

View File

@ -22,7 +22,6 @@ import com.cloud.utils.component.PluggableService;
/** /**
* Provide API rate limit service * Provide API rate limit service
* @author minc
* *
*/ */
public interface ApiRateLimitService extends PluggableService{ public interface ApiRateLimitService extends PluggableService{

View File

@ -23,7 +23,6 @@ import net.sf.ehcache.constructs.blocking.LockTimeoutException;
/** /**
* A Limit store implementation using Ehcache. * A Limit store implementation using Ehcache.
* @author minc
* *
*/ */
public class EhcacheLimitStore implements LimitStore { public class EhcacheLimitStore implements LimitStore {

View File

@ -20,7 +20,6 @@ import com.cloud.user.Account;
/** /**
* Interface to define how an api limit store should work. * Interface to define how an api limit store should work.
* @author minc
* *
*/ */
public interface LimitStore { public interface LimitStore {

View File

@ -18,7 +18,6 @@ package org.apache.cloudstack.ratelimit;
/** /**
* Interface for each entry in LimitStore. * Interface for each entry in LimitStore.
* @author minc
* *
*/ */
public interface StoreEntry { public interface StoreEntry {

View File

@ -20,7 +20,6 @@ import java.util.concurrent.atomic.AtomicInteger;
/** /**
* Implementation of limit store entry. * Implementation of limit store entry.
* @author minc
* *
*/ */
public class StoreEntryImpl implements StoreEntry { public class StoreEntryImpl implements StoreEntry {

View File

@ -37,8 +37,6 @@ import com.google.gson.Gson;
/** /**
* Base class for API Test * Base class for API Test
* *
* @author Min Chen
*
*/ */
public abstract class APITest { public abstract class APITest {

View File

@ -24,8 +24,6 @@ import com.google.gson.annotations.SerializedName;
/** /**
* Login Response object * Login Response object
* *
* @author Min Chen
*
*/ */
public class LoginResponse extends BaseResponse { public class LoginResponse extends BaseResponse {

View File

@ -34,9 +34,6 @@ import com.cloud.utils.exception.CloudRuntimeException;
/** /**
* Test fixture to do integration rate limit test. * Test fixture to do integration rate limit test.
* Currently we commented out this test suite since it requires a real MS and Db running. * Currently we commented out this test suite since it requires a real MS and Db running.
*
* @author Min Chen
*
*/ */
public class RateLimitIntegrationTest extends APITest { public class RateLimitIntegrationTest extends APITest {

View File

@ -67,7 +67,6 @@ import com.cloud.user.UserContext;
/** /**
* Helper class to generate response from DB view VO objects. * Helper class to generate response from DB view VO objects.
* @author minc
* *
*/ */
public class ViewResponseHelper { public class ViewResponseHelper {

View File

@ -24,7 +24,6 @@ import org.apache.cloudstack.api.InternalIdentity;
/** /**
* This is the interface for all VO classes representing DB views created for previous ControlledEntity. * This is the interface for all VO classes representing DB views created for previous ControlledEntity.
* *
* @author minc
* *
*/ */
public interface ControlledViewEntity extends ControlledEntity, InternalIdentity, Identity { public interface ControlledViewEntity extends ControlledEntity, InternalIdentity, Identity {

View File

@ -39,7 +39,6 @@ import org.apache.cloudstack.api.InternalIdentity;
/** /**
* Host DB view. * Host DB view.
* @author minc
* *
*/ */
@Entity @Entity

View File

@ -34,7 +34,6 @@ import org.apache.cloudstack.api.InternalIdentity;
/** /**
* Storage Pool DB view. * Storage Pool DB view.
* @author minc
* *
*/ */
@Entity @Entity

View File

@ -36,8 +36,6 @@ import com.google.gson.Gson;
/** /**
* Base class for API Test * Base class for API Test
* *
* @author Min Chen
*
*/ */
public abstract class APITest { public abstract class APITest {

View File

@ -33,8 +33,6 @@ import com.cloud.utils.exception.CloudRuntimeException;
* Test fixture to do performance test for list command * Test fixture to do performance test for list command
* Currently we commented out this test suite since it requires a real MS and Db running. * Currently we commented out this test suite since it requires a real MS and Db running.
* *
* @author Min Chen
*
*/ */
public class ListPerfTest extends APITest { public class ListPerfTest extends APITest {

View File

@ -24,8 +24,6 @@ import com.google.gson.annotations.SerializedName;
/** /**
* Login Response object * Login Response object
* *
* @author Min Chen
*
*/ */
public class LoginResponse extends BaseResponse { public class LoginResponse extends BaseResponse {

View File

@ -30,18 +30,16 @@ import com.cloud.utils.component.ComponentContext;
import com.cloud.utils.exception.CloudRuntimeException; import com.cloud.utils.exception.CloudRuntimeException;
/** /**
* A test fixture to test APIs or bugs found for Transaction class. This test fixture will do one time setup before * A test fixture to test APIs or bugs found for Transaction class. This test fixture will do one time setup before
* all its testcases to set up a test db table, and then tear down these test db artifacts after all testcases are run. * all its testcases to set up a test db table, and then tear down these test db artifacts after all testcases are run.
* *
* @author Min Chen
*
*/ */
public class TransactionTest { public class TransactionTest {
@BeforeClass @BeforeClass
public static void oneTimeSetup() { public static void oneTimeSetup() {
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
try { try {
conn = Transaction.getStandaloneConnection(); conn = Transaction.getStandaloneConnection();
@ -75,7 +73,7 @@ public class TransactionTest {
* When a transaction is set to use user-managed db connection, for each following db statement, we should see * When a transaction is set to use user-managed db connection, for each following db statement, we should see
* that the same db connection is reused rather than acquiring a new one each time in typical transaction model. * that the same db connection is reused rather than acquiring a new one each time in typical transaction model.
*/ */
public void testUserManagedConnection() { public void testUserManagedConnection() {
DbTestDao testDao = ComponentContext.inject(DbTestDao.class); DbTestDao testDao = ComponentContext.inject(DbTestDao.class);
Transaction txn = Transaction.open("SingleConnectionThread"); Transaction txn = Transaction.open("SingleConnectionThread");
Connection conn = null; Connection conn = null;
@ -97,7 +95,7 @@ public class TransactionTest {
} catch (SQLException e) { } catch (SQLException e) {
Assert.fail(e.getMessage()); Assert.fail(e.getMessage());
} finally { } finally {
txn.transitToAutoManagedConnection(Transaction.CLOUD_DB); txn.transitToAutoManagedConnection(Transaction.CLOUD_DB);
txn.close(); txn.close();
if (conn != null) { if (conn != null) {