Skip to content

Commit 8ea40b2

Browse files
author
huzhenyuan
committed
clean code
1 parent 1af6c16 commit 8ea40b2

11 files changed

Lines changed: 0 additions & 288 deletions

File tree

‎src/main/java/org/tron/common/runtime/DepositController.java‎

Lines changed: 0 additions & 167 deletions
This file was deleted.

‎src/main/java/org/tron/common/runtime/Runtime.java‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@
5959
import org.tron.protos.Protocol.Transaction;
6060
import org.tron.protos.Protocol.Transaction.Contract.ContractType;
6161

62-
63-
/**
64-
* @author Guo Yonggang
65-
* @since 28.04.2018
66-
*/
6762
@Slf4j(topic = "Runtime")
6863
public class Runtime {
6964

‎src/main/java/org/tron/common/runtime/utils/MUtil.java‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
import org.tron.core.actuator.TransferActuator;
99
import org.tron.core.exception.ContractValidateException;
1010

11-
12-
/**
13-
* @author Guo Yonggang
14-
* @since 02.05.2018
15-
*/
1611
public class MUtil {
1712

1813
public static void transfer(Deposit deposit, byte[] fromAddress, byte[] toAddress, long amount)

‎src/main/java/org/tron/common/runtime/vm/GasCost.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ public class GasCost {
6262
private final int EXT_CODE_COPY = 20;
6363
private final int NEW_ACCT_SUICIDE = 0;
6464

65-
// add by Guo Yonggang
6665
// private final int CREATE_DATA = 600;
6766

6867
public int getSTEP() {

‎src/main/java/org/tron/common/storage/Deposit.java‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
import org.tron.core.db.Manager;
1111
import org.tron.protos.Protocol;
1212

13-
/**
14-
* @author Guo Yonggang
15-
* @since 2018.04
16-
*/
1713
public interface Deposit {
1814

1915
Manager getDbManager();

‎src/main/java/org/tron/common/storage/DepositImpl.java‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
import org.tron.protos.Protocol;
2929
import org.tron.protos.Protocol.AccountType;
3030

31-
/**
32-
* @author Guo Yonggang
33-
* @since 27.04.2018
34-
*/
3531
public class DepositImpl implements Deposit {
3632

3733
private Manager dbManager;

‎src/main/java/org/tron/common/storage/DepositQueue.java‎

Lines changed: 0 additions & 87 deletions
This file was deleted.

‎src/main/java/org/tron/common/storage/Key.java‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
import java.util.Arrays;
66

7-
/**
8-
* @author Guo Yongang
9-
* @since 27.04.2018
10-
*/
117
public class Key {
128

139
private static int MAX_KEY_LENGTH = 32;

‎src/main/java/org/tron/common/storage/Type.java‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
package org.tron.common.storage;
22

3-
/**
4-
* @author Guo Yonggang
5-
* @since 27.04.2018
6-
*/
73
public class Type {
84
/**
95
* Default Mode : VALUE_TYPE_NORMAL

‎src/main/java/org/tron/common/storage/Value.java‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
import org.tron.core.capsule.WitnessCapsule;
1414
import org.tron.core.exception.BadItemException;
1515

16-
/**
17-
* @author Guo Yonggang
18-
* @since 27.04.2018
19-
*/
2016
public class Value {
2117

2218
private Type type;

0 commit comments

Comments
 (0)