Skip to content

Commit 9421372

Browse files
author
Reza Safi
committed
Fixing scalastyle check errors
1 parent 9821ea1 commit 9421372

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -131,37 +131,27 @@ class SessionCatalog(
131131
CacheBuilder.newBuilder().maximumSize(cacheSize).build[QualifiedTableName, LogicalPlan]()
132132
}
133133

134-
/**
135-
* This method provides a way to get a cached plan.
136-
*/
134+
/** This method provides a way to get a cached plan. */
137135
def getCachedPlan(t: QualifiedTableName, c: Callable[LogicalPlan]): LogicalPlan = {
138136
tableRelationCache.get(t, c)
139137
}
140138

141-
/**
142-
* This method provides a way to get a cached plan if the key exists.
143-
*/
139+
/** This method provides a way to get a cached plan if the key exists. */
144140
def getCachedTableIfPresent(key: QualifiedTableName): LogicalPlan = {
145141
tableRelationCache.getIfPresent(key)
146142
}
147143

148-
/**
149-
* This method provides a way to cache a plan.
150-
*/
144+
/** This method provides a way to cache a plan. */
151145
def putTableInCache(t: QualifiedTableName, l: LogicalPlan): Unit = {
152146
tableRelationCache.put(t, l)
153147
}
154148

155-
/**
156-
* This method provides a way to invalidate a cached plan.
157-
*/
149+
/** This method provides a way to invalidate a cached plan. */
158150
def invalidateCachedTable(key: QualifiedTableName): Unit = {
159151
tableRelationCache.invalidate(key)
160152
}
161153

162-
/**
163-
* This method provides a way to invalidate all the cached plans.
164-
*/
154+
/** This method provides a way to invalidate all the cached plans. */
165155
def invalidateAllCachedTables(): Unit = {
166156
tableRelationCache.invalidateAll()
167157
}

0 commit comments

Comments
 (0)