File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
analysis_server/lib/src/status
analyzer/lib/src/generated Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -1407,7 +1407,6 @@ class GetHandler {
14071407 buffer.write ('<p>' );
14081408 _writeOption (
14091409 buffer, 'Analyze functon bodies' , options.analyzeFunctionBodies);
1410- _writeOption (buffer, 'Cache size' , options.cacheSize);
14111410 _writeOption (
14121411 buffer, 'Enable generic methods' , options.enableGenericMethods);
14131412 _writeOption (
Original file line number Diff line number Diff line change @@ -1061,9 +1061,12 @@ abstract class AnalysisOptions {
10611061 AnalyzeFunctionBodiesPredicate get analyzeFunctionBodiesPredicate;
10621062
10631063 /**
1064- * Return the maximum number of sources for which AST structures should be
1064+ * DEPRECATED: Return the maximum number of sources for which AST structures should be
10651065 * kept in the cache.
1066+ *
1067+ * This setting no longer has any effect.
10661068 */
1069+ @deprecated
10671070 int get cacheSize;
10681071
10691072 /**
@@ -1225,8 +1228,11 @@ abstract class AnalysisOptions {
12251228 */
12261229class AnalysisOptionsImpl implements AnalysisOptions {
12271230 /**
1228- * The maximum number of sources for which data should be kept in the cache.
1231+ * DEPRECATED: The maximum number of sources for which data should be kept in the cache.
1232+ *
1233+ * This constant no longer has any effect.
12291234 */
1235+ @deprecated
12301236 static const int DEFAULT_CACHE_SIZE = 64 ;
12311237
12321238 static const int ENABLE_ASSERT_FLAG = 0x01 ;
@@ -1249,6 +1255,7 @@ class AnalysisOptionsImpl implements AnalysisOptions {
12491255 _analyzeAllFunctionBodies;
12501256
12511257 @override
1258+ @deprecated
12521259 int cacheSize = DEFAULT_CACHE_SIZE ;
12531260
12541261 @override
You can’t perform that action at this time.
0 commit comments