Skip to content

Commit c73f505

Browse files
committed
remove unsed @return
1 parent dea738b commit c73f505

File tree

8 files changed

+0
-25
lines changed

8 files changed

+0
-25
lines changed

core/src/main/scala/org/apache/spark/scheduler/TaskSetBlacklist.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ private[scheduler] class TaskSetBlacklist(
6969

7070
/**
7171
* Get the most recent failure reason of this TaskSet.
72-
* @return
7372
*/
7473
def getLatestFailureReason: String = {
7574
latestFailureReason

core/src/main/scala/org/apache/spark/storage/BlockManager.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,6 @@ private[spark] class BlockManager(
853853
* @param bufferTransformer this transformer expected to open the file if the block is backed by a
854854
* file by this it is guaranteed the whole content can be loaded
855855
* @tparam T result type
856-
* @return
857856
*/
858857
private[spark] def getRemoteBlock[T](
859858
blockId: BlockId,

resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosSchedulerUtils.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ trait MesosSchedulerUtils extends Logging {
285285
* The attribute values are the mesos attribute types and they are
286286
*
287287
* @param offerAttributes the attributes offered
288-
* @return
289288
*/
290289
protected def toAttributeMap(offerAttributes: JList[Attribute])
291290
: Map[String, GeneratedMessageV3] = {

sql/hive-thriftserver/v1.2.1/src/main/java/org/apache/hive/service/cli/Type.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ public Integer getNumPrecRadix() {
183183
/**
184184
* Maximum precision for numeric types.
185185
* Returns null for non-numeric types.
186-
* @return
187186
*/
188187
public Integer getMaxPrecision() {
189188
switch (this) {
@@ -230,15 +229,13 @@ public String getLiteralPrefix() {
230229

231230
/**
232231
* Suffix used to quote a literal of this type (may be null)
233-
* @return
234232
*/
235233
public String getLiteralSuffix() {
236234
return null;
237235
}
238236

239237
/**
240238
* Can you use NULL for this type?
241-
* @return
242239
* DatabaseMetaData.typeNoNulls - does not allow NULL values
243240
* DatabaseMetaData.typeNullable - allows NULL values
244241
* DatabaseMetaData.typeNullableUnknown - nullability unknown
@@ -250,7 +247,6 @@ public Short getNullable() {
250247

251248
/**
252249
* Is the type case sensitive?
253-
* @return
254250
*/
255251
public Boolean isCaseSensitive() {
256252
switch (this) {
@@ -263,15 +259,13 @@ public Boolean isCaseSensitive() {
263259

264260
/**
265261
* Parameters used in creating the type (may be null)
266-
* @return
267262
*/
268263
public String getCreateParams() {
269264
return null;
270265
}
271266

272267
/**
273268
* Can you use WHERE based on this type?
274-
* @return
275269
* DatabaseMetaData.typePredNone - No support
276270
* DatabaseMetaData.typePredChar - Only support with WHERE .. LIKE
277271
* DatabaseMetaData.typePredBasic - Supported except for WHERE .. LIKE
@@ -286,7 +280,6 @@ public Short getSearchable() {
286280

287281
/**
288282
* Is this type unsigned?
289-
* @return
290283
*/
291284
public Boolean isUnsignedAttribute() {
292285
if (isNumericType()) {
@@ -297,39 +290,34 @@ public Boolean isUnsignedAttribute() {
297290

298291
/**
299292
* Can this type represent money?
300-
* @return
301293
*/
302294
public Boolean isFixedPrecScale() {
303295
return false;
304296
}
305297

306298
/**
307299
* Can this type be used for an auto-increment value?
308-
* @return
309300
*/
310301
public Boolean isAutoIncrement() {
311302
return false;
312303
}
313304

314305
/**
315306
* Localized version of type name (may be null).
316-
* @return
317307
*/
318308
public String getLocalizedName() {
319309
return null;
320310
}
321311

322312
/**
323313
* Minimum scale supported for this type
324-
* @return
325314
*/
326315
public Short getMinimumScale() {
327316
return 0;
328317
}
329318

330319
/**
331320
* Maximum scale supported for this type
332-
* @return
333321
*/
334322
public Short getMaximumScale() {
335323
return 0;

sql/hive-thriftserver/v1.2.1/src/main/java/org/apache/hive/service/cli/TypeDescriptor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ public Integer getColumnSize() {
123123
/**
124124
* Maximum precision for numeric types.
125125
* Returns null for non-numeric types.
126-
* @return
127126
*/
128127
public Integer getPrecision() {
129128
if (this.type == Type.DECIMAL_TYPE) {

sql/hive-thriftserver/v1.2.1/src/main/java/org/apache/hive/service/cli/operation/TableTypeMapping.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,16 @@
2424
public interface TableTypeMapping {
2525
/**
2626
* Map client's table type name to hive's table type
27-
* @param clientTypeName
28-
* @return
2927
*/
3028
String mapToHiveType(String clientTypeName);
3129

3230
/**
3331
* Map hive's table type name to client's table type
34-
* @param hiveTypeName
35-
* @return
3632
*/
3733
String mapToClientType(String hiveTypeName);
3834

3935
/**
4036
* Get all the table types of this mapping
41-
* @return
4237
*/
4338
Set<String> getTableTypeNames();
4439
}

sql/hive-thriftserver/v2.3.5/src/main/java/org/apache/hive/service/cli/TypeDescriptor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ public Integer getColumnSize() {
124124
/**
125125
* Maximum precision for numeric types.
126126
* Returns null for non-numeric types.
127-
* @return
128127
*/
129128
public Integer getPrecision() {
130129
if (this.type == Type.DECIMAL_TYPE) {

sql/hive-thriftserver/v2.3.5/src/main/java/org/apache/hive/service/cli/session/HiveSessionHookContext.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,16 @@ public interface HiveSessionHookContext {
2828

2929
/**
3030
* Retrieve session conf
31-
* @return
3231
*/
3332
HiveConf getSessionConf();
3433

3534
/**
3635
* The get the username starting the session
37-
* @return
3836
*/
3937
String getSessionUser();
4038

4139
/**
4240
* Retrieve handle for the session
43-
* @return
4441
*/
4542
String getSessionHandle();
4643
}

0 commit comments

Comments
 (0)