Skip to content

Commit 75135ef

Browse files
committed
Fix typo
1 parent a70034d commit 75135ef

File tree

9 files changed

+35
-35
lines changed

9 files changed

+35
-35
lines changed

core/src/main/java/com/scalar/db/api/DistributedTransaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public interface DistributedTransaction extends TransactionCrudOperable {
7373
* (e.g., a conflict error). You can retry the transaction from the beginning
7474
* @throws CommitException if the transaction fails to commit due to transient or nontransient
7575
* faults. You can try retrying the transaction from the beginning, but the transaction may
76-
* still fail if the cause is nontranient
76+
* still fail if the cause is nontransient
7777
* @throws UnknownTransactionStatusException if the status of the commit is unknown
7878
*/
7979
void commit() throws CommitConflictException, CommitException, UnknownTransactionStatusException;

core/src/main/java/com/scalar/db/api/TransactionCrudOperable.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> {
1616
* (e.g., a conflict error). You can retry the transaction from the beginning
1717
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
1818
* faults. You can try retrying the transaction from the beginning, but the transaction may
19-
* still fail if the cause is nontranient
19+
* still fail if the cause is nontransient
2020
*/
2121
@Override
2222
Optional<Result> get(Get get) throws CrudConflictException, CrudException;
@@ -28,7 +28,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> {
2828
* (e.g., a conflict error). You can retry the transaction from the beginning
2929
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
3030
* faults. You can try retrying the transaction from the beginning, but the transaction may
31-
* still fail if the cause is nontranient
31+
* still fail if the cause is nontransient
3232
*/
3333
@Override
3434
List<Result> scan(Scan scan) throws CrudConflictException, CrudException;
@@ -40,7 +40,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> {
4040
* (e.g., a conflict error). You can retry the transaction from the beginning
4141
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
4242
* faults. You can try retrying the transaction from the beginning, but the transaction may
43-
* still fail if the cause is nontranient
43+
* still fail if the cause is nontransient
4444
*/
4545
@Override
4646
Scanner getScanner(Scan scan) throws CrudConflictException, CrudException;
@@ -52,7 +52,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> {
5252
* (e.g., a conflict error). You can retry the transaction from the beginning
5353
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
5454
* faults. You can try retrying the transaction from the beginning, but the transaction may
55-
* still fail if the cause is nontranient
55+
* still fail if the cause is nontransient
5656
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
5757
* satisfied or the entry does not exist
5858
* @deprecated As of release 3.13.0. Will be removed in release 5.0.0.
@@ -68,7 +68,7 @@ public interface TransactionCrudOperable extends CrudOperable<CrudException> {
6868
* (e.g., a conflict error). You can retry the transaction from the beginning
6969
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
7070
* faults. You can try retrying the transaction from the beginning, but the transaction may
71-
* still fail if the cause is nontranient
71+
* still fail if the cause is nontransient
7272
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
7373
* satisfied or the entry does not exist
7474
* @deprecated As of release 3.13.0. Will be removed in release 5.0.0. Use {@link #mutate(List)}
@@ -86,7 +86,7 @@ void put(List<Put> puts)
8686
* (e.g., a conflict error). You can retry the transaction from the beginning
8787
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
8888
* faults. You can try retrying the transaction from the beginning, but the transaction may
89-
* still fail if the cause is nontranient
89+
* still fail if the cause is nontransient
9090
*/
9191
@Override
9292
void insert(Insert insert) throws CrudConflictException, CrudException;
@@ -98,7 +98,7 @@ void put(List<Put> puts)
9898
* (e.g., a conflict error). You can retry the transaction from the beginning
9999
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
100100
* faults. You can try retrying the transaction from the beginning, but the transaction may
101-
* still fail if the cause is nontranient
101+
* still fail if the cause is nontransient
102102
*/
103103
@Override
104104
void upsert(Upsert upsert) throws CrudConflictException, CrudException;
@@ -110,7 +110,7 @@ void put(List<Put> puts)
110110
* (e.g., a conflict error). You can retry the transaction from the beginning
111111
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
112112
* faults. You can try retrying the transaction from the beginning, but the transaction may
113-
* still fail if the cause is nontranient
113+
* still fail if the cause is nontransient
114114
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
115115
* satisfied or the entry does not exist
116116
*/
@@ -125,7 +125,7 @@ void update(Update update)
125125
* (e.g., a conflict error). You can retry the transaction from the beginning
126126
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
127127
* faults. You can try retrying the transaction from the beginning, but the transaction may
128-
* still fail if the cause is nontranient
128+
* still fail if the cause is nontransient
129129
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
130130
* satisfied or the entry does not exist
131131
*/
@@ -140,7 +140,7 @@ void delete(Delete delete)
140140
* (e.g., a conflict error). You can retry the transaction from the beginning
141141
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
142142
* faults. You can try retrying the transaction from the beginning, but the transaction may
143-
* still fail if the cause is nontranient
143+
* still fail if the cause is nontransient
144144
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
145145
* satisfied or the entry does not exist
146146
* @deprecated As of release 3.13.0. Will be removed in release 5.0.0. Use {@link #mutate(List)}
@@ -158,7 +158,7 @@ void delete(List<Delete> deletes)
158158
* (e.g., a conflict error). You can retry the transaction from the beginning
159159
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
160160
* faults. You can try retrying the transaction from the beginning, but the transaction may
161-
* still fail if the cause is nontranient
161+
* still fail if the cause is nontransient
162162
* @throws UnsatisfiedConditionException if a condition is specified in a {@link Put}, {@link
163163
* Delete}, or {@link Update} command, and if the condition is not satisfied or the entry does
164164
* not exist
@@ -175,7 +175,7 @@ interface Scanner extends CrudOperable.Scanner<CrudException> {
175175
* (e.g., a conflict error). You can retry the transaction from the beginning
176176
* @throws CrudException if the transaction CRUD operation fails due to transient or
177177
* nontransient faults. You can try retrying the transaction from the beginning, but the
178-
* transaction may still fail if the cause is nontranient
178+
* transaction may still fail if the cause is nontransient
179179
*/
180180
@Override
181181
Optional<Result> one() throws CrudConflictException, CrudException;
@@ -187,7 +187,7 @@ interface Scanner extends CrudOperable.Scanner<CrudException> {
187187
* (e.g., a conflict error). You can retry the transaction from the beginning
188188
* @throws CrudException if the transaction CRUD operation fails due to transient or
189189
* nontransient faults. You can try retrying the transaction from the beginning, but the
190-
* transaction may still fail if the cause is nontranient
190+
* transaction may still fail if the cause is nontransient
191191
*/
192192
@Override
193193
List<Result> all() throws CrudConflictException, CrudException;

core/src/main/java/com/scalar/db/api/TransactionManagerCrudOperable.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public interface TransactionManagerCrudOperable extends CrudOperable<Transaction
1818
* (e.g., a conflict error). You can retry the transaction from the beginning
1919
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
2020
* faults. You can try retrying the transaction from the beginning, but the transaction may
21-
* still fail if the cause is nontranient
21+
* still fail if the cause is nontransient
2222
* @throws UnknownTransactionStatusException if the status of the commit is unknown
2323
*/
2424
@Override
@@ -32,7 +32,7 @@ Optional<Result> get(Get get)
3232
* (e.g., a conflict error). You can retry the transaction from the beginning
3333
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
3434
* faults. You can try retrying the transaction from the beginning, but the transaction may
35-
* still fail if the cause is nontranient
35+
* still fail if the cause is nontransient
3636
* @throws UnknownTransactionStatusException if the status of the commit is unknown
3737
*/
3838
@Override
@@ -46,7 +46,7 @@ List<Result> scan(Scan scan)
4646
* (e.g., a conflict error). You can retry the transaction from the beginning
4747
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
4848
* faults. You can try retrying the transaction from the beginning, but the transaction may
49-
* still fail if the cause is nontranient
49+
* still fail if the cause is nontransient
5050
*/
5151
@Override
5252
Scanner getScanner(Scan scan) throws CrudConflictException, CrudException;
@@ -58,7 +58,7 @@ List<Result> scan(Scan scan)
5858
* (e.g., a conflict error). You can retry the transaction from the beginning
5959
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
6060
* faults. You can try retrying the transaction from the beginning, but the transaction may
61-
* still fail if the cause is nontranient
61+
* still fail if the cause is nontransient
6262
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
6363
* satisfied or the entry does not exist
6464
* @throws UnknownTransactionStatusException if the status of the commit is unknown
@@ -77,7 +77,7 @@ void put(Put put)
7777
* (e.g., a conflict error). You can retry the transaction from the beginning
7878
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
7979
* faults. You can try retrying the transaction from the beginning, but the transaction may
80-
* still fail if the cause is nontranient
80+
* still fail if the cause is nontransient
8181
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
8282
* satisfied or the entry does not exist
8383
* @throws UnknownTransactionStatusException if the status of the commit is unknown
@@ -97,7 +97,7 @@ void put(List<Put> puts)
9797
* (e.g., a conflict error). You can retry the transaction from the beginning
9898
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
9999
* faults. You can try retrying the transaction from the beginning, but the transaction may
100-
* still fail if the cause is nontranient
100+
* still fail if the cause is nontransient
101101
* @throws UnknownTransactionStatusException if the status of the commit is unknown
102102
*/
103103
@Override
@@ -111,7 +111,7 @@ void insert(Insert insert)
111111
* (e.g., a conflict error). You can retry the transaction from the beginning
112112
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
113113
* faults. You can try retrying the transaction from the beginning, but the transaction may
114-
* still fail if the cause is nontranient
114+
* still fail if the cause is nontransient
115115
* @throws UnknownTransactionStatusException if the status of the commit is unknown
116116
*/
117117
@Override
@@ -125,7 +125,7 @@ void upsert(Upsert upsert)
125125
* (e.g., a conflict error). You can retry the transaction from the beginning
126126
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
127127
* faults. You can try retrying the transaction from the beginning, but the transaction may
128-
* still fail if the cause is nontranient
128+
* still fail if the cause is nontransient
129129
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
130130
* satisfied or the entry does not exist
131131
* @throws UnknownTransactionStatusException if the status of the commit is unknown
@@ -142,7 +142,7 @@ void update(Update update)
142142
* (e.g., a conflict error). You can retry the transaction from the beginning
143143
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
144144
* faults. You can try retrying the transaction from the beginning, but the transaction may
145-
* still fail if the cause is nontranient
145+
* still fail if the cause is nontransient
146146
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
147147
* satisfied or the entry does not exist
148148
* @throws UnknownTransactionStatusException if the status of the commit is unknown
@@ -159,7 +159,7 @@ void delete(Delete delete)
159159
* (e.g., a conflict error). You can retry the transaction from the beginning
160160
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
161161
* faults. You can try retrying the transaction from the beginning, but the transaction may
162-
* still fail if the cause is nontranient
162+
* still fail if the cause is nontransient
163163
* @throws UnsatisfiedConditionException if a condition is specified, and if the condition is not
164164
* satisfied or the entry does not exist
165165
* @throws UnknownTransactionStatusException if the status of the commit is unknown
@@ -179,7 +179,7 @@ void delete(List<Delete> deletes)
179179
* (e.g., a conflict error). You can retry the transaction from the beginning
180180
* @throws CrudException if the transaction CRUD operation fails due to transient or nontransient
181181
* faults. You can try retrying the transaction from the beginning, but the transaction may
182-
* still fail if the cause is nontranient
182+
* still fail if the cause is nontransient
183183
* @throws UnsatisfiedConditionException if a condition is specified in a {@link Put}, {@link
184184
* Delete}, or {@link Update} command, and if the condition is not satisfied or the entry does
185185
* not exist
@@ -198,7 +198,7 @@ interface Scanner extends CrudOperable.Scanner<TransactionException> {
198198
* (e.g., a conflict error). You can retry the transaction from the beginning
199199
* @throws CrudException if the transaction CRUD operation fails due to transient or
200200
* nontransient faults. You can try retrying the transaction from the beginning, but the
201-
* transaction may still fail if the cause is nontranient
201+
* transaction may still fail if the cause is nontransient
202202
*/
203203
@Override
204204
Optional<Result> one() throws CrudConflictException, CrudException;
@@ -210,7 +210,7 @@ interface Scanner extends CrudOperable.Scanner<TransactionException> {
210210
* (e.g., a conflict error). You can retry the transaction from the beginning
211211
* @throws CrudException if the transaction CRUD operation fails due to transient or
212212
* nontransient faults. You can try retrying the transaction from the beginning, but the
213-
* transaction may still fail if the cause is nontranient
213+
* transaction may still fail if the cause is nontransient
214214
*/
215215
@Override
216216
List<Result> all() throws CrudConflictException, CrudException;

core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransaction.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public interface TwoPhaseCommitTransaction extends TransactionCrudOperable {
7777
* faults (e.g., a conflict error). You can retry the transaction from the beginning
7878
* @throws PreparationException if the transaction fails to prepare due to transient or
7979
* nontransient faults. You can try retrying the transaction from the beginning, but the
80-
* transaction may still fail if the cause is nontranient
80+
* transaction may still fail if the cause is nontransient
8181
*/
8282
void prepare() throws PreparationConflictException, PreparationException;
8383

@@ -89,7 +89,7 @@ public interface TwoPhaseCommitTransaction extends TransactionCrudOperable {
8989
* faults (e.g., a conflict error). You can retry the transaction from the beginning
9090
* @throws ValidationException if the transaction fails to validate due to transient or
9191
* nontransient faults. You can try retrying the transaction from the beginning, but the
92-
* transaction may still fail if the cause is nontranient
92+
* transaction may still fail if the cause is nontransient
9393
*/
9494
void validate() throws ValidationConflictException, ValidationException;
9595

@@ -100,7 +100,7 @@ public interface TwoPhaseCommitTransaction extends TransactionCrudOperable {
100100
* (e.g., a conflict error). You can retry the transaction from the beginning
101101
* @throws CommitException if the transaction fails to commit due to transient or nontransient
102102
* faults. You can try retrying the transaction from the beginning, but the transaction may
103-
* still fail if the cause is nontranient
103+
* still fail if the cause is nontransient
104104
* @throws UnknownTransactionStatusException if the status of the commit is unknown
105105
*/
106106
void commit() throws CommitConflictException, CommitException, UnknownTransactionStatusException;

core/src/main/java/com/scalar/db/api/TwoPhaseCommitTransactionManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ default TwoPhaseCommitTransaction start(String txId)
132132
* You can retry the transaction from the beginning
133133
* @throws TransactionException if joining the transaction fails due to transient or nontransient
134134
* faults. You can try retrying the transaction from the beginning, but the transaction may
135-
* still fail if the cause is nontranient
135+
* still fail if the cause is nontransient
136136
*/
137137
TwoPhaseCommitTransaction join(String txId)
138138
throws TransactionNotFoundException, TransactionException;

core/src/main/java/com/scalar/db/exception/transaction/CommitException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* An exception thrown when committing a transaction fails due to transient or nontransient faults.
77
* You can try retrying the transaction from the beginning, but the transaction may still fail if
8-
* the cause is nontranient.
8+
* the cause is nontransient.
99
*/
1010
public class CommitException extends TransactionException {
1111

core/src/main/java/com/scalar/db/exception/transaction/CrudException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/**
77
* An exception thrown when a transaction CRUD operation fails due to transient or nontransient
88
* faults. You can try retrying the transaction from the beginning, but the transaction may still
9-
* fail if the cause is nontranient.
9+
* fail if the cause is nontransient.
1010
*/
1111
public class CrudException extends TransactionException {
1212

core/src/main/java/com/scalar/db/exception/transaction/PreparationException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* An exception thrown when preparing a transaction fails due to transient or nontransient faults.
77
* You can try retrying the transaction from the beginning, but the transaction may still fail if
8-
* the cause is nontranient.
8+
* the cause is nontransient.
99
*/
1010
public class PreparationException extends TransactionException {
1111

core/src/main/java/com/scalar/db/exception/transaction/ValidationException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* An exception thrown when validating a transaction fails due to transient or nontransient faults.
77
* You can try retrying the transaction from the beginning, but the transaction may still fail if
8-
* the cause is nontranient.
8+
* the cause is nontransient.
99
*/
1010
public class ValidationException extends TransactionException {
1111

0 commit comments

Comments
 (0)